Date: Tue, 28 Jan 2014 00:10:08 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341490 - head/devel/cut Message-ID: <201401280010.s0S0A8e6077711@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Jan 28 00:10:08 2014 New Revision: 341490 URL: http://svnweb.freebsd.org/changeset/ports/341490 QAT: https://qat.redports.org/buildarchive/r341490/ Log: Support stage Use shebangfix Modified: head/devel/cut/Makefile Modified: head/devel/cut/Makefile ============================================================================== --- head/devel/cut/Makefile Tue Jan 28 00:04:46 2014 (r341489) +++ head/devel/cut/Makefile Tue Jan 28 00:10:08 2014 (r341490) @@ -9,21 +9,16 @@ MASTER_SITES= http://www.falvotech.com/c MAINTAINER= ports@FreeBSD.org COMMENT= Unit Testing Framework for C, C++, and Objective-C +USES= shebangfix +SHEBANG_FILES= *.py USE_PYTHON_RUN= yes ALL_TARGET= build -NO_STAGE= yes -post-patch: -.for FILE in common.py cutgen.py options.py parser.py - @${REINPLACE_CMD} -e 's|/usr/bin/python|${PREFIX}/bin/python|' \ - ${WRKSRC}/${FILE} -.endfor - do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/build/bin/cutgen ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/build/bin/cutgen.py ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/build/bin/cutgen ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/build/bin/cutgen.py ${STAGEDIR}${PREFIX}/bin .for FILE in common.py lexer.py options.py parser.py - ${INSTALL_SCRIPT} ${WRKSRC}/build/bin/${FILE} ${PREFIX}/bin/cutgen_${FILE} + ${INSTALL_SCRIPT} ${WRKSRC}/build/bin/${FILE} ${STAGEDIR}${PREFIX}/bin/cutgen_${FILE} .endfor .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401280010.s0S0A8e6077711>