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 |
WRKSRC= ${WRKDIR}/${DISTNAME}/python |
14 |
|
13 |
|
15 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
14 |
USES= gmake python:3.6+,run shebangfix |
16 |
NO_BUILD= yes |
15 |
USE_PYTHON= autoplist distutils |
17 |
USES= gmake perl5 python:2.7,run shebangfix |
16 |
NO_ARCH= yes |
18 |
USE_PERL5= run |
|
|
19 |
SHEBANG_FILES= cxxtestgen.pl cxxtestgen.py |
20 |
|
17 |
|
21 |
DOCS= README TODO docs/*.html docs/*.png |
18 |
PLIST_FILES+= \ |
22 |
EXAMPLES= sample/*.cpp sample/*.h sample/*.tpl sample/Construct \ |
19 |
include/cxxtest/Descriptions.cpp \ |
23 |
sample/Makefile.unix sample/gui/GreenYellowRed.h |
20 |
include/cxxtest/Descriptions.h \ |
|
|
21 |
include/cxxtest/DummyDescriptions.cpp \ |
22 |
include/cxxtest/DummyDescriptions.h \ |
23 |
include/cxxtest/ErrorFormatter.h \ |
24 |
include/cxxtest/ErrorPrinter.h \ |
25 |
include/cxxtest/Flags.h \ |
26 |
include/cxxtest/GlobalFixture.cpp \ |
27 |
include/cxxtest/GlobalFixture.h \ |
28 |
include/cxxtest/Gui.h \ |
29 |
include/cxxtest/LinkedList.cpp \ |
30 |
include/cxxtest/LinkedList.h \ |
31 |
include/cxxtest/MSVCErrorPrinter.h \ |
32 |
include/cxxtest/Mock.h \ |
33 |
include/cxxtest/ParenPrinter.h \ |
34 |
include/cxxtest/QtGui.h \ |
35 |
include/cxxtest/RealDescriptions.cpp \ |
36 |
include/cxxtest/RealDescriptions.h \ |
37 |
include/cxxtest/Root.cpp \ |
38 |
include/cxxtest/SelfTest.h \ |
39 |
include/cxxtest/StdHeaders.h \ |
40 |
include/cxxtest/StdTestSuite.h \ |
41 |
include/cxxtest/StdValueTraits.h \ |
42 |
include/cxxtest/StdioFilePrinter.h \ |
43 |
include/cxxtest/StdioPrinter.h \ |
44 |
include/cxxtest/TeeListener.h \ |
45 |
include/cxxtest/TestListener.h \ |
46 |
include/cxxtest/TestMain.h \ |
47 |
include/cxxtest/TestRunner.h \ |
48 |
include/cxxtest/TestSuite.cpp \ |
49 |
include/cxxtest/TestSuite.h \ |
50 |
include/cxxtest/TestTracker.cpp \ |
51 |
include/cxxtest/TestTracker.h \ |
52 |
include/cxxtest/ValueTraits.cpp \ |
53 |
include/cxxtest/ValueTraits.h \ |
54 |
include/cxxtest/Win32Gui.h \ |
55 |
include/cxxtest/X11Gui.h \ |
56 |
include/cxxtest/XUnitPrinter.h \ |
57 |
include/cxxtest/XmlFormatter.h \ |
58 |
include/cxxtest/XmlPrinter.h \ |
59 |
include/cxxtest/YesNoRunner.h \ |
60 |
include/cxxtest/unix.h |
24 |
|
61 |
|
25 |
do-install: |
62 |
post-install: |
26 |
# scripts |
|
|
27 |
@${MKDIR} ${STAGEDIR}${PREFIX}/include/cxxtest |
63 |
@${MKDIR} ${STAGEDIR}${PREFIX}/include/cxxtest |
28 |
${INSTALL_DATA} ${WRKSRC}/cxxtest/* ${STAGEDIR}${PREFIX}/include/cxxtest/ |
64 |
${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 |
|
65 |
|
43 |
.include <bsd.port.mk> |
66 |
.include <bsd.port.mk> |