aboutsummaryrefslogtreecommitdiff
path: root/mail/qmhandle
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-12-17 17:19:48 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-12-17 17:19:48 +0000
commit7c47779cb9cc1f12908949c26b831e944047ed17 (patch)
treecc6e929ebf67eee2cc8ce1692ea0663387b3a559 /mail/qmhandle
parentb4c4d6656e7b913544a3cbd1bea7f40f7cad2e74 (diff)
downloadports-7c47779cb9cc1f12908949c26b831e944047ed17.tar.gz
ports-7c47779cb9cc1f12908949c26b831e944047ed17.zip
Notes
Diffstat (limited to 'mail/qmhandle')
-rw-r--r--mail/qmhandle/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/qmhandle/Makefile b/mail/qmhandle/Makefile
index cf18b6caa0d5..03a58f69746c 100644
--- a/mail/qmhandle/Makefile
+++ b/mail/qmhandle/Makefile
@@ -12,7 +12,8 @@ COMMENT= Tool to view and manage a qmail queue
LICENSE= GPLv2
-USES= qmail:run perl5 tar:bzip2
+USES= qmail:run perl5 tar:bzip2 shebangfix
+SHEBANG_FILES= qmHandle
NO_BUILD= yes
NO_ARCH= yes
@@ -22,8 +23,7 @@ PORTDOCS= HISTORY README
OPTIONS_DEFINE= DOCS
post-patch:
- @${REINPLACE_CMD} -e 's,^#!/usr/bin/perl,#!${PERL},g' \
- -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
+ @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
-e '/^##* *USER *CONFIGURATION *BEGIN *##*$$/,/^##* *USER *CONFIGURATION *END *##*$$/s/^\(#*\)my/\1our/g' \
${WRKSRC}/qmHandle
@${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${FILESDIR}/qmHandle.conf.in > \