summaryrefslogtreecommitdiff
path: root/graphics/k3d
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 21:42:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 21:42:32 +0000
commit9010280b855a8f663dc0899ba61ab950e6b515da (patch)
treeade0e2be591e771231576c7a69bfc8a5cf0bc252 /graphics/k3d
parent- Update to 20120611 snapshot (diff)
Conver to new options framework
Notes
Notes: svn path=/head/; revision=299156
Diffstat (limited to 'graphics/k3d')
-rw-r--r--graphics/k3d/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/k3d/Makefile b/graphics/k3d/Makefile
index 02e121885a9d..831912bc564e 100644
--- a/graphics/k3d/Makefile
+++ b/graphics/k3d/Makefile
@@ -43,11 +43,11 @@ WANT_GNOME= yes
USE_LDCONFIG= yes
MAN1= k3d.1
-OPTIONS= GNOME "Build for Gnome" off
+OPTIONS_DEFINE= GNOME
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_GNOME)
+.if ${PORT_OPTIONS:MGNOME}
USE_GNOME+= libgnome
CONFIGURE_ARGS+=--with-gnome
PKGNAMESUFFIX= -gnome
@@ -62,4 +62,4 @@ post-patch:
-e 's,/usr/local/lib,${LOCALBASE}/lib,' \
${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>