From 8095d944ae91d8d4d2045e08517ea9825e274e8b Mon Sep 17 00:00:00 2001 From: jasper Date: Fri, 19 Oct 2007 08:39:08 +0000 Subject: [PATCH] - update check to 0.9.5 ok ajacoutot@ --- devel/check/Makefile | 11 +++--- devel/check/distinfo | 10 +++--- devel/check/patches/patch-Makefile_in | 21 +++++++++++ devel/check/patches/patch-doc_Makefile_in | 22 ++++++++++++ devel/check/pkg/DESCR | 12 +++---- devel/check/pkg/PFRAG.shared | 2 ++ devel/check/pkg/PLIST | 44 +++++++++++++++-------- 7 files changed, 93 insertions(+), 29 deletions(-) create mode 100644 devel/check/patches/patch-Makefile_in create mode 100644 devel/check/patches/patch-doc_Makefile_in create mode 100644 devel/check/pkg/PFRAG.shared diff --git a/devel/check/Makefile b/devel/check/Makefile index 1d70fd00eed..b5698ce467e 100644 --- a/devel/check/Makefile +++ b/devel/check/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2007/09/16 02:52:58 merdely Exp $ +# $OpenBSD: Makefile,v 1.3 2007/10/19 08:39:08 jasper Exp $ COMMENT= unit test framework for C programs -DISTNAME= check-0.8.4 +DISTNAME= check-0.9.5 +SHARED_LIBS += check 0.0 # .0.0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=check/} @@ -15,7 +16,9 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -CONFIGURE_STYLE= gnu -CONFIGURE_ARGS= --enable-plain-docdir +USE_GMAKE= Yes +USE_LIBTOOL= Yes +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS= --enable-plain-docdir .include diff --git a/devel/check/distinfo b/devel/check/distinfo index 10caa87a0a3..660ea55215b 100644 --- a/devel/check/distinfo +++ b/devel/check/distinfo @@ -1,5 +1,5 @@ -MD5 (check-0.8.4.tar.gz) = KGnA+xS54neTHb498i3hqw== -RMD160 (check-0.8.4.tar.gz) = ffxbkx9acPFAXTK8NK7IBKy/qAI= -SHA1 (check-0.8.4.tar.gz) = TVztNJynbi6UWri3ItUAe8G0SGA= -SHA256 (check-0.8.4.tar.gz) = Sdko2/DleG57VxIyppGPvO3u/nv3xf5Lnbcxd3MCQdI= -SIZE (check-0.8.4.tar.gz) = 134449 +MD5 (check-0.9.5.tar.gz) = MBQ8eXS1R6EqfaR4CakJUQ== +RMD160 (check-0.9.5.tar.gz) = GXVXgkVET/3IzsQ+U97cOqyFU+o= +SHA1 (check-0.9.5.tar.gz) = hLnRrObQvw/HPJ3i5oSmL3PTEvg= +SHA256 (check-0.9.5.tar.gz) = lhs8ZoaQGNAiJru8OU55NizYmJYs6BC86EF7PEl/etY= +SIZE (check-0.9.5.tar.gz) = 520625 diff --git a/devel/check/patches/patch-Makefile_in b/devel/check/patches/patch-Makefile_in new file mode 100644 index 00000000000..83377117cd1 --- /dev/null +++ b/devel/check/patches/patch-Makefile_in @@ -0,0 +1,21 @@ +$OpenBSD: patch-Makefile_in,v 1.1 2007/10/19 08:39:08 jasper Exp $ +--- Makefile.in.orig Wed Nov 22 00:19:11 2006 ++++ Makefile.in Thu Oct 18 13:56:20 2007 +@@ -197,7 +197,7 @@ sharedstatedir = @sharedstatedir@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + SUBDIRS = src doc . tests +-AM_MAKEINFOFLAGS = -I$(top_srcdir)/doc/example ++AM_MAKEINFOFLAGS = -I$(top_srcdir)/share/examples/check/ + CLEANFILES = *~\ + $(PACKAGE)-$(VERSION).tar.gz\ + ChangeLog.bak +@@ -660,7 +660,7 @@ info: info-recursive + + info-am: + +-install-data-am: install-docDATA install-m4dataDATA install-pcdataDATA ++install-data-am: install-m4dataDATA install-pcdataDATA + + install-exec-am: + diff --git a/devel/check/patches/patch-doc_Makefile_in b/devel/check/patches/patch-doc_Makefile_in new file mode 100644 index 00000000000..88fc431125e --- /dev/null +++ b/devel/check/patches/patch-doc_Makefile_in @@ -0,0 +1,22 @@ +$OpenBSD: patch-doc_Makefile_in,v 1.1 2007/10/19 08:39:08 jasper Exp $ +--- doc/Makefile.in.orig Thu Oct 18 20:46:08 2007 ++++ doc/Makefile.in Thu Oct 18 20:54:23 2007 +@@ -220,14 +220,14 @@ EXTRA_DIST = $(example_docs) \ + $(example_src_docs) \ + $(example_tests_docs) + +-docdir = $(datadir)/doc/$(PACKAGE) ++docdir = $(datadir)/doc/check/ + + # install money example +-exampledir = $(docdir)/example ++exampledir = $(datadir)/examples/check/ + example_DATA = $(example_docs) +-examplesrcdir = $(docdir)/example/src ++examplesrcdir = $(exampledir)/src + examplesrc_DATA = $(example_src_docs) +-exampletestsdir = $(docdir)/example/tests ++exampletestsdir = $(exampledir)/tests + exampletests_DATA = $(example_tests_docs) + all: all-am + diff --git a/devel/check/pkg/DESCR b/devel/check/pkg/DESCR index df9eb48e024..c8730dca061 100644 --- a/devel/check/pkg/DESCR +++ b/devel/check/pkg/DESCR @@ -1,6 +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. The output from unit tests can be used within -source code editors and IDEs. +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. The output from unit tests can be used within source code +editors and IDEs. diff --git a/devel/check/pkg/PFRAG.shared b/devel/check/pkg/PFRAG.shared new file mode 100644 index 00000000000..169557073d5 --- /dev/null +++ b/devel/check/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1 2007/10/19 08:39:08 jasper Exp $ +@lib lib/libcheck.so.${LIBcheck_VERSION} diff --git a/devel/check/pkg/PLIST b/devel/check/pkg/PLIST index 00543340ca5..7084e237bc0 100644 --- a/devel/check/pkg/PLIST +++ b/devel/check/pkg/PLIST @@ -1,18 +1,34 @@ -@comment $OpenBSD: PLIST,v 1.2 2004/08/08 17:55:29 espie Exp $ +@comment $OpenBSD: PLIST,v 1.3 2007/10/19 08:39:08 jasper Exp $ +%%SHARED%% include/check.h +@info info/check.info lib/libcheck.a +lib/libcheck.la +lib/pkgconfig/ +lib/pkgconfig/check.pc share/aclocal/ share/aclocal/check.m4 -share/doc/check/ -share/doc/check/COPYING -share/doc/check/ChangeLog -share/doc/check/ChangeLogOld -share/doc/check/NEWS -share/doc/check/README -share/doc/check/examples/ -share/doc/check/examples/Makefile.am.money -share/doc/check/examples/check_money.c -share/doc/check/examples/configure.in.money -share/doc/check/examples/money.c -share/doc/check/examples/money.h -share/doc/check/tutorial.lyx +share/examples/check/ +share/examples/check/Makefile.am +share/examples/check/README +share/examples/check/configure.ac +share/examples/check/src/ +share/examples/check/src/Makefile.am +share/examples/check/src/main.c +share/examples/check/src/money.1.c +share/examples/check/src/money.1.h +share/examples/check/src/money.2.h +share/examples/check/src/money.3.c +share/examples/check/src/money.4.c +share/examples/check/src/money.5.c +share/examples/check/src/money.6.c +share/examples/check/src/money.c +share/examples/check/src/money.h +share/examples/check/tests/ +share/examples/check/tests/Makefile.am +share/examples/check/tests/check_money.1.c +share/examples/check/tests/check_money.2.c +share/examples/check/tests/check_money.3.c +share/examples/check/tests/check_money.6.c +share/examples/check/tests/check_money.7.c +share/examples/check/tests/check_money.c