diff options
author | jlam <jlam> | 2005-07-26 20:04:24 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-07-26 20:04:24 +0000 |
commit | 01f817953aa4a8475b51277e03e7429a960d7244 (patch) | |
tree | 0ebb4dd51a0603c61aaa7ea03fa47b15219ebb55 /mail | |
parent | 0822b225d16880f3e94bd0ea1d33904979417359 (diff) | |
download | pkgsrc-01f817953aa4a8475b51277e03e7429a960d7244.tar.gz |
Move the steps to create the demime script and man page into a
"do-build" step for clarity.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/demime/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/demime/Makefile b/mail/demime/Makefile index 042f82bc4f1..43c046bfa6c 100644 --- a/mail/demime/Makefile +++ b/mail/demime/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2005/07/26 20:02:23 jlam Exp $ +# $NetBSD: Makefile,v 1.18 2005/07/26 20:04:24 jlam Exp $ # DISTNAME= demime-1.1d @@ -19,7 +19,6 @@ DEPENDS+= p5-HTML-Format-[0-9]*:../../www/p5-HTML-Format DEPENDS+= p5-HTML-Tree-[0-9]*:../../www/p5-HTML-Tree DIST_SUBDIR= ${PKGNAME_NOREV} -NO_BUILD= YES USE_TOOLS+= perl:run pod2man USE_PKGINSTALL= YES @@ -32,15 +31,15 @@ do-extract: @${MKDIR} ${WRKSRC} @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME:S/-/./} ${WRKSRC}/demime.stable -post-patch: +do-build: ${SED} -e 's|/usr/lib/majordomo/demime_junkmail.cf|${PKG_SYSCONFDIR}/demime_junkmail.cf|g' \ -e 's|/usr/bin/perl|${PERL5}|g' \ ${WRKSRC}/demime.stable >${WRKSRC}/demime + ${POD2MAN} ${WRKSRC}/demime > ${WRKSRC}/demime.1 do-install: ${INSTALL_SCRIPT} ${WRKSRC}/demime ${PREFIX}/bin/demime ${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 "../../mk/bsd.pkg.mk" |