summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreed <reed>2006-04-18 17:13:35 +0000
committerreed <reed>2006-04-18 17:13:35 +0000
commit622952ebdceba874f7ac49c2339c0c09a37f8f83 (patch)
tree0a32a62622f79de7774c735d8fc7f4f71ed9eff0
parentf6e6fa168365fa7afec16a8250f92235011f1be6 (diff)
downloadpkgsrc-622952ebdceba874f7ac49c2339c0c09a37f8f83.tar.gz
Import fixesproto from pkgsrc-wip.
This will replace the fixesext package. This provides the Fixes extension headers from modular X.org X11 project.
-rw-r--r--x11/fixesproto/DESCR2
-rw-r--r--x11/fixesproto/Makefile23
-rw-r--r--x11/fixesproto/PLIST5
-rw-r--r--x11/fixesproto/buildlink3.mk24
-rw-r--r--x11/fixesproto/builtin.mk56
-rw-r--r--x11/fixesproto/distinfo5
6 files changed, 115 insertions, 0 deletions
diff --git a/x11/fixesproto/DESCR b/x11/fixesproto/DESCR
new file mode 100644
index 00000000000..5945fb3ce97
--- /dev/null
+++ b/x11/fixesproto/DESCR
@@ -0,0 +1,2 @@
+This provides the Fixes extension headers from modular X.org X11
+project.
diff --git a/x11/fixesproto/Makefile b/x11/fixesproto/Makefile
new file mode 100644
index 00000000000..13892b74a69
--- /dev/null
+++ b/x11/fixesproto/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/18 17:13:35 reed Exp $
+#
+
+DISTNAME= fixesproto-3.0.2
+CATEGORIES= x11
+MASTER_SITES= http://xorg.freedesktop.org/releases/individual/proto/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= reed@reedmedia.net
+HOMEPAGE= http://xorg.freedesktop.org/
+COMMENT= Fixes extension headers from X.org
+
+CONFLICTS+= fixesext-[0-9]*
+#CONFLICTS+= xorg-libs-[0-9]* # not in same PREFIX
+
+GNU_CONFIGURE= yes
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/fixesproto.pc.in
+USE_LANGUAGES= # empty
+
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/fixesproto/PLIST b/x11/fixesproto/PLIST
new file mode 100644
index 00000000000..1e8e9c78f08
--- /dev/null
+++ b/x11/fixesproto/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/18 17:13:35 reed Exp $
+include/X11/extensions/xfixesproto.h
+include/X11/extensions/xfixeswire.h
+lib/pkgconfig/fixesproto.pc
+@comment @dirrm include/X11/extensions
diff --git a/x11/fixesproto/buildlink3.mk b/x11/fixesproto/buildlink3.mk
new file mode 100644
index 00000000000..45b32b5de76
--- /dev/null
+++ b/x11/fixesproto/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/04/18 17:13:35 reed Exp $
+
+BUILDLINK_DEPMETHOD.fixesproto?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FIXESPROTO_BUILDLINK3_MK:= ${FIXESPROTO_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= fixesproto
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfixesproto}
+BUILDLINK_PACKAGES+= fixesproto
+
+.if !empty(FIXESPROTO_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.fixesproto+= fixesproto>=3.0.0
+BUILDLINK_PKGSRCDIR.fixesproto?= ../../x11/fixesproto
+.endif # FIXESPROTO_BUILDLINK3_MK
+
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/x11/fixesproto/builtin.mk b/x11/fixesproto/builtin.mk
new file mode 100644
index 00000000000..996d6d3db67
--- /dev/null
+++ b/x11/fixesproto/builtin.mk
@@ -0,0 +1,56 @@
+# $NetBSD: builtin.mk,v 1.1.1.1 2006/04/18 17:13:35 reed Exp $
+
+BUILTIN_PKG:= fixesproto
+
+BUILTIN_FIND_FILES_VAR:= H_XFIXESPROTO H_XFIXESWIRE
+BUILTIN_FIND_FILES.H_XFIXESPROTO= \
+ ${X11BASE}/include/X11/extensions/xfixesproto.h
+BUILTIN_FIND_FILES.H_XFIXESWIRE= \
+ ${X11BASE}/include/X11/extensions/xfixeswire.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.fixesproto)
+IS_BUILTIN.fixesproto= 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 empty(H_XFIXESPROTO:M__nonexistent__) && \
+ empty(H_XFIXESWIRE:M__nonexistent__)
+IS_BUILTIN.fixesproto= yes
+. endif
+.endif
+MAKEVARS+= IS_BUILTIN.fixesproto
+
+###
+### 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.fixesproto)
+. if ${PREFER.fixesproto} == "pkgsrc"
+USE_BUILTIN.fixesproto= no
+. else
+USE_BUILTIN.fixesproto= ${IS_BUILTIN.fixesproto}
+. if defined(BUILTIN_PKG.fixesproto) && \
+ !empty(IS_BUILTIN.fixesproto:M[yY][eE][sS])
+USE_BUILTIN.fixesproto= yes
+. for _dep_ in ${BUILDLINK_API_DEPENDS.fixesproto}
+. if !empty(USE_BUILTIN.fixesproto:M[yY][eE][sS])
+USE_BUILTIN.fixesproto!= \
+ if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.fixesproto:Q}; then \
+ ${ECHO} yes; \
+ else \
+ ${ECHO} no; \
+ fi
+. endif
+. endfor
+. endif
+. endif # PREFER.fixesproto
+.endif
+MAKEVARS+= USE_BUILTIN.fixesproto
diff --git a/x11/fixesproto/distinfo b/x11/fixesproto/distinfo
new file mode 100644
index 00000000000..0ae9fdcda0f
--- /dev/null
+++ b/x11/fixesproto/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/18 17:13:35 reed Exp $
+
+SHA1 (fixesproto-3.0.2.tar.bz2) = e59ccdb7251ec28ee7aa901130b7f395951a0214
+RMD160 (fixesproto-3.0.2.tar.bz2) = b670919e9f5391528ea1ebef14fe5a94161b48e0
+Size (fixesproto-3.0.2.tar.bz2) = 38835 bytes