- Convert to new options framework
- Sort PLIST
This commit is contained in:
parent
71c50eaabc
commit
e3fc0f414f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300688
@ -14,6 +14,8 @@ DISTNAME= check-${PORTVERSION}
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= A unit test framework for C
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
PLIST_SUB= CHECK_VERSION=${PORTVERSION}
|
||||
USE_GMAKE= yes
|
||||
@ -21,16 +23,17 @@ USE_LDCONFIG= yes
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/check-${PORTVERSION}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/check-${PORTVERSION}
|
||||
|
||||
INFO= check
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.if defined(NOPORTDOCS)
|
||||
.if empty(PORT_OPTIONS:MDOCS)
|
||||
@${REINPLACE_CMD} \
|
||||
-e '/^install-data-am:/ s/ install-docDATA//' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
.if defined(NOPORTEXAMPLES)
|
||||
.if empty(PORT_OPTIONS:MEXAMPLES)
|
||||
@${REINPLACE_CMD} \
|
||||
-e '/^install-data-am:/ s/ install-exampleDATA//' \
|
||||
-e '/^install-data-am:/ s/ install-examplesrcDATA//' \
|
||||
|
@ -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/
|
||||
|
@ -1,37 +1,37 @@
|
||||
include/check.h
|
||||
lib/libcheck.so.0
|
||||
lib/libcheck.so
|
||||
lib/libcheck.la
|
||||
lib/libcheck.a
|
||||
lib/libcheck.la
|
||||
lib/libcheck.so
|
||||
lib/libcheck.so.0
|
||||
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%%@dirrm %%EXAMPLESDIR%%/src
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.c
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/tests
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/src
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user