From owner-svn-ports-all@FreeBSD.ORG Wed Feb 26 08:49:53 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 891563C5; Wed, 26 Feb 2014 08:49:53 +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 752AB1BE5; Wed, 26 Feb 2014 08:49:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1Q8nr50006420; Wed, 26 Feb 2014 08:49:53 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1Q8nrra006419; Wed, 26 Feb 2014 08:49:53 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402260849.s1Q8nrra006419@svn.freebsd.org> From: Emanuel Haupt Date: Wed, 26 Feb 2014 08:49:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346149 - head/sysutils/pydf 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: Wed, 26 Feb 2014 08:49:53 -0000 Author: ehaupt Date: Wed Feb 26 08:49:52 2014 New Revision: 346149 URL: http://svnweb.freebsd.org/changeset/ports/346149 QAT: https://qat.redports.org/buildarchive/r346149/ Log: Support staging Modified: head/sysutils/pydf/Makefile Modified: head/sysutils/pydf/Makefile ============================================================================== --- head/sysutils/pydf/Makefile Wed Feb 26 08:46:29 2014 (r346148) +++ head/sysutils/pydf/Makefile Wed Feb 26 08:49:52 2014 (r346149) @@ -17,30 +17,22 @@ LICENSE_PERMS= dist-mirror dist-sell pkg SUB_FILES= pkg-message -PLIST_FILES= bin/pydf etc/pydfrc.sample - +USES= shebangfix USE_PYTHON= yes NO_BUILD= yes -MAN1= pydf.1 -MANCOMPRESSED= no +SHEBANG_FILES= pydf +PLIST_FILES= bin/pydf etc/pydfrc.sample man/man1/pydf.1.gz WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}| ; s|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/pydf + @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}| ; \ + s|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/pydf do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/pydf ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/pydfrc ${PREFIX}/etc/pydfrc.sample - ${INSTALL_MAN} ${WRKSRC}/pydf.1 ${PREFIX}/man/man1 - -post-install: - @if [ ! -f ${PREFIX}/etc/pydfrc ]; then \ - ${ECHO_MSG} ; \ - ${CAT} ${PKGMESSAGE} ; \ - ${ECHO_MSG} ; \ - fi + ${INSTALL_SCRIPT} ${WRKSRC}/pydf ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/pydfrc ${STAGEDIR}${PREFIX}/etc/pydfrc.sample + ${INSTALL_MAN} ${WRKSRC}/pydf.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include