Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2012 07:39:42 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305188 - head/math/carve
Message-ID:  <201210030739.q937dgON087315@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Wed Oct  3 07:39:41 2012
New Revision: 305188
URL: http://svn.freebsd.org/changeset/ports/305188

Log:
  - Convert to OptionsNG
  
  Notified by:	http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG

Modified:
  head/math/carve/Makefile   (contents, props changed)

Modified: head/math/carve/Makefile
==============================================================================
--- head/math/carve/Makefile	Wed Oct  3 07:37:08 2012	(r305187)
+++ head/math/carve/Makefile	Wed Oct  3 07:39:41 2012	(r305188)
@@ -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 sol
 
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210030739.q937dgON087315>