svn commit: r491814 - head/x11/xvattr
Tobias Kortkamp
tobik at FreeBSD.org
Fri Feb 1 14:31:47 UTC 2019
Author: tobik
Date: Fri Feb 1 14:31:46 2019
New Revision: 491814
URL: https://svnweb.freebsd.org/changeset/ports/491814
Log:
x11/xvattr: Remove GTK1 option
x11-toolkits/gtk12 is gone since r488008.
Modified:
head/x11/xvattr/Makefile
Modified: head/x11/xvattr/Makefile
==============================================================================
--- head/x11/xvattr/Makefile Fri Feb 1 14:24:25 2019 (r491813)
+++ head/x11/xvattr/Makefile Fri Feb 1 14:31:46 2019 (r491814)
@@ -3,7 +3,7 @@
PORTNAME= xvattr
PORTVERSION= 1.3
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= x11
MASTER_SITES= http://xvattr.sourcearchive.com/downloads/1.3/
DISTFILES= xvattr_1.3.orig.tar.gz
@@ -11,21 +11,15 @@ DISTFILES= xvattr_1.3.orig.tar.gz
MAINTAINER= cy at FreeBSD.org
COMMENT= Getting and setting Xv attributes
+USES= gnome pkgconfig
+USE_GNOME= gtk20
USE_XORG= x11 xv
-USES= pkgconfig
PLIST_FILES= bin/${PORTNAME} bin/g${PORTNAME} \
man/man1/${PORTNAME}.1.gz
CFLAGS+= -DVERSION=\"${PORTVERSION}\"
-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} ${WRKSRC}/getopt.h
@@ -33,7 +27,7 @@ do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} \
`pkg-config --cflags --libs xv x11`
cd ${WRKSRC} && ${CC} ${CFLAGS} g${PORTNAME}.c -o g${PORTNAME} \
- `pkg-config --cflags --libs ${GTK_PC} xv x11`
+ `pkg-config --cflags --libs gtk+-2.0 xv x11`
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
More information about the svn-ports-all
mailing list