Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 13:23:09 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346510 - head/security/py-htpasswd
Message-ID:  <201402281323.s1SDN95E095833@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402281323.s1SDN95E095833>