diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-28 08:10:08 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-28 08:10:08 +0800 |
commit | ef13fd11a1951ac01fe74fa34ca94fc759bf8f82 (patch) | |
tree | eb95fdaa798cdf1ec11b2aca8f639f6de404c464 /devel/cut | |
parent | 0907d362daf370c1b751b8b8f188f3ffca4983d9 (diff) | |
download | freebsd-ports-gnome-ef13fd11a1951ac01fe74fa34ca94fc759bf8f82.tar.gz freebsd-ports-gnome-ef13fd11a1951ac01fe74fa34ca94fc759bf8f82.tar.zst freebsd-ports-gnome-ef13fd11a1951ac01fe74fa34ca94fc759bf8f82.zip |
Support stage
Use shebangfix
Diffstat (limited to 'devel/cut')
-rw-r--r-- | devel/cut/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/devel/cut/Makefile b/devel/cut/Makefile index df3130c0003b..9806e8c4de19 100644 --- a/devel/cut/Makefile +++ b/devel/cut/Makefile @@ -9,21 +9,16 @@ MASTER_SITES= http://www.falvotech.com/content/cut/${PORTVERSION}/ 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> |