aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/py-htpasswd/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/py-htpasswd/Makefile b/security/py-htpasswd/Makefile
index dea911cf3e42..8aa9114748b4 100644
--- a/security/py-htpasswd/Makefile
+++ b/security/py-htpasswd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= htpasswd
PORTVERSION= 2008.03.05
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= http://files.bsdroot.lv/my/FreeBSD/distfiles/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -22,6 +23,8 @@ PLIST_FILES= bin/${PORTNAME}.py
NO_BUILD= YES
NO_WRKSUBDIR= YES
+do-patch:
+ ${SED} -I.orig -e 's#^/usr/bin/python#/usr/bin/env python#' ${WRKDIR}/${PORTNAME}.py
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${PREFIX}/bin/