2004-12-15 13:12:15 +01:00
|
|
|
# New ports collection makefile for: cut
|
|
|
|
# Date created: December 5 2004
|
|
|
|
# Whom: Sergei Gnezdov <sergeiga@yahoo.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cut
|
2009-07-20 18:16:03 +02:00
|
|
|
PORTVERSION= 2.6
|
2004-12-15 13:12:15 +01:00
|
|
|
CATEGORIES= devel
|
2009-07-20 18:16:03 +02:00
|
|
|
MASTER_SITES= http://www.falvotech.com/content/cut/${PORTVERSION}/
|
2004-12-15 13:12:15 +01:00
|
|
|
|
2006-06-09 23:30:45 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-12-15 13:12:15 +01:00
|
|
|
COMMENT= Unit Testing Framework for C, C++ and Objective-C
|
|
|
|
|
2009-07-20 18:16:03 +02:00
|
|
|
USE_PYTHON_RUN= yes
|
|
|
|
ALL_TARGET= build
|
2004-12-15 13:12:15 +01:00
|
|
|
|
2009-07-20 18:16:03 +02:00
|
|
|
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
|
2004-12-15 13:12:15 +01:00
|
|
|
|
|
|
|
do-install:
|
2009-07-20 18:16:03 +02:00
|
|
|
${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
|
2004-12-15 13:12:15 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|