- update check to 0.9.5

ok ajacoutot@
This commit is contained in:
jasper 2007-10-19 08:39:08 +00:00
parent 137c1a3458
commit 8095d944ae
7 changed files with 93 additions and 29 deletions

View File

@ -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 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 CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=check/} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=check/}
@ -15,7 +16,9 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu USE_GMAKE= Yes
CONFIGURE_ARGS= --enable-plain-docdir USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-plain-docdir
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (check-0.8.4.tar.gz) = KGnA+xS54neTHb498i3hqw== MD5 (check-0.9.5.tar.gz) = MBQ8eXS1R6EqfaR4CakJUQ==
RMD160 (check-0.8.4.tar.gz) = ffxbkx9acPFAXTK8NK7IBKy/qAI= RMD160 (check-0.9.5.tar.gz) = GXVXgkVET/3IzsQ+U97cOqyFU+o=
SHA1 (check-0.8.4.tar.gz) = TVztNJynbi6UWri3ItUAe8G0SGA= SHA1 (check-0.9.5.tar.gz) = hLnRrObQvw/HPJ3i5oSmL3PTEvg=
SHA256 (check-0.8.4.tar.gz) = Sdko2/DleG57VxIyppGPvO3u/nv3xf5Lnbcxd3MCQdI= SHA256 (check-0.9.5.tar.gz) = lhs8ZoaQGNAiJru8OU55NizYmJYs6BC86EF7PEl/etY=
SIZE (check-0.8.4.tar.gz) = 134449 SIZE (check-0.9.5.tar.gz) = 520625

View File

@ -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:

View File

@ -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

View File

@ -1,6 +1,6 @@
Check is a unit test framework for C. It features a simple interface Check is a unit test framework for C. It features a simple interface for
for defining unit tests, putting little in the way of the developer. defining unit tests, putting little in the way of the developer. Tests
Tests are run in a separate address space, so Check can catch both are run in a separate address space, so Check can catch both assertion
assertion failures and code errors that cause segmentation faults failures and code errors that cause segmentation faults or other
or other signals. The output from unit tests can be used within signals. The output from unit tests can be used within source code
source code editors and IDEs. editors and IDEs.

View File

@ -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}

View File

@ -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 include/check.h
@info info/check.info
lib/libcheck.a lib/libcheck.a
lib/libcheck.la
lib/pkgconfig/
lib/pkgconfig/check.pc
share/aclocal/ share/aclocal/
share/aclocal/check.m4 share/aclocal/check.m4
share/doc/check/ share/examples/check/
share/doc/check/COPYING share/examples/check/Makefile.am
share/doc/check/ChangeLog share/examples/check/README
share/doc/check/ChangeLogOld share/examples/check/configure.ac
share/doc/check/NEWS share/examples/check/src/
share/doc/check/README share/examples/check/src/Makefile.am
share/doc/check/examples/ share/examples/check/src/main.c
share/doc/check/examples/Makefile.am.money share/examples/check/src/money.1.c
share/doc/check/examples/check_money.c share/examples/check/src/money.1.h
share/doc/check/examples/configure.in.money share/examples/check/src/money.2.h
share/doc/check/examples/money.c share/examples/check/src/money.3.c
share/doc/check/examples/money.h share/examples/check/src/money.4.c
share/doc/check/tutorial.lyx 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