- update cppunit to 1.12.1

- specify license version
- tweak DESCR

tested in a bulk build by me
This commit is contained in:
jasper 2008-10-24 14:49:44 +00:00
parent be3169f676
commit 80882b7731
7 changed files with 64 additions and 36 deletions

View File

@ -1,24 +1,24 @@
# $OpenBSD: Makefile,v 1.3 2007/09/16 02:52:58 merdely Exp $
# $OpenBSD: Makefile,v 1.4 2008/10/24 14:49:44 jasper Exp $
COMMENT= c++ unit testing framework
DISTNAME= cppunit-1.10.2
SHARED_LIBS += cppunit 2.0 # .2.0
DISTNAME= cppunit-1.12.1
SHARED_LIBS += cppunit 3.0 # .1.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cppunit/}
HOMEPAGE= http://cppunit.sourceforge.net/
# LGPL
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
WANTLIB= c m stdc++
USE_GMAKE= Yes
USE_LIBTOOL= Yes
WANTLIB= c m stdc++
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--disable-doxygen
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-doxygen
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (cppunit-1.10.2.tar.gz) = C8Bs0hlBD31Pa7/JvdfIJA==
RMD160 (cppunit-1.10.2.tar.gz) = cvIkAiVkCfSFMhXkcSWDI2c6s1M=
SHA1 (cppunit-1.10.2.tar.gz) = RYEZWzw22QlcVRaDIIpHuWx1OKo=
SHA256 (cppunit-1.10.2.tar.gz) = cbYmlY49iSfSNvRisr7NGSoRPR1tOLjVZ73BgbUGnM8=
SIZE (cppunit-1.10.2.tar.gz) = 723340
MD5 (cppunit-1.12.1.tar.gz) = vTDpz1UjzfwBm5T14df9GQ==
RMD160 (cppunit-1.12.1.tar.gz) = xfOLHSAa/Lp5E/K1P7dVit09IfU=
SHA1 (cppunit-1.12.1.tar.gz) = 8auJhq96H/pnYPS6z1YikkY5v0o=
SHA256 (cppunit-1.12.1.tar.gz) = rCigTI5skhfZELCucSKDLSjZkX+maLzJ4LiwmstOpEo=
SIZE (cppunit-1.12.1.tar.gz) = 762803

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1 2008/10/24 14:49:44 jasper Exp $
--- Makefile.in.orig Sun Oct 19 23:43:08 2008
+++ Makefile.in Sun Oct 19 23:43:11 2008
@@ -231,7 +231,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = 1.4
ACLOCAL_AMFLAGS = -I config
-SUBDIRS = src include examples doc
+SUBDIRS = src include examples
pkgconfigdatadir = $(libdir)/pkgconfig
pkgconfigdata_DATA = cppunit.pc
bin_SCRIPTS = cppunit-config

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-include_cppunit_TestResult_h,v 1.1 2008/10/24 14:49:44 jasper Exp $
--- include/cppunit/TestResult.h.orig Thu Apr 3 15:14:50 2008
+++ include/cppunit/TestResult.h Thu Apr 3 15:14:58 2008
@@ -2,6 +2,7 @@
#define CPPUNIT_TESTRESULT_H
#include <cppunit/Portability.h>
+#include <string>
#if CPPUNIT_NEED_DLL_DECL
#pragma warning( push )

View File

@ -1,13 +1,13 @@
$OpenBSD: patch-src_cppunit_Makefile_in,v 1.1.1.1 2006/06/01 01:36:23 jolan Exp $
--- src/cppunit/Makefile.in.orig Fri Jun 18 06:39:04 2004
+++ src/cppunit/Makefile.in Wed May 31 20:19:20 2006
@@ -213,8 +213,7 @@ libcppunit_la_SOURCES = \
$OpenBSD: patch-src_cppunit_Makefile_in,v 1.2 2008/10/24 14:49:44 jasper Exp $
--- src/cppunit/Makefile.in.orig Wed Feb 20 06:59:55 2008
+++ src/cppunit/Makefile.in Sun Oct 19 23:03:52 2008
@@ -299,8 +299,7 @@ libcppunit_la_SOURCES = \
Win32DynamicLibraryManager.cpp
libcppunit_la_LDFLAGS = \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
- -no-undefined -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
- -release $(LT_RELEASE)
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+ -no-undefined -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
all: all-am
subdir = src/cppunit
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4

View File

@ -1,14 +1,14 @@
CppUnit is a C++ unit testing framework. It started its life as a port
CppUnit is a C++ unit testing framework. It started its life as a port
of JUnit to C++ done by Michael Feathers.
Features:
XML output with hook for additional data
Compiler like text output to integrate with an IDE
Helper macros for easier test suite declaration
Hierarcal test fixture support
Test registry to reduce recompilation need
Test plug-in for faster compile/test cycle
(self testable dynamic library)
Protector to encapsulate test execution
(allow capture of exception not derived from std::exception)
- XML output with hook for additional data
- Compiler like text output to integrate with an IDE
- Helper macros for easier test suite declaration
- Hierarcal test fixture support
- Test registry to reduce recompilation need
- Test plug-in for faster compile/test cycle
(self testable dynamic library)
- Protector to encapsulate test execution
(allow capture of exception not derived from std::exception)

View File

@ -1,8 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/06/01 01:36:23 jolan Exp $
@comment $OpenBSD: PLIST,v 1.2 2008/10/24 14:49:44 jasper Exp $
%%SHARED%%
bin/DllPlugInTester
@bin bin/DllPlugInTester
bin/cppunit-config
bin/simple
include/cppunit/
include/cppunit/AdditionalMessage.h
include/cppunit/Asserter.h
@ -40,7 +39,9 @@ include/cppunit/config/
include/cppunit/config-auto.h
include/cppunit/config/CppUnitApi.h
include/cppunit/config/SelectDllLoader.h
include/cppunit/config/SourcePrefix.h
include/cppunit/config/config-bcb5.h
include/cppunit/config/config-evc4.h
include/cppunit/config/config-mac.h
include/cppunit/config/config-msvc6.h
include/cppunit/extensions/
@ -72,6 +73,8 @@ include/cppunit/portability/CppUnitMap.h
include/cppunit/portability/CppUnitSet.h
include/cppunit/portability/CppUnitStack.h
include/cppunit/portability/CppUnitVector.h
include/cppunit/portability/FloatingPoint.h
include/cppunit/portability/Stream.h
include/cppunit/tools/
include/cppunit/tools/Algorithm.h
include/cppunit/tools/StringTools.h
@ -90,6 +93,8 @@ include/cppunit/ui/text/TestRunner.h
include/cppunit/ui/text/TextTestRunner.h
lib/libcppunit.a
lib/libcppunit.la
lib/pkgconfig/
lib/pkgconfig/cppunit.pc
@man man/man1/cppunit-config.1
share/aclocal/
share/aclocal/cppunit.m4