diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-04-09 16:04:45 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-04-09 16:04:45 +0800 |
commit | bb2aa525aef5d9871c6c1b2c0aba68e12bcb3cea (patch) | |
tree | 3a49362fe72d909232d742717be4cf3ad2cd6caf /x11/xvattr/Makefile | |
parent | ecb1ca2db33c554bda51037edc013e0ce57d97cd (diff) | |
download | freebsd-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/Makefile')
-rw-r--r-- | x11/xvattr/Makefile | 20 |
1 files changed, 16 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> |