aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libstroke
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-06-12 17:17:03 +0800
committerbapt <bapt@FreeBSD.org>2012-06-12 17:17:03 +0800
commitb67ba60a7d0b5167d89ba666bdb676db02c386e2 (patch)
tree04c579b603f0b42fdce1b378ded7e40d5fd46081 /devel/libstroke
parent3bcf5fedc5e27b6566c20a0863f490c35386e192 (diff)
downloadfreebsd-ports-gnome-b67ba60a7d0b5167d89ba666bdb676db02c386e2.tar.gz
freebsd-ports-gnome-b67ba60a7d0b5167d89ba666bdb676db02c386e2.tar.zst
freebsd-ports-gnome-b67ba60a7d0b5167d89ba666bdb676db02c386e2.zip
Convert to new options framework
Diffstat (limited to 'devel/libstroke')
-rw-r--r--devel/libstroke/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/libstroke/Makefile b/devel/libstroke/Makefile
index 41e5b50aa0e9..5be06ae99f54 100644
--- a/devel/libstroke/Makefile
+++ b/devel/libstroke/Makefile
@@ -20,11 +20,12 @@ USE_AUTOTOOLS= libtool
WANT_GNOME= yes
USE_LDCONFIG= yes
-OPTIONS= GTK "Build with legacy Gtk+/GNOME stroke support" off
+OPTIONS_DEFINE= GTK1
+GTK1_DESC= Build with legacy Gtk+/GNOME stroke support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_GTK) || ${HAVE_GNOME:Mgtk12}
+.if ${PORT_OPTIONS:MGTK1} || !empty(HAVE_GNOME:Mgtk12)
USE_GNOME+= gtk12
PLIST_SUB+= GS=""
.else
@@ -36,4 +37,4 @@ post-patch:
's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>