diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-09 08:04:45 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-09 08:04:45 +0000 |
commit | ae4a9304215a1250f2894f83177ad96280492ab5 (patch) | |
tree | e115df0f4a9a5790e9bac7bf4a0c78e6adde6ca4 /x11/xvattr/Makefile | |
parent | e7597c9f974a28eeeaa24f633b365192655ca249 (diff) |
- Do not build when XFREE86_VERSION == 3
PR: 36900
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=57489
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> |