From owner-svn-ports-all@FreeBSD.ORG Wed Oct 3 07:39:42 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EE21106566C; Wed, 3 Oct 2012 07:39:42 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 78F5B8FC14; Wed, 3 Oct 2012 07:39:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q937dgdD087317; Wed, 3 Oct 2012 07:39:42 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q937dgON087315; Wed, 3 Oct 2012 07:39:42 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201210030739.q937dgON087315@svn.freebsd.org> From: Pietro Cerutti Date: Wed, 3 Oct 2012 07:39:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305188 - head/math/carve X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2012 07:39:42 -0000 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 -.if defined(WITH_GUI) +.if ${PORT_OPTIONS:MGUI} LIB_DEPENDS+= glui:${PORTSDIR}/devel/glui PLIST_SUB+= GUI="" CMAKE_ARGS+= -DCARVE_WITH_GUI:BOOL=true