aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/k3d
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-06-13 05:42:32 +0800
committerbapt <bapt@FreeBSD.org>2012-06-13 05:42:32 +0800
commitf5eba1acd02cb57a7650fe6c33b912240f6ab8ab (patch)
tree785d921da1883d2c1df77c5add82a844e2ae090b /graphics/k3d
parenteb2a7f0a6ba691b8505dc2684f14abff26a76009 (diff)
downloadfreebsd-ports-gnome-f5eba1acd02cb57a7650fe6c33b912240f6ab8ab.tar.gz
freebsd-ports-gnome-f5eba1acd02cb57a7650fe6c33b912240f6ab8ab.tar.zst
freebsd-ports-gnome-f5eba1acd02cb57a7650fe6c33b912240f6ab8ab.zip
Conver to new options framework
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>