diff options
author | gahr <gahr@FreeBSD.org> | 2012-10-03 15:39:41 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2012-10-03 15:39:41 +0800 |
commit | 4fa996ea91510ff43acce6b3525f82936e89d726 (patch) | |
tree | a9507d2e5ee3bc0c4aa86575c12caf1f0d1339ba /math | |
parent | 7c11e1e394c5ae3f0d4fde249dd9b3cc691964ea (diff) | |
download | freebsd-ports-gnome-4fa996ea91510ff43acce6b3525f82936e89d726.tar.gz freebsd-ports-gnome-4fa996ea91510ff43acce6b3525f82936e89d726.tar.zst freebsd-ports-gnome-4fa996ea91510ff43acce6b3525f82936e89d726.zip |
- Convert to OptionsNG
Notified by: http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG
Diffstat (limited to 'math')
-rw-r--r-- | math/carve/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/math/carve/Makefile b/math/carve/Makefile index 48dac53f6085..43dc9b75954c 100644 --- a/math/carve/Makefile +++ b/math/carve/Makefile @@ -1,9 +1,5 @@ -# New ports collection Makefile for: carve -# Date created: 16 November 2011 -# Whom: gahr -# +# Created by: gahr # $FreeBSD$ -# PORTNAME= carve PORTVERSION= 1.4.0 @@ -17,7 +13,7 @@ COMMENT= A fast, robust constructive solid geometry library LIB_DEPENDS= boost_filesystem.4:${PORTSDIR}/devel/boost-libs -OPTIONS= GUI "Enable GUI" off +OPTIONS_DEFINE= GUI USE_CMAKE= yes CMAKE_OUTSOURCE=yes @@ -31,7 +27,7 @@ LDFLAGS+= -L${LOCALBASE}/lib .include <bsd.port.options.mk> -.if defined(WITH_GUI) +.if ${PORT_OPTIONS:MGUI} LIB_DEPENDS+= glui:${PORTSDIR}/devel/glui PLIST_SUB+= GUI="" CMAKE_ARGS+= -DCARVE_WITH_GUI:BOOL=true |