aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xvattr
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-09 16:04:45 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-09 16:04:45 +0800
commitbb2aa525aef5d9871c6c1b2c0aba68e12bcb3cea (patch)
tree3a49362fe72d909232d742717be4cf3ad2cd6caf /x11/xvattr
parentecb1ca2db33c554bda51037edc013e0ce57d97cd (diff)
downloadfreebsd-ports-gnome-bb2aa525aef5d9871c6c1b2c0aba68e12bcb3cea.tar.gz
freebsd-ports-gnome-bb2aa525aef5d9871c6c1b2c0aba68e12bcb3cea.tar.zst
freebsd-ports-gnome-bb2aa525aef5d9871c6c1b2c0aba68e12bcb3cea.zip
- Do not build when XFREE86_VERSION == 3
PR: 36900 Submitted by: Ports Fury
Diffstat (limited to 'x11/xvattr')
-rw-r--r--x11/xvattr/Makefile20
-rw-r--r--x11/xvattr/pkg-plist3
2 files changed, 19 insertions, 4 deletions
diff --git a/x11/xvattr/Makefile b/x11/xvattr/Makefile
index af9c35897f64..739b8beadfbe 100644
--- a/x11/xvattr/Makefile
+++ b/x11/xvattr/Makefile
@@ -8,20 +8,32 @@
PORTNAME= xvattr
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
-USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_X_PREFIX= yes
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" INCDIRS="-I${X11BASE}/include" \
+ LIBDIRS="-L${X11BASE}/lib"
ALL_TARGET= ${PORTNAME}
-post-patch:
- @${PERL} -pi -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 3
+IGNORE= "Require Xv Extension"
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11/xvattr/pkg-plist b/x11/xvattr/pkg-plist
index 0ac88710ce95..e62224364faf 100644
--- a/x11/xvattr/pkg-plist
+++ b/x11/xvattr/pkg-plist
@@ -1 +1,4 @@
bin/xvattr
+%%PORTDOCS%%share/doc/xvattr/ChangeLog
+%%PORTDOCS%%share/doc/xvattr/README
+%%PORTDOCS%%@dirrm share/doc/xvattr