summaryrefslogtreecommitdiff
path: root/x11/dri2proto
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-09-05 03:32:53 +0000
committerbjs <bjs@pkgsrc.org>2008-09-05 03:32:53 +0000
commit0db56cd4036919165c16559d576b29ec2d6b9be0 (patch)
tree8197b6eea8a364b5c8ee3f01ee6f93ed9ed6b37e /x11/dri2proto
parent193571c5254359e939d90c17f8b5a9bd2a10a3a9 (diff)
downloadpkgsrc-0db56cd4036919165c16559d576b29ec2d6b9be0.tar.gz
Import dri2proto-1.1. These headers will be necessary for building
Mesa-7.1 and xorg-server-1.5.0.
Diffstat (limited to 'x11/dri2proto')
-rw-r--r--x11/dri2proto/DESCR6
-rw-r--r--x11/dri2proto/Makefile21
-rw-r--r--x11/dri2proto/PLIST5
-rw-r--r--x11/dri2proto/buildlink3.mk20
-rw-r--r--x11/dri2proto/distinfo5
5 files changed, 57 insertions, 0 deletions
diff --git a/x11/dri2proto/DESCR b/x11/dri2proto/DESCR
new file mode 100644
index 00000000000..71fdec46534
--- /dev/null
+++ b/x11/dri2proto/DESCR
@@ -0,0 +1,6 @@
+This provides the DRI2 extension headers from modular X.org X11
+project.
+
+The headers contain the types and functions that define the interface
+between a DRI2 (direct rendering infrastructure) driver and driver
+loader.
diff --git a/x11/dri2proto/Makefile b/x11/dri2proto/Makefile
new file mode 100644
index 00000000000..cda64e734cd
--- /dev/null
+++ b/x11/dri2proto/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/05 03:32:53 bjs Exp $
+#
+
+DISTNAME= dri2proto-1.1
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_XORG:=proto/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= joerg@NetBSD.org
+HOMEPAGE= http://xorg.freedesktop.org/
+COMMENT= Modular X.org DRI2 headers
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= # none
+
+PKGCONFIG_OVERRIDE+= dri2proto.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/dri2proto/PLIST b/x11/dri2proto/PLIST
new file mode 100644
index 00000000000..466c72d3eea
--- /dev/null
+++ b/x11/dri2proto/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/05 03:32:53 bjs Exp $
+include/X11/extensions/dri2proto.h
+lib/pkgconfig/dri2proto.pc
+@comment @dirrm include/X11/extensions
+@comment @dirrm include/X11
diff --git a/x11/dri2proto/buildlink3.mk b/x11/dri2proto/buildlink3.mk
new file mode 100644
index 00000000000..d307e84dd1b
--- /dev/null
+++ b/x11/dri2proto/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/09/05 03:32:53 bjs Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+DRI2PROTO_BUILDLINK3_MK:= ${DRI2PROTO_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= dri2proto
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndri2proto}
+BUILDLINK_PACKAGES+= dri2proto
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}dri2proto
+
+.if ${DRI2PROTO_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.dri2proto+= dri2proto>=1.1
+BUILDLINK_PKGSRCDIR.dri2proto?= ../../x11/dri2proto
+BUILDLINK_DEPMETHOD.dri2proto?= build
+.endif # DRI2PROTO_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/x11/dri2proto/distinfo b/x11/dri2proto/distinfo
new file mode 100644
index 00000000000..11ed46d66a8
--- /dev/null
+++ b/x11/dri2proto/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/05 03:32:53 bjs Exp $
+
+SHA1 (dri2proto-1.1.tar.bz2) = 6429338a703561c02c0aa7516d1d981e7a2bf005
+RMD160 (dri2proto-1.1.tar.bz2) = ce31ed2c99ecc4ff7264bd4f67b1b8712820e6f0
+Size (dri2proto-1.1.tar.bz2) = 40610 bytes