aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2015-01-21 06:09:49 +0800
committerohauer <ohauer@FreeBSD.org>2015-01-21 06:09:49 +0800
commit56556c311fef10079e3df2f483109ca7edeecafa (patch)
treeffceabcb765605471fcc453b1ffda2a558d475f0 /mail
parent29938f551359029a630cd6f4ac2fbb788b5e1370 (diff)
downloadfreebsd-ports-gnome-56556c311fef10079e3df2f483109ca7edeecafa.tar.gz
freebsd-ports-gnome-56556c311fef10079e3df2f483109ca7edeecafa.tar.zst
freebsd-ports-gnome-56556c311fef10079e3df2f483109ca7edeecafa.zip
- use absolute perl path,
seems '/usr/bin/env perl' does not play nice with perl 5.20 during system restarts PR: 196933 Submitted by: Frank Reppin
Diffstat (limited to 'mail')
-rw-r--r--mail/postfix-policyd-weight/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/postfix-policyd-weight/Makefile b/mail/postfix-policyd-weight/Makefile
index 6727257ed5cd..3632d0504d71 100644
--- a/mail/postfix-policyd-weight/Makefile
+++ b/mail/postfix-policyd-weight/Makefile
@@ -3,7 +3,7 @@
PORTNAME= policyd-weight
PORTVERSION= 0.1.15.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= http://www.policyd-weight.org/releases/ \
LOCAL/ohauer
@@ -27,10 +27,15 @@ USERS= polw
GROUPS= polw
USE_RC_SUBR+= policyd-weight
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= run
NO_BUILD= yes
+SHEBANG_LANG= perl
+perl_OLD_CMD= ${SETENV} perl
+perl_CMD= ${PERL}
+SHEBANG_FILES= ${WRKSRC}/policyd-weight
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc