From owner-svn-ports-all@FreeBSD.ORG Fri Feb 28 13:23:09 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 876CC226; Fri, 28 Feb 2014 13:23:09 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 738041AB1; Fri, 28 Feb 2014 13:23:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1SDN9Uq095834; Fri, 28 Feb 2014 13:23:09 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1SDN95E095833; Fri, 28 Feb 2014 13:23:09 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402281323.s1SDN95E095833@svn.freebsd.org> From: Emanuel Haupt Date: Fri, 28 Feb 2014 13:23:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346510 - head/security/py-htpasswd X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 13:23:09 -0000 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