1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

x11/xvattr: Remove GTK1 option

x11-toolkits/gtk12 is gone since r488008.
This commit is contained in:
Tobias Kortkamp 2019-02-01 14:31:46 +00:00
parent 245d7b06ea
commit 40884a97b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491814

View File

@ -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@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