summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-09-06 08:08:17 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-09-06 08:08:17 +0000
commit99d5c56cc2fa674ceec9b4fb100cf990ae832cb7 (patch)
tree5ae4bf9c0ea89d277f4d0da4f766b5571ac1865d /mail
parent84af84e9a942581ca0d68825c8a0ff4e2f1af6a1 (diff)
downloadpkgsrc-99d5c56cc2fa674ceec9b4fb100cf990ae832cb7.tar.gz
Use PLIST_SUBST= HOME=${MAJORDOMO_HOMEDIR} MAJORDOMO_USER=${MAJORDOMO_USER}
Diffstat (limited to 'mail')
-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' \