- Resurrect a useful port.

- Provide another mirror, as the original one seems to be down temporarly.
This commit is contained in:
Stanislav Sedov 2011-09-07 20:37:00 +00:00
parent dfda2a32ec
commit c0f6e43e8e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281399
3 changed files with 59 additions and 0 deletions

53
x11/xvattr/Makefile Normal file
View file

@ -0,0 +1,53 @@
# ex:ts=8
# Ports collection makefile for: xvattr
# Date created: Jan 15, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xvattr
PORTVERSION= 1.3
PORTREVISION= 7
CATEGORIES= x11
MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/ \
http://www.dtek.chalmers.se/groups/dvd/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= Getting and setting Xv attributes
OPTIONS= GTK1 "GTK1 support (Default is GTK2)" off
USE_XORG= x11 xv
WANT_GNOME= yes
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME} bin/g${PORTNAME}
CFLAGS+= -DVERSION=\"${PORTVERSION}\"
.include <bsd.port.pre.mk>
.if defined(WITH_GTK1)
USE_GNOME+= gtk12
GTK_PC= gtk+
.else
USE_GNOME+= gtk20
GTK_PC= gtk+-2.0
.endif
post-extract:
@${RM} -f ${WRKSRC}/getopt.h
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} \
`pkg-config --cflags --libs xv`
cd ${WRKSRC} && ${CC} ${CFLAGS} g${PORTNAME}.c -o g${PORTNAME} \
`pkg-config --cflags --libs ${GTK_PC} xv`
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/g${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
.include <bsd.port.post.mk>

2
x11/xvattr/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (xvattr-1.3.tar.gz) = 1cedc0b4795e6f4234b1d52172f74d7163ecb8142fbb35dc86c905df5478d8fa
SIZE (xvattr-1.3.tar.gz) = 82263

4
x11/xvattr/pkg-descr Normal file
View file

@ -0,0 +1,4 @@
xvattr lets you list the available attributes associated with the Xv
extension to XFree86. It also allows you to change the values of the
attributes. This can be used to change brightness and so on for programs
that use Xv overlays.