summaryrefslogtreecommitdiff
path: root/mail/majordomo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/majordomo/Makefile')
-rw-r--r--mail/majordomo/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/mail/majordomo/Makefile b/mail/majordomo/Makefile
index b779dbff75c..a34987e47cb 100644
--- a/mail/majordomo/Makefile
+++ b/mail/majordomo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1999/08/18 08:46:53 agc Exp $
+# $NetBSD: Makefile,v 1.6 1999/09/06 08:08:17 sakamoto Exp $
DISTNAME= majordomo-1.94.4
CATEGORIES= mail
@@ -18,7 +18,6 @@ NO_PACKAGE= requires compiled in uid/gid
ALL_TARGET= wrapper
INSTALL_TARGET= install install-wrapper
-PLIST_SRC= ${WRKDIR}/PLIST.tmp
MESSAGE_FILE= ${WRKDIR}/MESSAGE
REQ_FILE= ${WRKDIR}/REQ
MAKEFILE= Makefile.netbsd
@@ -28,6 +27,9 @@ MAJORDOMO_HOMEDIR?= /home
MAJORDOMO_USER?= majordom
MAJORDOMO_GROUP?= majordom
+PLIST_SUBST= HOME=${MAJORDOMO_HOMEDIR} \
+ MAJORDOMO_USER=${MAJORDOMO_USER}
+
DOCDIR= ${PREFIX}/share/doc/majordomo
DOCFILES= Changelog FUTURE INSTALL LICENSE NEWLIST README
DOCDOCFILES= FAQ README.sequencer list-owner-info majordomo-faq.html \
@@ -104,10 +106,6 @@ do-configure:
< ${FILESDIR}/aliases.majordomo > ${WRKSRC}/aliases.majordomo
pre-install:
- @${SED} \
- -e 's|@HOME@|${MAJORDOMO_HOMEDIR}|g' \
- -e 's|@MAJORDOMO_USER@|${MAJORDOMO_USER}|g' \
- < ${PKGDIR}/PLIST > ${PLIST_SRC}
@${SED} \
-e 's:@PREFIX@:${PREFIX}:g' \
-e 's:@HOME@:${MAJORDOMO_HOMEDIR}:g' \