diff options
author | pawel <pawel@FreeBSD.org> | 2014-06-01 23:27:24 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-06-01 23:27:24 +0800 |
commit | f76656b9cc16c2c85581dc019c8f0e343e7f24b9 (patch) | |
tree | 2c34c42649885dd3a78fd1f2ead4b32cea4f98c5 /mail/bayespam | |
parent | 073df92c62ebefcb52aa62f0a572c7fe2f0e6ccf (diff) | |
download | freebsd-ports-gnome-f76656b9cc16c2c85581dc019c8f0e343e7f24b9.tar.gz freebsd-ports-gnome-f76656b9cc16c2c85581dc019c8f0e343e7f24b9.tar.zst freebsd-ports-gnome-f76656b9cc16c2c85581dc019c8f0e343e7f24b9.zip |
Add staging support
Diffstat (limited to 'mail/bayespam')
-rw-r--r-- | mail/bayespam/Makefile | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/mail/bayespam/Makefile b/mail/bayespam/Makefile index d33473198e4f..8eb56c11b6b2 100644 --- a/mail/bayespam/Makefile +++ b/mail/bayespam/Makefile @@ -21,12 +21,8 @@ FILES_DOCS= AUTHORS COPYING Changelog INSTALL README TODO \ qmail.sample FILES_SCRIPTS= bayes_process_email.pl bayes_spam_check.pl bayestest.pl -NO_STAGE= yes - OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: # fix location of Bayesian filter @${REINPLACE_CMD} -e 's|/user/|${PREFIX}/|' ${WRKSRC}/README @@ -37,17 +33,11 @@ post-patch: ${WRKSRC}/bayestest.pl do-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} -.for file in ${FILES_DOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor -.endif - @${MKDIR} ${PREFIX}/${SITE_PERL_REL}/Bayespam - @${INSTALL_DATA} ${WRKSRC}/Bayespam/Process.pm \ - ${PREFIX}/${SITE_PERL_REL}/Bayespam -.for file in ${FILES_SCRIPTS} - @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin -.endfor + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${FILES_DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Bayespam + ${INSTALL_DATA} ${WRKSRC}/Bayespam/Process.pm \ + ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Bayespam + ${INSTALL_SCRIPT} ${FILES_SCRIPTS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> |