# 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 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