From 48fd8b5156ba7d17da10123c0bf73aca91663ad4 Mon Sep 17 00:00:00 2001 From: kwm Date: Fri, 13 Jul 2012 18:32:14 +0000 Subject: Convert to OptionsNG git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16987 df743ca5-7f9a-e211-a948-0013205c9059 --- www/webkit-gtk3/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'www') 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 # # $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 -.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 -- cgit v1.2.3