openbsd-ports/comms/mgetty+sendfax/Makefile

43 lines
912 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.6 1998/10/20 08:39:44 form Exp $
1998-08-28 02:11:48 -04:00
# $FreeBSD: Makefile,v 1.25 1998/07/16 06:44:37 vanilla Exp $
1998-10-07 14:43:11 -04:00
#
1998-08-28 02:11:48 -04:00
DISTNAME= mgetty1.1.17-Aug07
PKGNAME= mgetty-1.1.17
CATEGORIES= comms
1998-10-07 14:43:11 -04:00
#BROKEN= "newer version available"
MAINTAINER= form@OpenBSD.ORG
1998-10-07 14:43:11 -04:00
MASTER_SITES= ftp://ftp.leo.org/pub/comp/os/unix/networking/mgetty/
1998-08-28 02:11:48 -04:00
IS_INTERACTIVE= yes
WRKSRC= ${WRKDIR}/mgetty-1.1.17
MAKE_FLAGS= prefix=${PREFIX} -f
1998-08-28 02:11:48 -04:00
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:
1998-08-28 02:11:48 -04:00
@(cd ${PKGDIR}; \
export PKG_PREFIX=${PREFIX} MGETTY_ETC=${MGETTY_ETC}; \
/usr/bin/perl INSTALL _ POST-INSTALL)
.endif
.include <bsd.port.mk>