aboutsummaryrefslogtreecommitdiffstats
path: root/mail/tumgreyspf
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-08-19 16:40:55 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-08-19 16:40:55 +0800
commit5b8186444b0331aa64cad8ea9f3b3e3324e07c2e (patch)
tree3751e370f07c1ea6a33ca9b3609940501c35bc82 /mail/tumgreyspf
parent49fd049681370acde6a3e63572bdc098a1ebba1e (diff)
downloadfreebsd-ports-gnome-5b8186444b0331aa64cad8ea9f3b3e3324e07c2e.tar.gz
freebsd-ports-gnome-5b8186444b0331aa64cad8ea9f3b3e3324e07c2e.tar.zst
freebsd-ports-gnome-5b8186444b0331aa64cad8ea9f3b3e3324e07c2e.zip
- Use USES=shebangfix
Diffstat (limited to 'mail/tumgreyspf')
-rw-r--r--mail/tumgreyspf/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/tumgreyspf/Makefile b/mail/tumgreyspf/Makefile
index bcffd9155277..a9f6d91c004c 100644
--- a/mail/tumgreyspf/Makefile
+++ b/mail/tumgreyspf/Makefile
@@ -16,7 +16,12 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/spf.py:${PORTSDIR}/mail/py-spf
OPTIONS_DEFINE= DOCS
NO_BUILD= yes
+SHEBANG_LANG= perl python
+SHEBANG_FILES= *
USE_PYTHON= -2.7
+USES= shebangfix
+python_OLD_CMD= ${SETENV} python
+python_CMD= ${PYTHON_CMD}
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
PKGINSTALL= ${WRKDIR}/pkg-install
@@ -53,8 +58,6 @@ post-patch:
-e '/blackholeDir/ s|/var/local/lib/tumgreyspf|${TUMGREYSPF_DIR}|' \
-e '/defaultConfigFilename/ s|/var/local/lib/tumgreyspf/config|${PREFIX}/etc|' \
${WRKSRC}/tumgreyspf.conf ${WRKSRC}/tumgreyspfsupp.py
- @${GREP} -r "env python" ${WRKSRC} | ${CUT} -d: -f1 | \
- ${XARGS} ${REINPLACE_CMD} -e "s|env python|env ${PYTHON_CMD}|"
do-install:
cd ${WRKSRC}/ && \