summaryrefslogtreecommitdiffstats
path: root/mail/p5-Mail-SpamAssassin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/p5-Mail-SpamAssassin/Makefile')
-rw-r--r--mail/p5-Mail-SpamAssassin/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile
index 1ed2b2e..9826e6a 100644
--- a/mail/p5-Mail-SpamAssassin/Makefile
+++ b/mail/p5-Mail-SpamAssassin/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Mail-SpamAssassin
PORTVERSION= 2.50
+PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= http://spamassassin.org/released/ \
${MASTER_SITE_PERL_CPAN}
@@ -46,6 +47,9 @@ MAN1= spamd.1 spamassassin.1 spamc.1 sa-learn.1
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+post-patch:
+ @${FIND} ${WRKSRC} -name \*.orig -delete
+
post-install:
@${STRIP_CMD} ${PREFIX}/bin/spamc
${INSTALL_SCRIPT} ${FILESDIR}/spamd.sh ${PREFIX}/etc/rc.d/spamd.sh-dist
OpenPOWER on IntegriCloud