summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax/Makefile
diff options
context:
space:
mode:
authortron <tron>1998-11-15 20:45:29 +0000
committertron <tron>1998-11-15 20:45:29 +0000
commit590a713312c4e775d068cb21b4ad4119abfdbc68 (patch)
treec8c7f6e44f0c7e49cfccb22d0ea8be0c742bbaf8 /comms/mgetty+sendfax/Makefile
parente443619debfb135d59a70f9d3063c8d2f93b0cc3 (diff)
downloadpkgsrc-590a713312c4e775d068cb21b4ad4119abfdbc68.tar.gz
Adapt this package to NetBSD.
Diffstat (limited to 'comms/mgetty+sendfax/Makefile')
-rw-r--r--comms/mgetty+sendfax/Makefile30
1 files changed, 11 insertions, 19 deletions
diff --git a/comms/mgetty+sendfax/Makefile b/comms/mgetty+sendfax/Makefile
index dd309497459..612047ee3f3 100644
--- a/comms/mgetty+sendfax/Makefile
+++ b/comms/mgetty+sendfax/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mgetty+sendfax
-# Version required: 1.1.16
-# Date created: 20 April 1998
-# Whom: rkw
-#
-# Id: Makefile,v 1.25 1998/07/16 06:44:37 vanilla Exp
+# $NetBSD: Makefile,v 1.2 1998/11/15 20:45:29 tron Exp $
+# FreeBSD Id: Makefile,v 1.25 1998/07/16 06:44:37 vanilla Exp
#
DISTNAME= mgetty1.1.16-Jul05
@@ -11,22 +7,18 @@ PKGNAME= mgetty-1.1.16
CATEGORIES= comms
MASTER_SITES= ftp://ftp.leo.org/pub/comp/os/unix/networking/mgetty/
-MAINTAINER= jmz@FreeBSD.org
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://www.leo.org/~doering/mgetty/index.html
WRKSRC= ${WRKDIR}/mgetty-1.1.16
-MAKE_FLAGS= prefix=${PREFIX} -f
-MAN1= coverpg.1 fax.1 faxq.1 faxrm.1 faxrunq.1 faxspool.1 \
- g3cat.1 g32pbm.1 pbm2g3.1 pvf.1 zplay.1
-MAN4= mgettydefs.4
-MAN5= faxqueue.5
-MAN8= sendfax.8 mgetty.8 callback.8 faxrunqd.8
+INFO_FILES= mgetty.info
+
+post-configure:
+ @cd ${WRKSRC}; \
+ ${MV} faxrunq.config faxrunq.config.old; \
+ ${SED} -e 's#/usr/local#${PREFIX}#' <faxrunq.config.old >faxrunq.config
pre-install:
@(cd ${WRKSRC}/doc; ${MAKE} manpages)
-.if !defined(BATCH)
-post-install:
- @(cd ${PKGDIR}; export PKG_PREFIX=${PREFIX}; /usr/bin/perl INSTALL _ POST-INSTALL)
-.endif
-
-.include <bsd.port.mk>
+.include <../../mk/bsd.pkg.mk>