aboutsummaryrefslogtreecommitdiff
path: root/devel/libstroke
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 09:17:03 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 09:17:03 +0000
commit36aec2ee4d4789c8cc6ad940264e1a101d8a7977 (patch)
treefadc33ad2f29c6931b7a10a46ca3d20a561a3331 /devel/libstroke
parent59642d1219c0fc9ff42830b664320824c78e3a3f (diff)
Notes
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>