1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/x11/xvattr/Makefile
Tobias Kortkamp 40884a97b0 x11/xvattr: Remove GTK1 option
x11-toolkits/gtk12 is gone since r488008.
2019-02-01 14:31:46 +00:00

38 lines
954 B
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
USES= gnome pkgconfig
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>