From 55f16b4c9ed0d8250b9de2812e8533b761a447de Mon Sep 17 00:00:00 2001 From: sakamoto Date: Mon, 6 Sep 1999 08:08:17 +0000 Subject: Use PLIST_SUBST= HOME=${MAJORDOMO_HOMEDIR} MAJORDOMO_USER=${MAJORDOMO_USER} --- mail/majordomo/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'mail/majordomo/Makefile') 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' \ -- cgit v1.2.3