diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-02 00:59:20 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-02 00:59:20 +0800 |
commit | d11c41d1ad3012decf213f15c52bcac9c1b58ccb (patch) | |
tree | e28089e70f941c688810dcf42b54dd8b8bf6ed55 /converters | |
parent | a3fd2744caf5940808c561315a2f854d6a243196 (diff) | |
download | freebsd-ports-gnome-d11c41d1ad3012decf213f15c52bcac9c1b58ccb.tar.gz freebsd-ports-gnome-d11c41d1ad3012decf213f15c52bcac9c1b58ccb.tar.zst freebsd-ports-gnome-d11c41d1ad3012decf213f15c52bcac9c1b58ccb.zip |
Convert to new options framework
Diffstat (limited to 'converters')
-rw-r--r-- | converters/gbase/Makefile | 10 |
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> |