From owner-svn-ports-all@FreeBSD.ORG Mon Nov 19 03:21:07 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E53D6B4F; Mon, 19 Nov 2012 03:21:07 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id CA4C68FC0C; Mon, 19 Nov 2012 03:21:07 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAJ3L7fd070970; Mon, 19 Nov 2012 03:21:07 GMT (envelope-from glewis@svn.freebsd.org) Received: (from glewis@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAJ3L7T0070969; Mon, 19 Nov 2012 03:21:07 GMT (envelope-from glewis@svn.freebsd.org) Message-Id: <201211190321.qAJ3L7T0070969@svn.freebsd.org> From: Greg Lewis Date: Mon, 19 Nov 2012 03:21:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307550 - head/net/dgd X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 19 Nov 2012 03:21:08 -0000 Author: glewis Date: Mon Nov 19 03:21:07 2012 New Revision: 307550 URL: http://svnweb.freebsd.org/changeset/ports/307550 Log: . Migrate to OptionsNG. Reminded by: jgh@ Feature safe: yes Modified: head/net/dgd/Makefile Modified: head/net/dgd/Makefile ============================================================================== --- head/net/dgd/Makefile Mon Nov 19 00:20:27 2012 (r307549) +++ head/net/dgd/Makefile Mon Nov 19 03:21:07 2012 (r307550) @@ -15,9 +15,11 @@ COMMENT= Dworkin\'s Game Driver LICENSE= GPLv3 -OPTIONS= NETWORKING "With networking kfuns" off \ - CLOSURES "With function pointer support" off \ - CPLUSPLUS_COMMENTS "With C++ style comment support" on +OPTIONS_DEFINE= NETWORKING CLOSURES CPLUSPLUS_COMMENTS +NETWORKING_DESC=Enable networking kfuns +CLOSURES_DESC= Enable function pointer support +CPLUSPLUS_COMMENTS_DESC= Allow C++ style comments in LPC +OPTIONS_DEFAULT=CPLUSPLUS_COMMENTS USE_GMAKE= yes @@ -39,15 +41,15 @@ GROUPS= mud EXTRA_DEFINES= -.if defined(WITH_CLOSURES) +.if ${PORT_OPTIONS:MCLOSURES} EXTRA_DEFINES+= -DCLOSURES .endif -.if defined(WITH_CPLUSPLUS_COMMENTS) +.if ${PORT_OPTIONS:MCPLUSPLUS_COMMENTS} EXTRA_DEFINES+= -DSLASHSLASH .endif -.if defined(WITH_NETWORKING) +.if ${PORT_OPTIONS:MNETWORKING} EXTRA_DEFINES+= -DNETWORK_EXTENSIONS .endif