Date: Thu, 8 May 2014 17:06:36 +0000 (UTC) From: Glen Barber <gjb@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353334 - head/databases/pgtune Message-ID: <201405081706.s48H6aeR017774@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gjb Date: Thu May 8 17:06:35 2014 New Revision: 353334 URL: http://svnweb.freebsd.org/changeset/ports/353334 QAT: https://qat.redports.org/buildarchive/r353334/ Log: Fix a few nits with databases/pgtune that cause runtime problems: - Add USES=shebangfix - Replace USE_PYTHON=yes with USE_PYTHON=2+ - Fix shebang line to use python2.N - Bump PORTREVISION Reported by: pathiaki2@yahoo.com (via ports@) Redports ID: https://redports.org/buildarchive/20140508164000-29103/ Sponsored by: The FreeBSD Foundation Modified: head/databases/pgtune/Makefile Modified: head/databases/pgtune/Makefile ============================================================================== --- head/databases/pgtune/Makefile Thu May 8 17:00:41 2014 (r353333) +++ head/databases/pgtune/Makefile Thu May 8 17:06:35 2014 (r353334) @@ -3,6 +3,7 @@ PORTNAME= pgtune PORTVERSION= 0.9.3 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://pgfoundry.org/frs/download.php/2449/ \ https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/ @@ -10,9 +11,17 @@ MASTER_SITES= http://pgfoundry.org/frs/d MAINTAINER= gjb@FreeBSD.org COMMENT= Postgresql.conf tuning tips based on hardware and load type -USE_PYTHON= yes +USES= shebangfix +USE_PYTHON= 2+ NO_BUILD= yes +SHEBANG_FILES= ${PORTNAME} +python_OLD_CMD= ${PREFIX}/bin/python + +pre-install: + @${REINPLACE_CMD} -e 's|${python_OLD_CMD}|${PYTHON_CMD}|' \ + ${WRKSRC}/${PORTNAME} + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pgtune ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/share/pgtune/settings
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405081706.s48H6aeR017774>