aboutsummaryrefslogtreecommitdiff
path: root/mail/spamstats
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-07-26 07:33:41 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-07-26 07:33:41 +0000
commit19ae251b54b068aae1520c17885ecae948e723bc (patch)
treee2c71147def7c03ff268350288657b4e7692d180 /mail/spamstats
parentbe856e74d2486c2042594b76c9cade12ee3f3c07 (diff)
downloadports-19ae251b54b068aae1520c17885ecae948e723bc.tar.gz
ports-19ae251b54b068aae1520c17885ecae948e723bc.zip
Notes
Diffstat (limited to 'mail/spamstats')
-rw-r--r--mail/spamstats/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/spamstats/Makefile b/mail/spamstats/Makefile
index 8a0546119ee5..fa4bfab53b54 100644
--- a/mail/spamstats/Makefile
+++ b/mail/spamstats/Makefile
@@ -19,9 +19,12 @@ USE_PERL5= yes
NO_BUILD= yes
PORTDOCS= QUICK README copyright
PLIST_FILES= bin/spamstats.pl
+USES= shebangfix
+SHEBANG_FILES= ${PORTNAME}${PORTVERSION}.pl
post-patch:
- @${PERL} -pi.bak -e 's,/mail.log,/maillog,g' ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl
+ @${REINPLACE_CMD} -i '' -e 's|mail.log|maillog|g' \
+ ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl
.include <bsd.port.options.mk>