summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/spamstats/Makefile5
-rw-r--r--mail/spamstats/distinfo2
2 files changed, 4 insertions, 3 deletions
diff --git a/mail/spamstats/Makefile b/mail/spamstats/Makefile
index d3318659e6bd..cbe6fec77d00 100644
--- a/mail/spamstats/Makefile
+++ b/mail/spamstats/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= spamstats
-PORTVERSION= 0.4b
+PORTVERSION= 0.4b3
CATEGORIES= mail
MASTER_SITES= http://www.gryzor.com/tools/
@@ -19,7 +19,8 @@ USE_PERL5= yes
NO_BUILD= yes
post-patch:
- @${PERL} -pi -e 's,/mail.log,/maillog,g' ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl
+ @${PERL} -pi.bak -e 's,/mail.log,/maillog,g ; s,infiles == 0,infiles == -1,g' \
+ ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl ${PREFIX}/bin/${PORTNAME}.pl
diff --git a/mail/spamstats/distinfo b/mail/spamstats/distinfo
index 6e0a385387e9..b55d7029728e 100644
--- a/mail/spamstats/distinfo
+++ b/mail/spamstats/distinfo
@@ -1 +1 @@
-MD5 (spamstats-0.4b.tar.gz) = 2087f4f58af845d98fdabaf404d499d2
+MD5 (spamstats-0.4b3.tar.gz) = 6ccb074849dc7decd1306bac1371fac3