openbsd-ports/comms/mgetty+sendfax/Makefile
1998-12-07 20:47:27 +00:00

47 lines
964 B
Makefile

# $OpenBSD: Makefile,v 1.7 1998/12/07 20:47:27 marc Exp $
# $FreeBSD: Makefile,v 1.25 1998/07/16 06:44:37 vanilla Exp $
#
DISTNAME= mgetty1.1.17-Aug07
PKGNAME= mgetty-1.1.17
CATEGORIES= comms
#BROKEN= "newer version available"
MAINTAINER= form@OpenBSD.ORG
MASTER_SITES= ftp://ftp.leo.org/pub/comp/os/unix/networking/mgetty/
IS_INTERACTIVE= yes
# Needs site specific setup info
#
NO_PACKAGE= yes
WRKSRC= ${WRKDIR}/mgetty-1.1.17
MAKE_FLAGS= prefix=${PREFIX} -f
MGETTY_ETC?= /etc
pre-build:
.if defined(AUTO_PPP)
CFLAGS+= "-DAUTO_PPP"
.else
@${ECHO} "***"
@${ECHO} "*** You're building mgetty without PPP detection support."
@${ECHO} "*** If you want to enable it, type \"make AUTO_PPP=yes\""
@${ECHO} "***"
.endif
pre-install:
@(cd ${WRKSRC}/doc; ${MAKE} manpages)
.if !defined(BATCH)
post-install:
@(cd ${PKGDIR}; \
export PKG_PREFIX=${PREFIX} MGETTY_ETC=${MGETTY_ETC}; \
/usr/bin/perl INSTALL _ POST-INSTALL)
.endif
.include <bsd.port.mk>