1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/devel/cut/Makefile

30 lines
781 B
Makefile

# Created by: Sergei Gnezdov <sergeiga@yahoo.com>
# $FreeBSD$
PORTNAME= cut
PORTVERSION= 2.6
CATEGORIES= devel
MASTER_SITES= http://www.falvotech.com/content/cut/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Unit Testing Framework for C, C++, and Objective-C
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
.for FILE in common.py lexer.py options.py parser.py
${INSTALL_SCRIPT} ${WRKSRC}/build/bin/${FILE} ${PREFIX}/bin/cutgen_${FILE}
.endfor
.include <bsd.port.mk>