aboutsummaryrefslogtreecommitdiff
path: root/textproc/wv2
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2011-04-09 12:17:31 +0000
committerDima Panov <fluffy@FreeBSD.org>2011-04-09 12:17:31 +0000
commit58ea1d2a58550722e0893879644f5a2034d9f27d (patch)
tree578b8799c7c03822054f32d519464aed20fa3a61 /textproc/wv2
parent70a65c3a1e44bd61dcb1a86d3d81456a8ef8bce8 (diff)
downloadports-58ea1d2a58550722e0893879644f5a2034d9f27d.tar.gz
ports-58ea1d2a58550722e0893879644f5a2034d9f27d.zip
Notes
Diffstat (limited to 'textproc/wv2')
-rw-r--r--textproc/wv2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/wv2/Makefile b/textproc/wv2/Makefile
index 0591a8b98275..cc2960b0a7a3 100644
--- a/textproc/wv2/Makefile
+++ b/textproc/wv2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= wv2
PORTVERSION= 0.4.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= textproc
MASTER_SITES= SF/wvware/
@@ -21,6 +21,12 @@ USE_CMAKE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
+.if defined(WITH_DEBUG)
+CMAKE_BUILD_TYPE?= Debug
+.else
+CMAKE_BUILD_TYPE?= Release
+.endif
+
PLIST_SUB= CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:L}"
.include <bsd.port.mk>