Date: Wed, 30 Sep 2015 23:08:45 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398238 - head/x11/xvattr Message-ID: <201509302308.t8UN8joE043924@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Sep 30 23:08:44 2015 New Revision: 398238 URL: https://svnweb.freebsd.org/changeset/ports/398238 Log: - Switch to options helpers Modified: head/x11/xvattr/Makefile Modified: head/x11/xvattr/Makefile ============================================================================== --- head/x11/xvattr/Makefile Wed Sep 30 22:13:53 2015 (r398237) +++ head/x11/xvattr/Makefile Wed Sep 30 23:08:44 2015 (r398238) @@ -11,9 +11,6 @@ MASTER_SITES= ftp://ftp.SpringDaemons.co 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${PORT 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509302308.t8UN8joE043924>