diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-28 21:23:08 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-28 21:23:08 +0800 |
commit | df48a0bb4301545f41bcbecc6fbc1267d79728f9 (patch) | |
tree | 764d128871d5e31144ee2880955123a51d3a3f10 /security/py-htpasswd | |
parent | 309abdf041e343b1586c4eeee56ccde958bf4f87 (diff) | |
download | freebsd-ports-gnome-df48a0bb4301545f41bcbecc6fbc1267d79728f9.tar.gz freebsd-ports-gnome-df48a0bb4301545f41bcbecc6fbc1267d79728f9.tar.zst freebsd-ports-gnome-df48a0bb4301545f41bcbecc6fbc1267d79728f9.zip |
- Support staging
- Use shebangfix
Diffstat (limited to 'security/py-htpasswd')
-rw-r--r-- | security/py-htpasswd/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/security/py-htpasswd/Makefile b/security/py-htpasswd/Makefile index 30c56376a445..2b61f1c8a690 100644 --- a/security/py-htpasswd/Makefile +++ b/security/py-htpasswd/Makefile @@ -11,6 +11,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= graudeejs@gmail.com COMMENT= Replacement for htpasswd +USES= shebangfix USE_PYTHON= yes USE_XZ= yes @@ -19,11 +20,9 @@ PLIST_FILES= bin/${PORTNAME}.py NO_BUILD= yes NO_WRKSUBDIR= yes -NO_STAGE= yes -post-patch: - ${SED} -I.orig -e 's|^#!/usr/bin/python|#!/usr/bin/env python|' ${WRKDIR}/${PORTNAME}.py +SHEBANG_FILES= ${PORTNAME}.py do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> |