SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
devel/check/Makefile
Normal file
20
devel/check/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
|||
COMMENT = unit test framework for C programs
|
||||
|
||||
V = 0.12.0
|
||||
DISTNAME = check-$V
|
||||
SHARED_LIBS += check 3.1 # unknown
|
||||
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = https://libcheck.github.io/check/
|
||||
|
||||
# LGPLv2.1
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += m pthread
|
||||
|
||||
MASTER_SITES = https://github.com/libcheck/check/releases/download/$V/
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/check/distinfo
Normal file
2
devel/check/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (check-0.12.0.tar.gz) = RkIBCYvuAOkPXEvfqUpdPq2NZB+QJbVgondVqDuCQjQ=
|
||||
SIZE (check-0.12.0.tar.gz) = 764043
|
20
devel/check/patches/patch-Makefile_in
Normal file
20
devel/check/patches/patch-Makefile_in
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- Makefile.in.orig Sun Aug 2 21:31:55 2015
|
||||
+++ Makefile.in Mon Aug 24 08:23:07 2015
|
||||
@@ -386,7 +386,7 @@ top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
SUBDIRS = lib src doc . checkmk tests
|
||||
-AM_MAKEINFOFLAGS = -I$(top_srcdir)/doc/example
|
||||
+AM_MAKEINFOFLAGS = -I$(top_srcdir)/doc/example/check
|
||||
CLEANFILES = *~\
|
||||
$(PACKAGE)-$(VERSION).tar.gz\
|
||||
ChangeLog.bak
|
||||
@@ -913,7 +913,7 @@ info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
-install-data-am: install-docDATA install-includeHEADERS \
|
||||
+install-data-am: install-includeHEADERS \
|
||||
install-m4dataDATA install-pcdataDATA
|
||||
|
||||
install-dvi: install-dvi-recursive
|
69
devel/check/patches/patch-doc_Makefile_in
Normal file
69
devel/check/patches/patch-doc_Makefile_in
Normal file
|
@ -0,0 +1,69 @@
|
|||
Index: doc/Makefile.in
|
||||
--- doc/Makefile.in.orig
|
||||
+++ doc/Makefile.in
|
||||
@@ -309,7 +309,7 @@ build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
-docdir = $(datadir)/doc/$(PACKAGE)
|
||||
+docdir = $(datadir)/doc/check/
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
@@ -947,47 +947,47 @@ $(srcdir)/check.texi: money.1-2.h.diff \
|
||||
# diff returns 1 if there is a difference, but we don't want make to
|
||||
# think that means there is an error
|
||||
money.1-2.h.diff: $(eg_src)/money.1.h $(eg_src)/money.2.h
|
||||
- cd $(eg_root); \
|
||||
+ -cd $(eg_root); \
|
||||
diff -U 100 src/money.1.h src/money.2.h ${filter_timestapms} > @abs_builddir@/$@ || test $$? -eq 1; \
|
||||
cd -;
|
||||
|
||||
money.1-3.c.diff: $(eg_src)/money.1.c $(eg_src)/money.3.c
|
||||
- cd $(eg_root); \
|
||||
+ -cd $(eg_root); \
|
||||
diff -U 100 src/money.1.c src/money.3.c ${filter_timestapms} > @abs_builddir@/$@ || test $$? -eq 1; \
|
||||
cd -;
|
||||
|
||||
money.3-4.c.diff: $(eg_src)/money.3.c $(eg_src)/money.4.c
|
||||
- cd $(eg_root); \
|
||||
+ -cd $(eg_root); \
|
||||
diff -U 100 src/money.3.c src/money.4.c ${filter_timestapms} > @abs_builddir@/$@ || test $$? -eq 1; \
|
||||
cd -;
|
||||
|
||||
money.4-5.c.diff: $(eg_src)/money.4.c $(eg_src)/money.5.c
|
||||
- cd $(eg_root); \
|
||||
+ -cd $(eg_root); \
|
||||
diff -U 100 src/money.4.c src/money.5.c ${filter_timestapms} > @abs_builddir@/$@ || test $$? -eq 1; \
|
||||
cd -;
|
||||
|
||||
money.5-6.c.diff: $(eg_src)/money.5.c $(eg_src)/money.6.c
|
||||
- cd $(eg_root); \
|
||||
+ -cd $(eg_root); \
|
||||
diff -U 100 src/money.5.c src/money.6.c ${filter_timestapms} > @abs_builddir@/$@ || test $$? -eq 1; \
|
||||
cd -;
|
||||
|
||||
check_money.1-2.c.diff: $(eg_tests)/check_money.1.c $(eg_tests)/check_money.2.c
|
||||
- cd $(eg_root); \
|
||||
+ -cd $(eg_root); \
|
||||
diff -U 100 tests/check_money.1.c tests/check_money.2.c ${filter_timestapms} > @abs_builddir@/$@ || test $$? -eq 1; \
|
||||
cd -;
|
||||
|
||||
check_money.2-3.c.diff: $(eg_tests)/check_money.2.c $(eg_tests)/check_money.3.c
|
||||
- cd $(eg_root); \
|
||||
+ -cd $(eg_root); \
|
||||
diff -U 100 tests/check_money.2.c tests/check_money.3.c ${filter_timestapms} > @abs_builddir@/$@ || test $$? -eq 1; \
|
||||
cd -;
|
||||
|
||||
check_money.3-6.c.diff: $(eg_tests)/check_money.3.c $(eg_tests)/check_money.6.c
|
||||
- cd $(eg_root); \
|
||||
+ -cd $(eg_root); \
|
||||
diff -U 100 tests/check_money.3.c tests/check_money.6.c ${filter_timestapms} > @abs_builddir@/$@ || test $$? -eq 1; \
|
||||
cd -;
|
||||
|
||||
check_money.6-7.c.diff: $(eg_tests)/check_money.6.c $(eg_tests)/check_money.7.c
|
||||
- cd $(eg_root); \
|
||||
+ -cd $(eg_root); \
|
||||
diff -U 100 tests/check_money.6.c tests/check_money.7.c ${filter_timestapms} > @abs_builddir@/$@ || test $$? -eq 1; \
|
||||
cd -;
|
||||
|
6
devel/check/pkg/DESCR
Normal file
6
devel/check/pkg/DESCR
Normal file
|
@ -0,0 +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.
|
36
devel/check/pkg/PLIST
Normal file
36
devel/check/pkg/PLIST
Normal file
|
@ -0,0 +1,36 @@
|
|||
bin/checkmk
|
||||
include/check.h
|
||||
include/check_stdint.h
|
||||
@info info/check.info
|
||||
lib/libcheck.a
|
||||
lib/libcheck.la
|
||||
@lib lib/libcheck.so.${LIBcheck_VERSION}
|
||||
lib/pkgconfig/check.pc
|
||||
@man man/man1/checkmk.1
|
||||
share/aclocal/
|
||||
share/aclocal/check.m4
|
||||
share/doc/check/
|
||||
share/doc/check/example/
|
||||
share/doc/check/example/Makefile.am
|
||||
share/doc/check/example/README
|
||||
share/doc/check/example/configure.ac
|
||||
share/doc/check/example/src/
|
||||
share/doc/check/example/src/Makefile.am
|
||||
share/doc/check/example/src/main.c
|
||||
share/doc/check/example/src/money.1.c
|
||||
share/doc/check/example/src/money.1.h
|
||||
share/doc/check/example/src/money.2.h
|
||||
share/doc/check/example/src/money.3.c
|
||||
share/doc/check/example/src/money.4.c
|
||||
share/doc/check/example/src/money.5.c
|
||||
share/doc/check/example/src/money.6.c
|
||||
share/doc/check/example/src/money.c
|
||||
share/doc/check/example/src/money.h
|
||||
share/doc/check/example/tests/
|
||||
share/doc/check/example/tests/Makefile.am
|
||||
share/doc/check/example/tests/check_money.1.c
|
||||
share/doc/check/example/tests/check_money.2.c
|
||||
share/doc/check/example/tests/check_money.3.c
|
||||
share/doc/check/example/tests/check_money.6.c
|
||||
share/doc/check/example/tests/check_money.7.c
|
||||
share/doc/check/example/tests/check_money.c
|
Loading…
Add table
Add a link
Reference in a new issue