svn commit: r398238 - head/x11/xvattr
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Sep 30 23:08:45 UTC 2015
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 at 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
More information about the svn-ports-all
mailing list