[Midnightbsd-cvs] mports [20513] trunk/devel: add cppunit
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Oct 10 16:49:46 EDT 2015
Revision: 20513
http://svnweb.midnightbsd.org/mports/?rev=20513
Author: laffer1
Date: 2015-10-10 16:49:45 -0400 (Sat, 10 Oct 2015)
Log Message:
-----------
add cppunit
Modified Paths:
--------------
trunk/devel/Makefile
Added Paths:
-----------
trunk/devel/cppunit/
trunk/devel/cppunit/Makefile
trunk/devel/cppunit/distinfo
trunk/devel/cppunit/files/
trunk/devel/cppunit/files/patch-doc__Makefile.in
trunk/devel/cppunit/pkg-descr
trunk/devel/cppunit/pkg-plist
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2015-10-10 20:37:55 UTC (rev 20512)
+++ trunk/devel/Makefile 2015-10-10 20:49:45 UTC (rev 20513)
@@ -38,6 +38,7 @@
SUBDIR += cmake-fedora
SUBDIR += cmake-gui
SUBDIR += cmake-modules
+SUBDIR += cppunit
SUBDIR += cscope
SUBDIR += ctags
SUBDIR += cunit
Added: trunk/devel/cppunit/Makefile
===================================================================
--- trunk/devel/cppunit/Makefile (rev 0)
+++ trunk/devel/cppunit/Makefile 2015-10-10 20:49:45 UTC (rev 20513)
@@ -0,0 +1,45 @@
+# Created by: Graeme Cross <gcross at netspace.net.au>
+# $FreeBSD: head/devel/cppunit/Makefile 378432 2015-02-04 23:43:10Z bapt $
+# $MidnightBSD$
+
+PORTNAME= cppunit
+PORTVERSION= 1.12.1
+PORTREVISION= 4
+CATEGORIES= devel
+MASTER_SITES= SF
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= C++ port of the JUnit framework for unit testing
+
+LICENSE= lgpl2.1
+
+OPTIONS_DEFINE= DOXYGEN
+
+USES= libtool pathfix
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+
+.include <bsd.mport.options.mk>
+
+.if ${PORT_OPTIONS:MDOXYGEN}
+BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
+ dot:${PORTSDIR}/graphics/graphviz
+CONFIGURE_ARGS+= --enable-doc --enable-doxygen --enable-html-docs
+PLIST_SUB+= PORTDOCS=""
+.else
+CONFIGURE_ARGS+= --disable-doc --disable-doxygen --disable-html-docs
+PLIST_SUB+= PORTDOCS="@comment "
+.endif
+
+post-install:
+ ${FIND} ${STAGEDIR}${PREFIX}/include/cppunit ! -type d | \
+ ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${FIND} ${WRKSRC}/doc/html -not -type d \
+ | ${SED} 's,^${WRKSRC}/doc/html,${DOCSDIR_REL},' >> ${TMPPLIST}
+ ${INSTALL_MAN} ${WRKSRC}/doc/FAQ ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Property changes on: trunk/devel/cppunit/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/cppunit/distinfo
===================================================================
--- trunk/devel/cppunit/distinfo (rev 0)
+++ trunk/devel/cppunit/distinfo 2015-10-10 20:49:45 UTC (rev 20513)
@@ -0,0 +1,2 @@
+SHA256 (cppunit-1.12.1.tar.gz) = ac28a04c8e6c9217d910b0ae7122832d28d9917fa668bcc9e0b8b09acb4ea44a
+SIZE (cppunit-1.12.1.tar.gz) = 762803
Property changes on: trunk/devel/cppunit/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/cppunit/files/patch-doc__Makefile.in
===================================================================
--- trunk/devel/cppunit/files/patch-doc__Makefile.in (rev 0)
+++ trunk/devel/cppunit/files/patch-doc__Makefile.in 2015-10-10 20:49:45 UTC (rev 20513)
@@ -0,0 +1,36 @@
+--- doc/Makefile.in.orig 2008-02-20 00:59:51.000000000 -0500
++++ doc/Makefile.in 2008-07-13 18:52:35.000000000 -0400
+@@ -179,7 +179,7 @@
+ # and an extra copy or two in the install-data-hook.
+ # However, the manpages do not appear to be tremendously useful, so
+ # let's not bother.
+- at DOC_TRUE@htmldir = $(pkgdatadir)/html
++ at DOC_TRUE@htmldir = $(prefix)/share/doc/cppunit
+ htmldir = @htmldir@
+ includedir = @includedir@
+ infodir = @infodir@
+@@ -248,6 +248,7 @@
+ -rm -rf .libs _libs
+ install-htmlDATA: $(html_DATA)
+ @$(NORMAL_INSTALL)
++.if !defined(NOPORTDOCS)
+ test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"
+ @list='$(html_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+@@ -255,6 +256,7 @@
+ echo " $(htmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
+ $(htmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
+ done
++.endif
+
+ uninstall-htmlDATA:
+ @$(NORMAL_UNINSTALL)
+@@ -398,7 +400,7 @@
+
+
+ @DOC_TRUE at install-data-hook:
+- at DOC_TRUE@ cp -pR html/* $(DESTDIR)$(htmldir)
++ at DOC_TRUE@ cp -pR html/ $(DESTDIR)$(htmldir)
+
+ # Automake's "distcheck" is sensitive to having files left over
+ # after "make uninstall", so we have to clean up the install hook.
Property changes on: trunk/devel/cppunit/files/patch-doc__Makefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/cppunit/pkg-descr
===================================================================
--- trunk/devel/cppunit/pkg-descr (rev 0)
+++ trunk/devel/cppunit/pkg-descr 2015-10-10 20:49:45 UTC (rev 20513)
@@ -0,0 +1,4 @@
+CppUnit --- The C++ Unit Test Library
+WWW: http://cppunit.sourceforge.net
+
+CppUnit is the C++ port of the famous JUnit framework for unit testing.
Property changes on: trunk/devel/cppunit/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/cppunit/pkg-plist
===================================================================
--- trunk/devel/cppunit/pkg-plist (rev 0)
+++ trunk/devel/cppunit/pkg-plist 2015-10-10 20:49:45 UTC (rev 20513)
@@ -0,0 +1,12 @@
+bin/DllPlugInTester
+bin/cppunit-config
+lib/libcppunit-1.12.so.1
+lib/libcppunit-1.12.so.1.0.0
+lib/libcppunit.a
+lib/libcppunit.so
+libdata/pkgconfig/cppunit.pc
+man/man1/cppunit-config.1.gz
+share/aclocal/cppunit.m4
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
Property changes on: trunk/devel/cppunit/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list