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

Collapse All | Expand All

(-)b/devel/check/Makefile (-18 / +8 lines)
Lines 2-9 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
8
MASTER_SITES=	https://github.com/libcheck/check/releases/download/${DISTVERSION}/
7
9
8
MAINTAINER=	sunpoet@FreeBSD.org
10
MAINTAINER=	sunpoet@FreeBSD.org
9
COMMENT=	Unit test framework for C
11
COMMENT=	Unit test framework for C
Lines 11-38 COMMENT= Unit test framework for C Link Here
11
LICENSE=	LGPL21
13
LICENSE=	LGPL21
12
LICENSE_FILE=	${WRKSRC}/COPYING.LESSER
14
LICENSE_FILE=	${WRKSRC}/COPYING.LESSER
13
15
14
USES=		autoreconf libtool makeinfo pathfix pkgconfig
16
USES=		cmake
15
17
16
CONFIGURE_ENV=	ac_cv_path_AWK_PATH=${AWK}
17
GNU_CONFIGURE=	yes
18
INSTALL_TARGET=	install-strip
19
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
20
19
21
INFO=		check
20
TEST_TARGET=	test
22
21
23
GH_ACCOUNT=	libcheck
22
CMAKE_ARGS=	-DCMAKE_INSTALL_DATAROOTDIR:PATH=./ -DENABLE_MEMORY_LEAKING_TESTS:BOOL=false
24
USE_GITHUB=	yes
25
23
26
OPTIONS_DEFINE=	DOCS EXAMPLES
24
OPTIONS_DEFINE=	TEST
27
25
28
post-patch:
26
TEST_CMAKE_BOOL=	BUILD_TESTING CHECK_ENABLE_TESTS
29
	@${REINPLACE_CMD} \
30
		-e 's|COPYING.LESSER||' \
31
		-e '/^docdir = / s|$$(PACKAGE)|check|' \
32
			${WRKSRC}/Makefile.am
33
	@${REINPLACE_CMD} \
34
		-e '/^exampledir = / s|(docdir)/example|(datadir)/examples/check|' \
35
		-e '/^example[a-z]*dir = / s|(docdir)/example/|(exampledir)/|' \
36
			${WRKSRC}/doc/Makefile.am
37
27
38
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)b/devel/check/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1597569921
1
TIMESTAMP = 1598731997
2
SHA256 (libcheck-check-0.15.2_GH0.tar.gz) = 998d355294bb94072f40584272cf4424571c396c631620ce463f6ea97aa67d2e
2
SHA256 (check-0.15.2.tar.gz) = a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a
3
SIZE (libcheck-check-0.15.2_GH0.tar.gz) = 306136
3
SIZE (check-0.15.2.tar.gz) = 774985
(-)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