blob: 5fc71c1db0d76f4d2a823041a8065281c73003a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# New ports collection makefile for: libcheck
# Date created: December 4, 2003
# Whom: mikeh@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= libcheck
PORTVERSION= 0.9.8
CATEGORIES= devel
MASTER_SITES= SF/check/check/${PORTVERSION}
DISTNAME= check-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= A unit test framework for C
GNU_CONFIGURE= yes
WITH_FBSD10_FIX= yes
PLIST_SUB= CHECK_VERSION=${PORTVERSION}
USE_GMAKE= yes
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/check-${PORTVERSION}
EXAMPLESDIR= ${PREFIX}/share/examples/check-${PORTVERSION}
INFO= check
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} \
-e '/^install-data-am:/ s/ install-docDATA//' \
${WRKSRC}/Makefile.in
.endif
.if defined(NOPORTEXAMPLES)
@${REINPLACE_CMD} \
-e '/^install-data-am:/ s/ install-exampleDATA//' \
-e '/^install-data-am:/ s/ install-examplesrcDATA//' \
-e '/install-exampletestsDATA/ s/install-exampletestsDATA//' \
${WRKSRC}/doc/Makefile.in
.endif
.include <bsd.port.mk>
|