diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-28 00:10:08 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-28 00:10:08 +0000 |
commit | 5e6756d7fa8b88f362fa7e671c0eed06dfdbd7d7 (patch) | |
tree | eb95fdaa798cdf1ec11b2aca8f639f6de404c464 /devel/cut | |
parent | 33428cd3708ef48d4b78ddb4e0df26ceb244950d (diff) |
Notes
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> |