2 # Ports collection makefile for: tvmet
3 # Date created: Jul 25, 2002
6 # $FreeBSD: ports/math/tvmet/Makefile,v 1.22 2012/11/17 05:59:31 svnexp Exp $
12 MASTER_SITES= SF/${PORTNAME}/Tar.Gz_Bz2%20Archive/${PORTVERSION}
14 MAINTAINER= ports@FreeBSD.org
15 COMMENT= Tiny Vector and Matrix template library
19 USE_AUTOTOOLS= libtool
20 MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
24 .if defined(WITH_CPPUNIT)
25 LIB_DEPENDS+= cppunit-1.10.2:${PORTSDIR}/devel/cppunit
26 CONFIGURE_ARGS+= --with-cppunit-prefix=${LOCALBASE}
28 CONFIGURE_ENV+= ac_cv_path_CPPUNIT_CONFIG=no
31 .if defined(WITH_DEBUG)
32 CXXFLAGS+= -DTVMET_DEBUG
34 CXXFLAGS+= -DTVMET_OPTIMIZE
38 @${REINPLACE_CMD} -e 's|= -O |= |g' ${WRKSRC}/doc/Makefile.in
41 .if !defined(NOPORTDOCS)
43 .for ext in dox cc css h png
44 ${INSTALL_DATA} ${WRKSRC}/doc/*.${ext} ${DOCSDIR}
46 @${MKDIR} ${EXAMPLESDIR}
48 ${INSTALL_DATA} ${WRKSRC}/examples/*.${ext} ${EXAMPLESDIR}
52 .include <bsd.port.mk>