aboutsummaryrefslogtreecommitdiff
path: root/mail/bayespam
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-06-01 15:27:24 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-06-01 15:27:24 +0000
commitb89c89362f4a0ac919af7d57adeb8a1a5a3630b6 (patch)
tree2c34c42649885dd3a78fd1f2ead4b32cea4f98c5 /mail/bayespam
parent8d0788e6fa2f108875571968b75703daf200ac82 (diff)
downloadports-b89c89362f4a0ac919af7d57adeb8a1a5a3630b6.tar.gz
ports-b89c89362f4a0ac919af7d57adeb8a1a5a3630b6.zip
Notes
Diffstat (limited to 'mail/bayespam')
-rw-r--r--mail/bayespam/Makefile22
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>