Date: Mon, 19 Nov 2012 03:21:07 +0000 (UTC) From: Greg Lewis <glewis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307550 - head/net/dgd Message-ID: <201211190321.qAJ3L7T0070969@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211190321.qAJ3L7T0070969>