summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-01 16:59:20 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-01 16:59:20 +0000
commitebdc8740cb89f824afce83e20c29f487f5fffdb1 (patch)
tree1e21bd11cd298963c7da7054dbb6e9a6e6d1eb1d /converters
parentAdd description for SASL (diff)
Convert to new options framework
Notes
Notes: svn path=/head/; revision=297967
Diffstat (limited to 'converters')
-rw-r--r--converters/gbase/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/converters/gbase/Makefile b/converters/gbase/Makefile
index 19d2ad8969ea..ce0080a213e1 100644
--- a/converters/gbase/Makefile
+++ b/converters/gbase/Makefile
@@ -14,16 +14,16 @@ MASTER_SITES= http://www.fluxcode.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= A program to convert between the 4 common bases used in programming
-OPTIONS= GTK2 "GTK+-2 support" off
+OPTIONS_DEFINE= GTK2
USE_GNOME= pkgconfig
PLIST_FILES= bin/${PORTNAME}
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_GTK2)
-USE_GNOME+= gtk12
+.if ${PORT_OPTIONS:MGTK2}
+USE_GNOME+= gtk20
GTK_CFLAGS= `pkg-config --cflags gtk+-2.0`
GTK_LIBS= `pkg-config --libs gtk+-2.0`
.else
@@ -43,4 +43,4 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>