1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Add cxxtest 3.0.1, a simple yet powerful

JUnit/CppUnit/xUnit-like framework for C++.

PR:		55606
Submitted by:	andrew morton <drewish@katherinehouse.com>
This commit is contained in:
Kirill Ponomarev 2003-11-17 10:08:45 +00:00
parent 1adeba7726
commit 071cdddc08
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94162
6 changed files with 157 additions and 0 deletions

View File

@ -161,6 +161,7 @@
SUBDIR += cweb
SUBDIR += cxmon
SUBDIR += cxref
SUBDIR += cxxtest
SUBDIR += darcs
SUBDIR += darts
SUBDIR += dcons

51
devel/cxxtest/Makefile Normal file
View File

@ -0,0 +1,51 @@
# New ports collection makefile for: cxxtest
# Date created: 14 August 2003
# Whom: andrew morton
#
# $FreeBSD$
#
PORTNAME= cxxtest
PORTVERSION= 3.0.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= drewish@katherinehouse.com
COMMENT= A simple yet powerful JUnit/CppUnit/xUnit-like framework for C++
WRKSRC= ${WRKDIR}/${PORTNAME}
EXTRACT_SUFX = .tgz
NO_BUILD= yes
USE_PERL5_RUN= yes
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}
@${MKDIR} ${DOCSDIR}/sample
@${MKDIR} ${DOCSDIR}/test
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.png ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/sample/*.h ${DOCSDIR}/sample/
${INSTALL_DATA} ${WRKSRC}/sample/*.cpp ${DOCSDIR}/sample/
${INSTALL_DATA} ${WRKSRC}/sample/*.tpl ${DOCSDIR}/sample/
${INSTALL_DATA} ${WRKSRC}/sample/Construct ${DOCSDIR}/sample/
${INSTALL_DATA} ${WRKSRC}/sample/Makefile.unix ${DOCSDIR}/sample/Makefile
${INSTALL_DATA} ${WRKSRC}/test/*.h ${DOCSDIR}/test/
${INSTALL_DATA} ${WRKSRC}/test/*.cpp ${DOCSDIR}/test/
${INSTALL_DATA} ${WRKSRC}/test/*.tpl ${DOCSDIR}/test/
${INSTALL_DATA} ${WRKSRC}/test/*.out ${DOCSDIR}/test/
${INSTALL_DATA} ${WRKSRC}/test/test.pl ${DOCSDIR}/test/
@${ECHO_CMD} "* Documentation and samples have been installed in ${DOCSDIR}"
@${ECHO_CMD} "* NOTE: the makefiles provided with the samples aren't compatible with FreeBSD's make, use ${GMAKE} instead."
.endif
.include <bsd.port.mk>

1
devel/cxxtest/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (cxxtest-3.0.1.tgz) = 1cf800ee2d7a9b3af02336655e3823fc

View File

@ -0,0 +1,15 @@
--- sample/Makefile.unix.orig Fri Aug 15 02:51:52 2003
+++ sample/Makefile.unix Fri Aug 15 03:03:55 2003
@@ -5,9 +5,9 @@
# For the X11 GUI
X11_FLAGS = -I/usr/X11R6/include -L/usr/X11R6/lib -lX11
-# For the Qt GUI
-#QTDIR = /usr/lib/qt
-QT_FLAGS = -I$(QTDIR)/include -L$(QTDIR)/lib -lqt -O2
+# For the Qt 3.1 GUI
+QTDIR = /usr/X11R6
+QT_FLAGS = -I$(QTDIR)/include -L$(QTDIR)/lib -lqt-mt -O2
TARGETS = error_printer stdio_printer yes_no_runner file_printer aborter
GUI_TARGETS = x11_runner qt_runner

15
devel/cxxtest/pkg-descr Normal file
View File

@ -0,0 +1,15 @@
CxxTest is a JUnit/CppUnit/xUnit-like framework for C++.
Its advantages over existing alternatives are that it:
- Doesn't require RTTI
- Doesn't require member template functions
- Doesn't require exception handling
- Doesn't require any external libraries (including memory management,
file/console I/O, graphics libraries)
This makes it extremely portable and usable.
WWW: http://cxxtest.sourceforge.net/
- andrew morton
drewish@katherinehouse.com

74
devel/cxxtest/pkg-plist Normal file
View File

@ -0,0 +1,74 @@
bin/cxxtestgen.pl
bin/cxxtestgen.py
include/cxxtest/CountingTracker.h
include/cxxtest/Descriptions.h
include/cxxtest/ErrorFormatter.h
include/cxxtest/ErrorPrinter.h
include/cxxtest/Gui.h
include/cxxtest/ParenPrinter.h
include/cxxtest/QtGui.h
include/cxxtest/SelfTest.h
include/cxxtest/StdValueTraits.h
include/cxxtest/StdioPrinter.h
include/cxxtest/TeeListener.h
include/cxxtest/TeeRunner.h
include/cxxtest/TestListener.h
include/cxxtest/TestRunner.h
include/cxxtest/TestSuite.h
include/cxxtest/TestTracker.h
include/cxxtest/ValueTraits.h
include/cxxtest/Win32Gui.h
include/cxxtest/X11Gui.h
include/cxxtest/YesNoRunner.h
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/guide.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/qt.png
%%PORTDOCS%%%%DOCSDIR%%/qt2.png
%%PORTDOCS%%%%DOCSDIR%%/x11.png
%%PORTDOCS%%%%DOCSDIR%%/sample/aborter.tpl
%%PORTDOCS%%%%DOCSDIR%%/sample/Construct
%%PORTDOCS%%%%DOCSDIR%%/sample/CreatedTest.h
%%PORTDOCS%%%%DOCSDIR%%/sample/DeltaTest.h
%%PORTDOCS%%%%DOCSDIR%%/sample/ExceptionTest.h
%%PORTDOCS%%%%DOCSDIR%%/sample/file_printer.tpl
%%PORTDOCS%%%%DOCSDIR%%/sample/FixtureTest.h
%%PORTDOCS%%%%DOCSDIR%%/sample/Makefile
%%PORTDOCS%%%%DOCSDIR%%/sample/MessageTest.h
%%PORTDOCS%%%%DOCSDIR%%/sample/SelfTest.h
%%PORTDOCS%%%%DOCSDIR%%/sample/SimpleTest.h
%%PORTDOCS%%%%DOCSDIR%%/sample/TraitsTest.h
%%PORTDOCS%%%%DOCSDIR%%/sample/yes_no_runner.cpp
%%PORTDOCS%%%%DOCSDIR%%/test/aborter.out
%%PORTDOCS%%%%DOCSDIR%%/test/aborter_no_throw.out
%%PORTDOCS%%%%DOCSDIR%%/test/AborterNoThrow.h
%%PORTDOCS%%%%DOCSDIR%%/test/BadTest.h
%%PORTDOCS%%%%DOCSDIR%%/test/EmptySuite.h
%%PORTDOCS%%%%DOCSDIR%%/test/error.out
%%PORTDOCS%%%%DOCSDIR%%/test/good.out
%%PORTDOCS%%%%DOCSDIR%%/test/GoodSuite.h
%%PORTDOCS%%%%DOCSDIR%%/test/GreenYellowRed.h
%%PORTDOCS%%%%DOCSDIR%%/test/gui.out
%%PORTDOCS%%%%DOCSDIR%%/test/gui_paren.out
%%PORTDOCS%%%%DOCSDIR%%/test/main.cpp
%%PORTDOCS%%%%DOCSDIR%%/test/one.out
%%PORTDOCS%%%%DOCSDIR%%/test/paren.out
%%PORTDOCS%%%%DOCSDIR%%/test/runner.out
%%PORTDOCS%%%%DOCSDIR%%/test/test.pl
%%PORTDOCS%%%%DOCSDIR%%/test/throw.out
%%PORTDOCS%%%%DOCSDIR%%/test/ThrowNoStd.cpp
%%PORTDOCS%%%%DOCSDIR%%/test/ThrowNoStd.h
%%PORTDOCS%%%%DOCSDIR%%/test/ThrowNoStd.tpl
%%PORTDOCS%%%%DOCSDIR%%/test/traits.out
%%PORTDOCS%%%%DOCSDIR%%/test/TraitsTest.h
%%PORTDOCS%%%%DOCSDIR%%/test/user.out
%%PORTDOCS%%%%DOCSDIR%%/test/UserTraits.h
%%PORTDOCS%%%%DOCSDIR%%/test/UserTraits.tpl
%%PORTDOCS%%%%DOCSDIR%%/test/wchar.cpp
%%PORTDOCS%%%%DOCSDIR%%/test/wchar.out
%%PORTDOCS%%%%DOCSDIR%%/test/WideCharTest.h
%%PORTDOCS%%%%DOCSDIR%%/test/wildcard.out
@dirrm %%PORTDOCS%%%%DOCSDIR%%/test
@dirrm %%PORTDOCS%%%%DOCSDIR%%/sample
@dirrm %%PORTDOCS%%%%DOCSDIR%%
@dirrm include/cxxtest