aboutsummaryrefslogtreecommitdiff
path: root/security/py-htpasswd
diff options
context:
space:
mode:
authorJosh Paetzel <jpaetzel@FreeBSD.org>2011-11-21 04:33:47 +0000
committerJosh Paetzel <jpaetzel@FreeBSD.org>2011-11-21 04:33:47 +0000
commit98abb44a512dafbaa2eda286e5c15953e56a8edf (patch)
tree33ce6427a5dbc087e29931a6c88304f27b9bb145 /security/py-htpasswd
parentb52e2b889fb7f69ac28c6abbf6940894bf89084e (diff)
downloadports-98abb44a512dafbaa2eda286e5c15953e56a8edf.tar.gz
ports-98abb44a512dafbaa2eda286e5c15953e56a8edf.zip
Unbreak security/py-htpasswd
PR: ports/162707 Approved by: Aldis Berjoza <graudeejs@gmail.com> (maintainer) Feature safe: yes
Notes
Notes: svn path=/head/; revision=286157
Diffstat (limited to 'security/py-htpasswd')
-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/