aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2012-08-30 15:16:29 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2012-08-30 15:16:29 +0000
commitd03a3f09e5fb56fb649b6e4d1a289a71ad449279 (patch)
treea821948769836c09f2a3a78a416a14c36deb2ee2 /sysutils
parent2f4c3550c50b8b9afa1652eff05e983b4e0d3f51 (diff)
downloadports-d03a3f09e5fb56fb649b6e4d1a289a71ad449279.tar.gz
ports-d03a3f09e5fb56fb649b6e4d1a289a71ad449279.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lavaps/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/lavaps/Makefile b/sysutils/lavaps/Makefile
index 7a8c3966aded..f3754ff2d0b2 100644
--- a/sysutils/lavaps/Makefile
+++ b/sysutils/lavaps/Makefile
@@ -21,15 +21,16 @@ USE_XORG= x11 xext sm ice
MAN1= lavaps.1
-OPTIONS= GTK "Build with GTK frontend instead of the default TK" off
+OPTIONS_DEFINE= GTK
+GTK_DESC= Build with GTK frontend instead of the default TK
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_GTK)
+.if ${PORT_OPTIONS:MGTK}
PKGNAMESUFFIX= -gtk2
USE_GNOME+= gtk20 libgnomeui
USE_GETTEXT= yes
@@ -45,4 +46,4 @@ CONFIGURE_ARGS+= --with-tcltk --disable-nls \
PLIST_SUB+= NLS="@comment "
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>