2003-11-17 11:08:45 +01:00
|
|
|
# New ports collection makefile for: cxxtest
|
|
|
|
# Date created: 14 August 2003
|
|
|
|
# Whom: andrew morton
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cxxtest
|
2006-06-12 14:24:29 +02:00
|
|
|
PORTVERSION= 3.10.1
|
2003-11-17 11:08:45 +01:00
|
|
|
CATEGORIES= devel
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF
|
2003-11-17 11:08:45 +01:00
|
|
|
|
|
|
|
MAINTAINER= drewish@katherinehouse.com
|
2003-12-29 09:24:40 +01:00
|
|
|
COMMENT= Simple and powerful JUnit/CppUnit/xUnit-like framework for C++
|
2003-11-17 11:08:45 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PERL5_RUN= yes
|
2006-06-12 14:24:29 +02:00
|
|
|
USE_GMAKE= yes
|
2003-11-17 11:08:45 +01:00
|
|
|
|
2003-12-29 09:24:40 +01:00
|
|
|
DOCS= README TODO docs/*.html docs/*.png
|
2004-03-08 00:36:26 +01:00
|
|
|
EXAMPLES= sample/*.cpp sample/*.h sample/*.tpl sample/Construct \
|
|
|
|
sample/Makefile.unix sample/gui/GreenYellowRed.h
|
2003-12-29 09:24:40 +01:00
|
|
|
|
2003-11-17 11:08:45 +01:00
|
|
|
do-install:
|
|
|
|
# scripts
|
|
|
|
@${MKDIR} ${PREFIX}/include/cxxtest
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cxxtest/* ${PREFIX}/include/cxxtest/
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cxxtestgen.pl ${PREFIX}/bin/
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cxxtestgen.py ${PREFIX}/bin/
|
|
|
|
# docs and examples (minus the win ddk stuff)
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-12-29 09:24:40 +01:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
@${ECHO_MSG} "* Documentation has been installed in ${DOCSDIR}"
|
2003-11-17 11:08:45 +01:00
|
|
|
.endif
|
2004-03-08 00:36:26 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2003-12-29 09:24:40 +01:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
|
|
@${ECHO_MSG} "* Samples have been installed in ${EXAMPLESDIR}"
|
|
|
|
@${ECHO_MSG} "* The CxxTest scripts have been installed into ${PREFIX}/bin/."
|
|
|
|
@${ECHO_MSG} "* The include files are in ${PREFIX}/include/cxxtest/"
|
2004-03-08 00:36:26 +01:00
|
|
|
@${ECHO_MSG} "* Beware that the sample makefiles aren't compatible with FreeBSD's make,"
|
|
|
|
@${ECHO_MSG} "* use ${GMAKE} instead."
|
2003-12-29 09:24:40 +01:00
|
|
|
@${ECHO_MSG} "* The obvious reminder: don't forget to add ${PREFIX}/include to your include path."
|
2003-11-17 11:08:45 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|