1998-10-20 04:39:43 -04:00
|
|
|
# $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
|
1998-05-04 01:22:02 -04:00
|
|
|
CATEGORIES= comms
|
1998-10-07 14:43:11 -04:00
|
|
|
|
1998-10-18 01:01:58 -04:00
|
|
|
#BROKEN= "newer version available"
|
1998-05-04 01:22:02 -04:00
|
|
|
|
1998-10-20 04:39:43 -04:00
|
|
|
MAINTAINER= form@OpenBSD.ORG
|
1998-05-04 01:22:02 -04:00
|
|
|
|
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
|
1998-05-04 01:22:02 -04:00
|
|
|
MAKE_FLAGS= prefix=${PREFIX} -f
|
|
|
|
|
1998-08-28 02:11:48 -04:00
|
|
|
MGETTY_ETC?= /etc
|
1998-05-04 01:22:02 -04:00
|
|
|
|
|
|
|
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)
|
1998-05-04 01:22:02 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|