2003-12-05 00:46:02 +00:00
|
|
|
# New ports collection makefile for: libcheck
|
|
|
|
# Date created: December 4, 2003
|
|
|
|
# Whom: mikeh@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libcheck
|
2009-10-22 06:42:24 +00:00
|
|
|
PORTVERSION= 0.9.8
|
2003-12-05 00:46:02 +00:00
|
|
|
CATEGORIES= devel
|
2009-08-22 00:18:43 +00:00
|
|
|
MASTER_SITES= SF/check/check/${PORTVERSION}
|
2008-04-07 16:25:08 +00:00
|
|
|
DISTNAME= check-${PORTVERSION}
|
2003-12-05 00:46:02 +00:00
|
|
|
|
2009-01-11 04:26:18 +00:00
|
|
|
MAINTAINER= sunpoet@sunpoet.net
|
2003-12-05 00:46:02 +00:00
|
|
|
COMMENT= A unit test framework for C
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2004-11-15 04:16:40 +00:00
|
|
|
PLIST_SUB= CHECK_VERSION=${PORTVERSION}
|
2006-07-05 18:30:08 +00:00
|
|
|
USE_GMAKE= yes
|
2008-04-07 04:09:47 +00:00
|
|
|
USE_LDCONFIG= yes
|
2006-07-05 18:30:08 +00:00
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/check-${PORTVERSION}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/check-${PORTVERSION}
|
2003-12-05 00:46:02 +00:00
|
|
|
|
2008-04-07 04:09:47 +00:00
|
|
|
INFO= check
|
|
|
|
|
2008-11-04 16:23:34 +00:00
|
|
|
post-patch:
|
2009-01-11 04:26:18 +00:00
|
|
|
.if defined(NOPORTDOCS)
|
2008-11-04 16:23:34 +00:00
|
|
|
@${REINPLACE_CMD} \
|
2009-01-11 04:26:18 +00:00
|
|
|
-e '/^install-data-am:/ s/ install-docDATA//' \
|
2008-11-04 16:23:34 +00:00
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
2009-01-11 04:26:18 +00:00
|
|
|
.if defined(NOPORTEXAMPLES)
|
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e '/^install-data-am:/ s/ install-exampleDATA//' \
|
|
|
|
-e '/^install-data-am:/ s/ install-examplesrcDATA//' \
|
2009-02-04 20:45:51 +00:00
|
|
|
-e '/install-exampletestsDATA/ s/install-exampletestsDATA//' \
|
2008-11-04 16:23:34 +00:00
|
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2003-12-05 00:46:02 +00:00
|
|
|
.include <bsd.port.mk>
|