From af005366f236922839241defe357eef1bd440559 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 30 Sep 2015 23:08:44 +0000 Subject: - Switch to options helpers --- x11/xvattr/Makefile | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'x11') 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 - -.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 -- cgit v1.2.3