1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/x11/xvattr/Makefile
2020-04-04 20:51:40 +00:00

42 lines
1.0 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= xvattr
PORTVERSION= 1.3
PORTREVISION= 10
CATEGORIES= x11
MASTER_SITES= http://xvattr.sourcearchive.com/downloads/1.3/
DISTFILES= xvattr_1.3.orig.tar.gz
MAINTAINER= cy@FreeBSD.org
COMMENT= Getting and setting Xv attributes
BROKEN= unfetchable
DEPRECATED= Broken for more than 6 months
EXPIRATION_DATE= 2020-05-05
USES= gnome pkgconfig xorg
USE_GNOME= gtk20
USE_XORG= x11 xv
PLIST_FILES= bin/${PORTNAME} bin/g${PORTNAME} \
man/man1/${PORTNAME}.1.gz
CFLAGS+= -DVERSION=\"${PORTVERSION}\"
post-extract:
@${RM} ${WRKSRC}/getopt.h
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+-2.0 xv x11`
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/g${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>