View | Details | Raw Unified | Return to bug 249002 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/check/Makefile (-18 / +10 lines)
Lines 2-10 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	check
4
PORTNAME=	check
5
PORTVERSION=	0.15.2
5
DISTVERSION=	0.15.2
6
PORTREVISION=	1
6
CATEGORIES=	devel
7
CATEGORIES=	devel
7
MASTER_SITES=	https://github.com/libcheck/check/releases/download/${PORTVERSION}/
8
MASTER_SITES=	https://github.com/libcheck/check/releases/download/${DISTVERSION}/
8
9
9
MAINTAINER=	sunpoet@FreeBSD.org
10
MAINTAINER=	sunpoet@FreeBSD.org
10
COMMENT=	Unit test framework for C
11
COMMENT=	Unit test framework for C
Lines 12-36 COMMENT= Unit test framework for C Link Here
12
LICENSE=	LGPL21
13
LICENSE=	LGPL21
13
LICENSE_FILE=	${WRKSRC}/COPYING.LESSER
14
LICENSE_FILE=	${WRKSRC}/COPYING.LESSER
14
15
15
USES=		libtool makeinfo pathfix pkgconfig
16
USES=		cmake
16
17
CONFIGURE_ENV=	ac_cv_path_AWK_PATH=${AWK}
18
GNU_CONFIGURE=	yes
19
INSTALL_TARGET=	install-strip
20
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
21
18
22
INFO=		check
19
TEST_TARGET=	test
20
21
CMAKE_ARGS=	-DCMAKE_INSTALL_DATAROOTDIR:PATH=./ \
22
		-DENABLE_MEMORY_LEAKING_TESTS:BOOL=false
23
23
24
OPTIONS_DEFINE=	DOCS EXAMPLES
24
OPTIONS_DEFINE=	TEST
25
25
26
post-patch:
26
TEST_CMAKE_BOOL=	BUILD_TESTING CHECK_ENABLE_TESTS
27
	@${REINPLACE_CMD} \
28
		-e 's|COPYING.LESSER||' \
29
		-e '/^docdir = / s|$$(PACKAGE)|check|' \
30
			${WRKSRC}/Makefile.in
31
	@${REINPLACE_CMD} \
32
		-e '/^exampledir = / s|(docdir)/example|(datadir)/examples/check|' \
33
		-e '/^example[a-z]*dir = / s|(docdir)/example/|(exampledir)/|' \
34
			${WRKSRC}/doc/Makefile.in
35
27
36
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)b/devel/check/pkg-plist (-26 / +5 lines)
Lines 1-34 Link Here
1
bin/checkmk
1
bin/checkmk
2
include/check.h
2
include/check.h
3
include/check_stdint.h
3
include/check_stdint.h
4
lib/cmake/check/check-config-version.cmake
5
lib/cmake/check/check-config.cmake
6
lib/cmake/check/check-targets-%%CMAKE_BUILD_TYPE%%.cmake
7
lib/cmake/check/check-targets.cmake
4
lib/libcheck.a
8
lib/libcheck.a
5
lib/libcheck.so
9
lib/libcheck.so
6
lib/libcheck.so.0
10
lib/libcheck.so.0
7
lib/libcheck.so.0.0.0
11
lib/libcheck.so.0.15.2
8
libdata/pkgconfig/check.pc
12
libdata/pkgconfig/check.pc
9
man/man1/checkmk.1.gz
13
man/man1/checkmk.1.gz
10
share/aclocal/check.m4
11
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
12
%%PORTDOCS%%%%DOCSDIR%%/NEWS
13
%%PORTDOCS%%%%DOCSDIR%%/README
14
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.am
15
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
16
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/configure.ac
17
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/Makefile.am
18
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/main.c
19
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.1.c
20
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.1.h
21
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.2.h
22
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.3.c
23
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.4.c
24
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.5.c
25
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.6.c
26
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.c
27
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.h
28
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/Makefile.am
29
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.1.c
30
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.2.c
31
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.3.c
32
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.6.c
33
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.7.c
34
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.c

Return to bug 249002