|
Lines 2-43
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= cxxtest |
4 |
PORTNAME= cxxtest |
| 5 |
PORTVERSION= 3.10.1 |
5 |
PORTVERSION= 4.4 |
| 6 |
PORTREVISION= 1 |
|
|
| 7 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
| 8 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF |
| 9 |
|
8 |
|
| 10 |
MAINTAINER= drewish@katherinehouse.com |
9 |
MAINTAINER= hselasky@freebsd.org |
| 11 |
COMMENT= Simple and powerful JUnit/CppUnit/xUnit-like framework for C++ |
10 |
COMMENT= Simple and powerful JUnit/CppUnit/xUnit-like framework for C++ |
| 12 |
|
11 |
|
| 13 |
OPTIONS_DEFINE= DOCS |
12 |
LICENSE= GPLv3 |
| 14 |
|
13 |
|
| 15 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
14 |
USES= gmake python:3.6+,run shebangfix |
| 16 |
NO_BUILD= yes |
|
|
| 17 |
USES= gmake perl5 python:2.7,run shebangfix |
| 18 |
USE_PERL5= run |
| 19 |
SHEBANG_FILES= cxxtestgen.pl cxxtestgen.py |
| 20 |
|
15 |
|
| 21 |
DOCS= README TODO docs/*.html docs/*.png |
16 |
USE_PYTHON= autoplist distutils |
| 22 |
EXAMPLES= sample/*.cpp sample/*.h sample/*.tpl sample/Construct \ |
17 |
NO_ARCH= yes |
| 23 |
sample/Makefile.unix sample/gui/GreenYellowRed.h |
|
|
| 24 |
|
18 |
|
| 25 |
do-install: |
19 |
WRKSRC= ${WRKDIR}/${DISTNAME}/python |
| 26 |
# scripts |
20 |
|
|
|
21 |
PLIST_FILES+= \ |
| 22 |
include/cxxtest/Descriptions.cpp \ |
| 23 |
include/cxxtest/Descriptions.h \ |
| 24 |
include/cxxtest/DummyDescriptions.cpp \ |
| 25 |
include/cxxtest/DummyDescriptions.h \ |
| 26 |
include/cxxtest/ErrorFormatter.h \ |
| 27 |
include/cxxtest/ErrorPrinter.h \ |
| 28 |
include/cxxtest/Flags.h \ |
| 29 |
include/cxxtest/GlobalFixture.cpp \ |
| 30 |
include/cxxtest/GlobalFixture.h \ |
| 31 |
include/cxxtest/Gui.h \ |
| 32 |
include/cxxtest/LinkedList.cpp \ |
| 33 |
include/cxxtest/LinkedList.h \ |
| 34 |
include/cxxtest/MSVCErrorPrinter.h \ |
| 35 |
include/cxxtest/Mock.h \ |
| 36 |
include/cxxtest/ParenPrinter.h \ |
| 37 |
include/cxxtest/QtGui.h \ |
| 38 |
include/cxxtest/RealDescriptions.cpp \ |
| 39 |
include/cxxtest/RealDescriptions.h \ |
| 40 |
include/cxxtest/Root.cpp \ |
| 41 |
include/cxxtest/SelfTest.h \ |
| 42 |
include/cxxtest/StdHeaders.h \ |
| 43 |
include/cxxtest/StdTestSuite.h \ |
| 44 |
include/cxxtest/StdValueTraits.h \ |
| 45 |
include/cxxtest/StdioFilePrinter.h \ |
| 46 |
include/cxxtest/StdioPrinter.h \ |
| 47 |
include/cxxtest/TeeListener.h \ |
| 48 |
include/cxxtest/TestListener.h \ |
| 49 |
include/cxxtest/TestMain.h \ |
| 50 |
include/cxxtest/TestRunner.h \ |
| 51 |
include/cxxtest/TestSuite.cpp \ |
| 52 |
include/cxxtest/TestSuite.h \ |
| 53 |
include/cxxtest/TestTracker.cpp \ |
| 54 |
include/cxxtest/TestTracker.h \ |
| 55 |
include/cxxtest/ValueTraits.cpp \ |
| 56 |
include/cxxtest/ValueTraits.h \ |
| 57 |
include/cxxtest/Win32Gui.h \ |
| 58 |
include/cxxtest/X11Gui.h \ |
| 59 |
include/cxxtest/XUnitPrinter.h \ |
| 60 |
include/cxxtest/XmlFormatter.h \ |
| 61 |
include/cxxtest/XmlPrinter.h \ |
| 62 |
include/cxxtest/YesNoRunner.h \ |
| 63 |
include/cxxtest/unix.h |
| 64 |
|
| 65 |
post-install: |
| 27 |
@${MKDIR} ${STAGEDIR}${PREFIX}/include/cxxtest |
66 |
@${MKDIR} ${STAGEDIR}${PREFIX}/include/cxxtest |
| 28 |
${INSTALL_DATA} ${WRKSRC}/cxxtest/* ${STAGEDIR}${PREFIX}/include/cxxtest/ |
67 |
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/cxxtest/* ${STAGEDIR}${PREFIX}/include/cxxtest/ |
| 29 |
${INSTALL_SCRIPT} ${WRKSRC}/cxxtestgen.pl ${STAGEDIR}${PREFIX}/bin/ |
|
|
| 30 |
${INSTALL_SCRIPT} ${WRKSRC}/cxxtestgen.py ${STAGEDIR}${PREFIX}/bin/ |
| 31 |
# docs and examples (minus the win ddk stuff) |
| 32 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
| 33 |
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} |
| 34 |
@@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
| 35 |
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR} |
| 36 |
@${ECHO_MSG} "* Samples have been installed in ${EXAMPLESDIR}" |
| 37 |
@${ECHO_MSG} "* The CxxTest scripts have been installed into ${PREFIX}/bin/." |
| 38 |
@${ECHO_MSG} "* The include files are in ${PREFIX}/include/cxxtest/" |
| 39 |
@${ECHO_MSG} "* Beware that the sample makefiles aren't compatible with FreeBSD's make," |
| 40 |
@${ECHO_MSG} "* use gmake instead." |
| 41 |
@${ECHO_MSG} "* The obvious reminder: don't forget to add ${PREFIX}/include to your include path." |
| 42 |
|
68 |
|
| 43 |
.include <bsd.port.mk> |
69 |
.include <bsd.port.mk> |