diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-01 07:08:44 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-01 07:08:44 +0800 |
commit | e3240668c222dae77dda6dac36df509db3ee8e40 (patch) | |
tree | 0e4460faea1c7a0ee0512333becadde29ff349e2 /x11 | |
parent | 5a8f6229f452f2de96957e3c7d4cd5ae199cfd35 (diff) | |
download | freebsd-ports-gnome-e3240668c222dae77dda6dac36df509db3ee8e40.tar.gz freebsd-ports-gnome-e3240668c222dae77dda6dac36df509db3ee8e40.tar.zst freebsd-ports-gnome-e3240668c222dae77dda6dac36df509db3ee8e40.zip |
- Switch to options helpers
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xvattr/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/x11/xvattr/Makefile b/x11/xvattr/Makefile index 25afb31e45f1..f5942492c4e2 100644 --- a/x11/xvattr/Makefile +++ b/x11/xvattr/Makefile @@ -11,9 +11,6 @@ MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/ \ MAINTAINER= ports@FreeBSD.org COMMENT= Getting and setting Xv attributes -OPTIONS_DEFINE= GTK1 -GTK1_DESC= GTK1 support (Default is GTK2) - USE_XORG= x11 xv WANT_GNOME= yes USES= pkgconfig @@ -23,15 +20,12 @@ PLIST_FILES= bin/${PORTNAME} bin/g${PORTNAME} \ CFLAGS+= -DVERSION=\"${PORTVERSION}\" -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MGTK1} -USE_GNOME+= gtk12 -GTK_PC= gtk+ -.else -USE_GNOME+= gtk20 -GTK_PC= gtk+-2.0 -.endif +OPTIONS_DEFINE= GTK1 +GTK1_DESC= GTK1 support (Default is GTK2) +GTK1_USE= GNOME=gtk12 +GTK1_VARS= GTK_PC=gtk+ +GTK1_USE_OFF= GNOME=gtk20 +GTK1_VARS_OFF= GTK_PC=gtk+-2.0 post-extract: @${RM} -f ${WRKSRC}/getopt.h |