diff options
author | wiz <wiz@pkgsrc.org> | 2005-10-15 16:36:57 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-10-15 16:36:57 +0000 |
commit | 29b86f6f2f4cd80860ac07ddb8f4f535afee5bf1 (patch) | |
tree | 951108c9681f0b04fecfcb2d42ebd46b4f17bc6f /x11 | |
parent | 5ca632de6b5763f728bfa4d60ba97d3634f32a9d (diff) | |
download | pkgsrc-29b86f6f2f4cd80860ac07ddb8f4f535afee5bf1.tar.gz |
Initial import of renderext-0.9:
This package contains header files and documentation for the X
render extension (renderext). Library and server implementations
are separate.
The previous version of this package was called "render".
Diffstat (limited to 'x11')
-rw-r--r-- | x11/renderext/DESCR | 3 | ||||
-rw-r--r-- | x11/renderext/Makefile | 20 | ||||
-rw-r--r-- | x11/renderext/PLIST | 8 | ||||
-rw-r--r-- | x11/renderext/buildlink3.mk | 19 | ||||
-rw-r--r-- | x11/renderext/builtin.mk | 87 | ||||
-rw-r--r-- | x11/renderext/distinfo | 5 |
6 files changed, 142 insertions, 0 deletions
diff --git a/x11/renderext/DESCR b/x11/renderext/DESCR new file mode 100644 index 00000000000..401dd9bdec7 --- /dev/null +++ b/x11/renderext/DESCR @@ -0,0 +1,3 @@ +This package contains header files and documentation for the X +render extension (renderext). Library and server implementations +are separate. diff --git a/x11/renderext/Makefile b/x11/renderext/Makefile new file mode 100644 index 00000000000..50fad54b0fb --- /dev/null +++ b/x11/renderext/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/10/15 16:36:57 wiz Exp $ + +DISTNAME= renderext-0.9 +CATEGORIES= x11 +MASTER_SITES= http://xlibs.freedesktop.org/release/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://pdx.freedesktop.org/software/fontconfig/releases/ +COMMENT= Headers for X11 render extension + +CONFLICTS= Xrender<0.8 render-[0-9]* + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_LANGUAGES= # empty +USE_PKGLOCALEDIR= yes +PKGCONFIG_OVERRIDE+= render.pc.in +GNU_CONFIGURE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/x11/renderext/PLIST b/x11/renderext/PLIST new file mode 100644 index 00000000000..356d5ec10aa --- /dev/null +++ b/x11/renderext/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/15 16:36:57 wiz Exp $ +include/X11/extensions/render.h +include/X11/extensions/renderproto.h +lib/pkgconfig/render.pc +share/doc/render/library +share/doc/render/protocol +@dirrm share/doc/render +@unexec ${RMDIR} %D/include/X11/extensions 2>/dev/null || ${TRUE} diff --git a/x11/renderext/buildlink3.mk b/x11/renderext/buildlink3.mk new file mode 100644 index 00000000000..c795e24292d --- /dev/null +++ b/x11/renderext/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/15 16:36:57 wiz Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +RENDEREXT_BUILDLINK3_MK:= ${RENDEREXT_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= renderext +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrenderext} +BUILDLINK_PACKAGES+= renderext + +.if !empty(RENDEREXT_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.renderext+= renderext>=0.9 +BUILDLINK_PKGSRCDIR.renderext?= ../../x11/renderext +BUILDLINK_DEPMETHOD.renderext?= build +.endif # RENDEREXT_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/x11/renderext/builtin.mk b/x11/renderext/builtin.mk new file mode 100644 index 00000000000..a1fb34091da --- /dev/null +++ b/x11/renderext/builtin.mk @@ -0,0 +1,87 @@ +# $NetBSD: builtin.mk,v 1.1.1.1 2005/10/15 16:36:57 wiz Exp $ + +BUILTIN_PKG:= renderext + +BUILTIN_FIND_FILES_VAR:= H_RENDER +BUILTIN_FIND_FILES.H_RENDER= ${X11BASE}/include/X11/extensions/render.h + +.include "../../mk/buildlink3/bsd.builtin.mk" + +### +### Determine if there is a built-in implementation of the package and +### set IS_BUILTIN.<pkg> appropriately ("yes" or "no"). +### +.if !defined(IS_BUILTIN.renderext) +IS_BUILTIN.renderext= no +# +# Here, we skip checking whether the files are under ${LOCALBASE} since +# we'll consider this X11 package to be built-in even if it's a part +# of one of the pkgsrc-installed X11 distributions. +# +. if exists(${H_RENDER}) +IS_BUILTIN.renderext= yes +. endif +.endif +MAKEVARS+= IS_BUILTIN.renderext + +### +### If there is a built-in implementation, then set BUILTIN_PKG.<pkg> to +### a package name to represent the built-in package. +### +.if !defined(BUILTIN_PKG.renderext) && \ + !empty(IS_BUILTIN.renderext:M[yY][eE][sS]) && \ + exists(${H_RENDER}) +BUILTIN_VERSION.renderext!= \ + ${AWK} '/\#define[ ]*RENDER_MAJOR/ { M = $$3 } \ + /\#define[ ]*RENDER_MINOR/ { m = "."$$3 } \ + END { printf "%s%s\n", M, m }' \ + ${H_RENDER} +BUILTIN_PKG.renderext= renderext-${BUILTIN_VERSION.renderext} +.endif +MAKEVARS+= BUILTIN_PKG.renderext + +### +### Determine whether we should use the built-in implementation if it +### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no"). +### +.if !defined(USE_BUILTIN.renderext) +. if ${PREFER.renderext} == "pkgsrc" +USE_BUILTIN.renderext= no +. else +USE_BUILTIN.renderext= ${IS_BUILTIN.renderext} +. if defined(BUILTIN_PKG.renderext) && \ + !empty(IS_BUILTIN.renderext:M[yY][eE][sS]) +USE_BUILTIN.renderext= yes +. for _dep_ in ${BUILDLINK_DEPENDS.renderext} +. if !empty(USE_BUILTIN.renderext:M[yY][eE][sS]) +USE_BUILTIN.renderext!= \ + if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.renderext:Q}; then \ + ${ECHO} yes; \ + else \ + ${ECHO} no; \ + fi +. endif +. endfor +. endif +. endif # PREFER.renderext +.endif +MAKEVARS+= USE_BUILTIN.renderext + +### +### The section below only applies if we are not including this file +### solely to determine whether a built-in implementation exists. +### +CHECK_BUILTIN.renderext?= no +.if !empty(CHECK_BUILTIN.renderext:M[nN][oO]) + +. if !empty(USE_BUILTIN.renderext:M[nN][oO]) +BUILDLINK_DEPENDS.renderext+= renderext>=0.9 +. endif + +. if !empty(USE_BUILTIN.renderext:M[yY][eE][sS]) +BUILDLINK_PREFIX.renderext= ${X11BASE} +. include "../../mk/x11.buildlink3.mk" +. include "../../mk/x11.builtin.mk" +. endif + +.endif # CHECK_BUILTIN.renderext diff --git a/x11/renderext/distinfo b/x11/renderext/distinfo new file mode 100644 index 00000000000..a44d6e599d6 --- /dev/null +++ b/x11/renderext/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/10/15 16:36:57 wiz Exp $ + +SHA1 (renderext-0.9.tar.gz) = b54a40d5af86602750994714b2823517525237a8 +RMD160 (renderext-0.9.tar.gz) = 7830a8edd701cbc7fb7b3a08cbcb6db0ff1be767 +Size (renderext-0.9.tar.gz) = 63716 bytes |