aboutsummaryrefslogtreecommitdiff
path: root/math/tvmet/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-06-06 18:11:49 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-06-06 18:11:49 +0000
commitcaa36f0a9862c6be1688bf1437cb90329a89eae5 (patch)
tree53abbb3667bcda66e4a9b71d95f63d2134c0a322 /math/tvmet/Makefile
parent35a505c2e005656da15341010d783984f44bd6a1 (diff)
downloadports-caa36f0a9862c6be1688bf1437cb90329a89eae5.tar.gz
ports-caa36f0a9862c6be1688bf1437cb90329a89eae5.zip
Notes
Diffstat (limited to 'math/tvmet/Makefile')
-rw-r--r--math/tvmet/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/math/tvmet/Makefile b/math/tvmet/Makefile
index 2bfe065c1a8e..bba4e2e7f1c1 100644
--- a/math/tvmet/Makefile
+++ b/math/tvmet/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= tvmet
-PORTVERSION= 1.1.0
+PORTVERSION= 1.7.1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,10 +16,18 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Tiny Vector and Matrix template library
USE_BZIP2= yes
+USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-MAN1= tvmet-config.1
+MAN1= tvmet-config.1
+
+.if defined(WITH_CPPUNIT)
+LIB_DEPENDS+= cppunit-1.10.2:${PORTSDIR}/devel/cppunit
+CONFIGURE_ARGS+= --with-cppunit-prefix=${LOCALBASE}
+.else
+CONFIGURE_ENV+= ac_cv_path_CPPUNIT_CONFIG=no
+.endif
post-install:
.if !defined(NOPORTDOCS)