1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/devel/cppunit/Makefile
Lev A. Serebryakov 5759747096 Update to version 1.8.0
PR:		ports/48637
Submitted by:	lev
Reviewed by:	maintainer
Approved by:	sobomax
2003-06-28 17:44:04 +00:00

52 lines
1.3 KiB
Makefile

# New ports collection makefile for: cppunit
# Date created: 14 Feb 2002
# Whom: Graeme Cross <gcross@netspace.net.au>
#
# $FreeBSD$
PORTNAME= cppunit
PORTVERSION= 1.8.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
.if defined(WITH_DOXYGEN)
BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
.endif
MAINTAINER= gcross@fastmail.fm
COMMENT= C++ port of the JUnit framework for unit testing
HAS_CONFIGURE= yes
.if defined(WITH_DOXYGEN) && !defined(NOPORTDOCS)
CONFIGURE_ARGS+= --enable-doc --enable-doxygen --enable-html-docs
PLIST_SUB+= DOXYGEN=""
.else
CONFIGURE_ARGS+= --disable-doc --disable-doxygen
PLIST_SUB+= DOXYGEN="@comment "
.endif
INSTALLS_SHLIB= yes
.if !defined(NOMAN)
MAN1= cppunit-config.1
.endif
MANCOMPRESSED= no
pre-everything:
.if !defined(WITH_DOXYGEN) && !defined(NOPORTDOCS)
@${ECHO_MSG}
@${ECHO_MSG} You could define WITH_DOXYGEN if you want HTML documentation
@${ECHO_MSG}
.endif
post-install:
.if !defined(NOPORTDOCS)
.if !defined(WITH_DOXYGEN)
${MKDIR} -p ${PREFIX}/share/doc/cppunit
${INSTALL_MAN} ${WRKSRC}/doc/FAQ ${PREFIX}/share/doc/cppunit
.endif
${INSTALL_MAN} ${WRKSRC}/NEWS ${PREFIX}/share/doc/cppunit
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/cppunit
.endif
.include <bsd.port.mk>