summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-07-14 02:32:14 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-07-14 02:32:14 +0800
commit48fd8b5156ba7d17da10123c0bf73aca91663ad4 (patch)
treeee9621b88c6082cedeacd8f94440a0d08f310199 /www
parentd4bd6766a4dd03c68c958eff68027e51ecf6a5e1 (diff)
downloadmarcuscom-ports-48fd8b5156ba7d17da10123c0bf73aca91663ad4.tar
marcuscom-ports-48fd8b5156ba7d17da10123c0bf73aca91663ad4.tar.gz
marcuscom-ports-48fd8b5156ba7d17da10123c0bf73aca91663ad4.tar.bz2
marcuscom-ports-48fd8b5156ba7d17da10123c0bf73aca91663ad4.tar.lz
marcuscom-ports-48fd8b5156ba7d17da10123c0bf73aca91663ad4.tar.xz
marcuscom-ports-48fd8b5156ba7d17da10123c0bf73aca91663ad4.tar.zst
marcuscom-ports-48fd8b5156ba7d17da10123c0bf73aca91663ad4.zip
Convert to OptionsNG
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16987 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
-rw-r--r--www/webkit-gtk3/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/www/webkit-gtk3/Makefile b/www/webkit-gtk3/Makefile
index af4b9c8f9..a479d8678 100644
--- a/www/webkit-gtk3/Makefile
+++ b/www/webkit-gtk3/Makefile
@@ -3,7 +3,7 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/www/webkit-gtk3/Makefile,v 1.26 2012/05/22 12:53:13 kwm Exp $
+# $MCom: ports/www/webkit-gtk3/Makefile,v 1.27 2012/05/22 17:09:57 kwm Exp $
#
PORTNAME= webkit
@@ -52,19 +52,20 @@ MAKEFILE= GNUmakefile
BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk3
#_BROWSER_PLUGINS_DIR= ${BROWSER_PLUGINS_DIR:S|^/|"|:S|/|", "|g}",
-OPTIONS= WEBGL "Enable webGL support (experimental)" off \
- DEBUG "Build with debug support" off
+OPTIONS_DEFINE= WEBGL DEBUG
+OPTIONS_DEFAULT=WEBGL
+WEBGL_DESC= Enable Web GL support
.include <bsd.port.pre.mk>
-.if defined(WITH_WEBGL)
+.if ${PORT_OPTIONS:MWEBGL}
USE_GL= gl
CONFIGURE_ARGS+=--enable-webgl
.else
CONFIGURE_ARGS+=--disable-webgl
.endif
-.if defined(WITH_DEBUG)
+.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+=--enable-debug
.else
CONFIGURE_ARGS+=--disable-debug