opnsense-ports/devel/cppunit/Makefile
Franco Fichtner 577d6ee628 */*: sync with upstream
Taken from: FreeBSD
2022-02-17 12:38:14 +01:00

40 lines
991 B
Makefile

PORTNAME= cppunit
PORTVERSION= 1.15.1
CATEGORIES= devel
MASTER_SITES= https://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"
USES= libtool pathfix compiler:c++11-lang
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
OPTIONS_SUB= yes
USE_LDCONFIG= yes
SUB_FILES= cppunit-config
SUB_LIST+= DISTVERSION=${DISTVERSION}
PLIST_SUB= VERSION=${PORTVERSION:R}
PORTDOCS= *
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>