aboutsummaryrefslogtreecommitdiff
path: root/net/dgd
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2012-11-19 03:21:07 +0000
committerGreg Lewis <glewis@FreeBSD.org>2012-11-19 03:21:07 +0000
commit5333481114c74aea9fac150fa9a0bc285a0479f1 (patch)
treed4e2cde5f49cbd194ee416c2cdefaf50c1823508 /net/dgd
parentb9aba35e1e15bbbff2db1a588b76010965f80dd4 (diff)
downloadports-5333481114c74aea9fac150fa9a0bc285a0479f1.tar.gz
ports-5333481114c74aea9fac150fa9a0bc285a0479f1.zip
Notes
Diffstat (limited to 'net/dgd')
-rw-r--r--net/dgd/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/net/dgd/Makefile b/net/dgd/Makefile
index 0ff03b9f51f1..a89589586eed 100644
--- a/net/dgd/Makefile
+++ b/net/dgd/Makefile
@@ -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