freebsd-ports/devel/libcheck/Makefile
Ion-Mihai Tetcu 9fd42e66c9 - fix plist with -D NOPORTEXAMPLES
- info pages are not governed by NOPORTDOCS, install them unconditionally.

PR:		ports/131271
Submitted by:	rafan@
Approved by:	maintainer timeout to QAT BotMails
2009-02-04 20:45:51 +00:00

41 lines
945 B
Makefile

# New ports collection makefile for: libcheck
# Date created: December 4, 2003
# Whom: mikeh@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= libcheck
PORTVERSION= 0.9.6
CATEGORIES= devel
MASTER_SITES= SF/check
DISTNAME= check-${PORTVERSION}
MAINTAINER= sunpoet@sunpoet.net
COMMENT= A unit test framework for C
GNU_CONFIGURE= 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>