mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
e28cb93e04
Upstream intends scripts to use pkg-config now, but there are plenty of old cppunit.m4 files that expect to find cppunit-config still, including several ports. PR: 220162 Reported by: Greg V <greg@unrelenting.technology>
40 lines
949 B
Makefile
40 lines
949 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cppunit
|
|
PORTVERSION= 1.14.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://dev-www.libreoffice.org/src/
|
|
|
|
MAINTAINER= bdrewery@FreeBSD.org
|
|
COMMENT= C++ port of the JUnit framework for unit testing
|
|
|
|
LICENSE= LGPL21
|
|
|
|
OPTIONS_DEFINE= DOCS DOXYGEN
|
|
|
|
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
|
|
dot:graphics/graphviz
|
|
DOXYGEN_CONFIGURE_ENABLE= dot doxygen html-docs
|
|
DOXYGEN_CONFIGURE_ON= --htmldir="${DOCSDIR}/html"
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
OPTIONS_SUB= yes
|
|
USE_LDCONFIG= yes
|
|
USES= libtool pathfix
|
|
|
|
SUB_FILES= cppunit-config
|
|
SUB_LIST+= DISTVERSION=${DISTVERSION}
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/cppunit-config ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|