diff options
author | tv <tv> | 2002-07-06 19:37:01 +0000 |
---|---|---|
committer | tv <tv> | 2002-07-06 19:37:01 +0000 |
commit | c0e780902244e624ff919e9589781508f13a920b (patch) | |
tree | 37854c110b2a4ccbb441a39011af11c0f936d157 /mail/demime | |
parent | ae83c452ebe9e541460a4c0c2097394708b3ffbc (diff) | |
download | pkgsrc-c0e780902244e624ff919e9589781508f13a920b.tar.gz |
Make the file in "etc" mutable (use CONF_FILES and bsd.pkg.install.mk).
Diffstat (limited to 'mail/demime')
-rw-r--r-- | mail/demime/Makefile | 11 | ||||
-rw-r--r-- | mail/demime/PLIST | 4 |
2 files changed, 9 insertions, 6 deletions
diff --git a/mail/demime/Makefile b/mail/demime/Makefile index 306904de232..2f30d1bd2ff 100644 --- a/mail/demime/Makefile +++ b/mail/demime/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/06/07 12:21:08 tron Exp $ +# $NetBSD: Makefile,v 1.2 2002/07/06 19:37:01 tv Exp $ # FreeBSD Id: ports/mail/demime/Makefile,v 1.4 2002/03/26 08:18:20 petef Exp DISTNAME= demime-0.99c.7 @@ -23,21 +23,24 @@ USE_PERL5= YES POD2MAN?= ${PREFIX}/bin/pod2man +EGDIR= ${PREFIX}/share/examples +CONF_FILES= ${EGDIR}/demime_junkmail.cf ${PKG_SYSCONFDIR}/demime_junkmail.cf + do-extract: @${MKDIR} ${WRKSRC} @${CP} ${DISTDIR}/${DIST_SUBDIR}/demime.stable ${WRKSRC}/demime.stable post-patch: - ${SED} -e 's|/usr/lib/majordomo/demime_junkmail.cf|${PREFIX}/etc/demime_junkmail.cf|g' \ + ${SED} -e 's|/usr/lib/majordomo/demime_junkmail.cf|${PKG_SYSCONFDIR}/demime_junkmail.cf|g' \ -e 's|/usr/bin/perl|${PREFIX}/bin/perl|g' \ ${WRKSRC}/demime.stable >${WRKSRC}/demime do-install: ${INSTALL_SCRIPT} ${WRKSRC}/demime ${PREFIX}/bin/demime - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/demime_junkmail.cf \ - ${PREFIX}/etc + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/demime_junkmail.cf ${EGDIR} ${POD2MAN} ${WRKSRC}/demime > ${WRKSRC}/demime.1 ${INSTALL_MAN} ${WRKSRC}/demime.1 ${PREFIX}/man/man1/demime.1 .include "../../lang/perl5/buildlink.mk" +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/demime/PLIST b/mail/demime/PLIST index 3414232675e..73d957bfa12 100644 --- a/mail/demime/PLIST +++ b/mail/demime/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/07 12:21:09 tron Exp $ +@comment $NetBSD: PLIST,v 1.2 2002/07/06 19:37:01 tv Exp $ bin/demime -etc/demime_junkmail.cf man/man1/demime.1 +share/examples/demime_junkmail.cf |