mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Support stage
Use shebangfix
This commit is contained in:
parent
33428cd370
commit
5e6756d7fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341490
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user