svn commit: r307550 - head/net/dgd
Greg Lewis
glewis at FreeBSD.org
Mon Nov 19 03:21:08 UTC 2012
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
More information about the svn-ports-head
mailing list