aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/p5-Mail-SpamAssassin/Makefile8
-rw-r--r--mail/p5-Mail-SpamAssassin/distinfo2
2 files changed, 7 insertions, 3 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile
index e4e429d07b7a..0598785bbe0e 100644
--- a/mail/p5-Mail-SpamAssassin/Makefile
+++ b/mail/p5-Mail-SpamAssassin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Mail-SpamAssassin
-PORTVERSION= 2.53
+PORTVERSION= 2.54
CATEGORIES= mail perl5
MASTER_SITES= http://spamassassin.org/released/ \
${MASTER_SITE_PERL_CPAN}
@@ -54,6 +54,10 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
post-patch:
@${FIND} ${WRKSRC} -name \*.orig -delete
+ @${SED} -e 's#mkdir $$spam_conf_dir#mkdir($$spam_conf_dir, 0700)#' \
+ ${WRKSRC}/spamd/spamd.raw > ${WRKSRC}/spamd/spamd.raw.sed
+ @${MV} ${WRKSRC}/spamd/spamd.raw.sed ${WRKSRC}/spamd/spamd.raw
+
@${MV} ${WRKSRC}/rules/local.cf ${WRKSRC}/rules/local.cf.sample
@${SED} -e 's#local.cf#local.cf.sample#g' \
${WRKSRC}/Makefile.PL > ${WRKSRC}/Makefile.PL.sed
@@ -71,6 +75,6 @@ post-install:
spamd/README* sql/spamassassin.sql ${DOCSDIR}
.endif
- @${SED} -e 's#PREFIX#${PREFIX}#' pkg-message
+ @${SED} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/mail/p5-Mail-SpamAssassin/distinfo b/mail/p5-Mail-SpamAssassin/distinfo
index 65d5860b55de..1619df86bfdd 100644
--- a/mail/p5-Mail-SpamAssassin/distinfo
+++ b/mail/p5-Mail-SpamAssassin/distinfo
@@ -1 +1 @@
-MD5 (Mail-SpamAssassin-2.53.tar.gz) = 7cbdfdda7fd114e8a85707eedbfc8018
+MD5 (Mail-SpamAssassin-2.54.tar.gz) = 4bd944880f908b8f3b0fe81f655241f9