[Midnightbsd-cvs] mports [15767] trunk/devel/libcheck: update

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Dec 22 14:21:11 EST 2013


Revision: 15767
          http://svnweb.midnightbsd.org/mports/?rev=15767
Author:   laffer1
Date:     2013-12-22 14:21:10 -0500 (Sun, 22 Dec 2013)
Log Message:
-----------
update

Modified Paths:
--------------
    trunk/devel/libcheck/Makefile
    trunk/devel/libcheck/distinfo
    trunk/devel/libcheck/pkg-descr
    trunk/devel/libcheck/pkg-plist

Removed Paths:
-------------
    trunk/devel/libcheck/files/

Modified: trunk/devel/libcheck/Makefile
===================================================================
--- trunk/devel/libcheck/Makefile	2013-12-22 19:18:52 UTC (rev 15766)
+++ trunk/devel/libcheck/Makefile	2013-12-22 19:21:10 UTC (rev 15767)
@@ -2,37 +2,47 @@
 # $MidnightBSD$
 
 PORTNAME=	libcheck
-PORTVERSION=	0.9.8
+PORTVERSION=	0.9.11
 CATEGORIES=	devel
 MASTER_SITES=	SF/check/check/${PORTVERSION}
 DISTNAME=	check-${PORTVERSION}
 
 MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	A unit test framework for C
-LICENSE=	gpl
+COMMENT=	Unit test framework for C
 
+LICENSE=	lgpl2.1
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+CONFIGURE_ENV=	ac_cv_path_AWK_PATH=${AWK}
 GNU_CONFIGURE=	yes
-PLIST_SUB=	CHECK_VERSION=${PORTVERSION}
-USE_GMAKE=	yes
 USE_LDCONFIG=	yes
+USES=		gmake pathfix
 
-DOCSDIR=	${PREFIX}/share/doc/check-${PORTVERSION}
-EXAMPLESDIR=	${PREFIX}/share/examples/check-${PORTVERSION}
-
 INFO=		check
 
+.include <bsd.mport.options.mk>
+
 post-patch:
-.if defined(NOPORTDOCS)
 	@${REINPLACE_CMD} \
-		-e '/^install-data-am:/ s/ install-docDATA//' \
-		${WRKSRC}/Makefile.in
+		-e 's|COPYING.LESSER||' \
+		-e '/^docdir = / s|$$(PACKAGE)|${PORTNAME}|' \
+			${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} \
+		-e '/^exampledir = / s|(docdir)/example|(datadir)/examples/${PORTNAME}|' \
+		-e '/^example[a-z]*dir = / s|(docdir)/example/|(exampledir)/|' \
+			${WRKSRC}/doc/Makefile.in
+.if !${PORT_OPTIONS:MDOCS}
+	@${REINPLACE_CMD} -e '/^install-data-am:/ s| install-docDATA||' ${WRKSRC}/Makefile.in
 .endif
-.if defined(NOPORTEXAMPLES)
+.if !${PORT_OPTIONS:MEXAMPLES}
 	@${REINPLACE_CMD} \
-		-e '/^install-data-am:/ s/ install-exampleDATA//' \
-		-e '/^install-data-am:/ s/ install-examplesrcDATA//' \
-		-e '/install-exampletestsDATA/ s/install-exampletestsDATA//' \
-		${WRKSRC}/doc/Makefile.in
+		-e '/^install-data-am:/ s| install-exampleDATA install-examplesrcDATA||' \
+		-e 's|install-exampletestsDATA ||' \
+			${WRKSRC}/doc/Makefile.in
 .endif
 
+post-build:
+	@${STRIP_CMD} ${WRKSRC}/src/.libs/libcheck.so.0
+
 .include <bsd.port.mk>

Modified: trunk/devel/libcheck/distinfo
===================================================================
--- trunk/devel/libcheck/distinfo	2013-12-22 19:18:52 UTC (rev 15766)
+++ trunk/devel/libcheck/distinfo	2013-12-22 19:21:10 UTC (rev 15767)
@@ -1,3 +1,2 @@
-SHA256 (check-0.9.8.tar.gz) = 82acf956bb07584ffea2bf04d5989fe939c3e74ecf93133a21037fd0f7996a7f
-RMD160 (check-0.9.8.tar.gz) = 75e0d1981109086ac597e57655ba9561f1b79211
-SIZE (check-0.9.8.tar.gz) = 558943
+SHA256 (check-0.9.11.tar.gz) = ea4e8c7ffb00bb4ffb3f59f11744a71f1cc4212c79f3083c7d9a4b0953976936
+SIZE (check-0.9.11.tar.gz) = 691146

Modified: trunk/devel/libcheck/pkg-descr
===================================================================
--- trunk/devel/libcheck/pkg-descr	2013-12-22 19:18:52 UTC (rev 15766)
+++ trunk/devel/libcheck/pkg-descr	2013-12-22 19:21:10 UTC (rev 15767)
@@ -1,7 +1,6 @@
-Check is a unit test framework for C. It features a simple interface
-for defining unit tests, putting little in the way of the
-developer. Tests are run in a separate address space, so Check can
-catch both assertion failures and code errors that cause segmentation
-faults or other signals.
+Check is a unit test framework for C. It features a simple interface for
+defining unit tests, putting little in the way of the developer. Tests are run
+in a separate address space, so Check can catch both assertion failures and code
+errors that cause segmentation faults or other signals.
 
-WWW: http://check.sourceforge.net
+WWW: http://check.sourceforge.net/

Modified: trunk/devel/libcheck/pkg-plist
===================================================================
--- trunk/devel/libcheck/pkg-plist	2013-12-22 19:18:52 UTC (rev 15766)
+++ trunk/devel/libcheck/pkg-plist	2013-12-22 19:21:10 UTC (rev 15767)
@@ -1,37 +1,39 @@
+bin/checkmk
 include/check.h
+include/check_stdint.h
+lib/libcheck.a
+lib/libcheck.la
+lib/libcheck.so
 lib/libcheck.so.0
-lib/libcheck.so
-lib/libcheck.la
-lib/libcheck.a
 libdata/pkgconfig/check.pc
 share/aclocal/check.m4
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLogOld
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/SVNChangeLog
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.am
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/configure.ac
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/Makefile.am
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/main.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.h
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.1.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.1.h
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.2.h
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.1.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.3.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.4.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.5.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.6.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.h
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/Makefile.am
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.1.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.2.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.3.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.6.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.7.c
-%%PORTDOCS%%%%DOCSDIR%%/SVNChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLogOld
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.c
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/tests
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/src
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/tests
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%



More information about the Midnightbsd-cvs mailing list