2003-03-29 13:40:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.3 2003/03/29 12:42:58 jmmv Exp $
|
2003-01-14 10:16:36 +01:00
|
|
|
|
|
|
|
DISTNAME= fcpackage.2_1
|
|
|
|
PKGNAME= Xrender-${XRENDER_VERSION}
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/Xrender
|
2003-01-14 10:16:36 +01:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= http://fontconfig.org/release/
|
|
|
|
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
|
|
HOMEPAGE= http://fontconfig.org/
|
|
|
|
COMMENT= client library for the X Rendering Extension protocol
|
|
|
|
|
|
|
|
# This value is RENDER_MAJOR.RENDOR_MINOR from ${WRKSRC}/render.h.
|
|
|
|
XRENDER_VERSION= 0.7
|
|
|
|
|
|
|
|
USE_BUILDLINK2= YES
|
|
|
|
USE_IMAKE= YES
|
|
|
|
EXTRACT_ELEMENTS= ${DISTNAME}/Xrender
|
|
|
|
|
2003-01-14 10:26:34 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
_RENDER_H= ${X11BASE}/include/X11/extensions/render.h
|
|
|
|
_X11_TMPL= ${X11BASE}/lib/X11/config/X11.tmpl
|
|
|
|
.if exists(${_RENDER_H}) && exists(${_X11_TMPL})
|
|
|
|
_IS_BUILTIN_XRENDER!= ${GREP} -c BuildRenderLibrary ${_X11_TMPL} || ${TRUE}
|
|
|
|
.else
|
|
|
|
_IS_BUILTIN_XRENDER= 0
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${X11PREFIX} == ${X11BASE}) && (${_IS_BUILTIN_XRENDER} != "0")
|
|
|
|
PKG_SKIP_REASON= "${PKGNAME} is part of your X11 distribution"
|
|
|
|
.endif
|
|
|
|
|
2003-01-14 10:16:36 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|