svn commit: r346510 - head/security/py-htpasswd

Emanuel Haupt ehaupt at FreeBSD.org
Fri Feb 28 13:23:09 UTC 2014


Author: ehaupt
Date: Fri Feb 28 13:23:08 2014
New Revision: 346510
URL: http://svnweb.freebsd.org/changeset/ports/346510
QAT: https://qat.redports.org/buildarchive/r346510/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/security/py-htpasswd/Makefile

Modified: head/security/py-htpasswd/Makefile
==============================================================================
--- head/security/py-htpasswd/Makefile	Fri Feb 28 13:21:41 2014	(r346509)
+++ head/security/py-htpasswd/Makefile	Fri Feb 28 13:23:08 2014	(r346510)
@@ -11,6 +11,7 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	graudeejs at 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>


More information about the svn-ports-all mailing list