blob: 12e344d3c878901e9183012c452254e49957c246 (
plain)
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
|
# Created by: mikeh@FreeBSD.org
# $FreeBSD$
PORTNAME= libcheck
PORTVERSION= 0.9.12
CATEGORIES= devel
MASTER_SITES= SF/check/check/${PORTVERSION}
DISTNAME= check-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Unit test framework for C
LICENSE= LGPL21
OPTIONS_DEFINE= DOCS EXAMPLES
CONFIGURE_ENV= ac_cv_path_AWK_PATH=${AWK}
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= gmake pathfix
INFO= check
PORTDOCS= *
PORTEXAMPLES= *
post-patch:
@${REINPLACE_CMD} \
-e 's|COPYING.LESSER||' \
-e '/^docdir = / s|$$(PACKAGE)|${PORTNAME}|' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} \
-e '/^exampledir = / s|(docdir)/example|(datadir)/examples/${PORTNAME}|' \
-e '/^example[a-z]*dir = / s|(docdir)/example/|(exampledir)/|' \
${WRKSRC}/doc/Makefile.in
post-build:
@${STRIP_CMD} ${WRKSRC}/src/.libs/libcheck.so.0
.include <bsd.port.mk>
|