summaryrefslogtreecommitdiff
path: root/graphics/Mesa
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-09-18 21:10:28 +0000
committerbjs <bjs@pkgsrc.org>2008-09-18 21:10:28 +0000
commit4a50c11a27509d5aa8ec90912379e10a1181154e (patch)
treeb5242a61e5c2dc0359ea300c9d0f0ace72b210f6 /graphics/Mesa
parenteb9052882b340a7c1f80b96cc8eb4ee7fc2cdc8d (diff)
downloadpkgsrc-4a50c11a27509d5aa8ec90912379e10a1181154e.tar.gz
Add Makefile.version and glx-config.mk so that x11/modular-xorg-server
can share this information in lieu of us duplicating it by hand.
Diffstat (limited to 'graphics/Mesa')
-rw-r--r--graphics/Mesa/Makefile.common18
-rw-r--r--graphics/Mesa/Makefile.version22
2 files changed, 27 insertions, 13 deletions
diff --git a/graphics/Mesa/Makefile.common b/graphics/Mesa/Makefile.common
index a23d12c9831..a62d5a48b18 100644
--- a/graphics/Mesa/Makefile.common
+++ b/graphics/Mesa/Makefile.common
@@ -1,15 +1,16 @@
-# $NetBSD: Makefile.common,v 1.69 2008/08/23 02:51:19 dsainty Exp $
+# $NetBSD: Makefile.common,v 1.70 2008/09/18 21:10:28 bjs Exp $
#
# This Makefile fragment is included either directly or indirectly (through
# Makefile.lib) by all packages that are built from the Mesa sources.
#
# used by graphics/Mesa/Makefile.lib
-DISTNAME?= MesaLib-${MESA_VERSION}
+.include "../../graphics/Mesa/Makefile.version"
+
+DISTNAME?= ${MESA_DISTNAME}
EXTRACT_SUFX= .tar.bz2
CATEGORIES= graphics
-#MASTER_SITES= ${MASTER_SITE_LOCAL:=Mesa-${MESA_VERSION}/}
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mesa3d/}
+MASTER_SITES= ${MESA_SITES}
# When changing this version, please run "make distinfo" in the following
# package directories:
@@ -17,15 +18,6 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mesa3d/}
# graphics/MesaLib
# graphics/glx-utils
#
-MESA_VERSION= 7.0.4
-MESA_PKGVERSION= ${MESA_VERSION}${MESA_PATCHLEVEL}
-#MESA_PATCHFILES= 001 002 003
-MESA_PATCHLEVEL= .1
-
-#PATCHFILES= ${MESA_PATCHFILES:@.p.@Mesa-${MESA_VERSION}-${.p.}@}
-#PATCH_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/bjs/patchfiles/
-#PATCH_DIST_STRIP= -p1
-
MAINTAINER= bjs@NetBSD.org
HOMEPAGE= http://www.mesa3d.org/
diff --git a/graphics/Mesa/Makefile.version b/graphics/Mesa/Makefile.version
new file mode 100644
index 00000000000..f41cb8355c0
--- /dev/null
+++ b/graphics/Mesa/Makefile.version
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile.version,v 1.1 2008/09/18 21:10:28 bjs Exp $
+#
+# When changing this version, please run "make distinfo" in the following
+# package directories:
+#
+# graphics/MesaLib
+# graphics/glx-utils
+#
+# used by graphics/Mesa/Makefile.common
+# used by x11/modular-xorg-server/options.mk
+
+MESA_DISTNAME= MesaLib-${MESA_VERSION}
+MESA_SITES= ${MASTER_SITE_SOURCEFORGE:=mesa3d/}
+
+MESA_VERSION= 7.0.4
+MESA_PKGVERSION= ${MESA_VERSION}${MESA_PATCHLEVEL}
+#MESA_PATCHFILES= 001 002 003
+MESA_PATCHLEVEL= .1
+
+#PATCHFILES= ${MESA_PATCHFILES:@.p.@Mesa-${MESA_VERSION}-${.p.}@}
+#PATCH_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/bjs/patchfiles/
+#PATCH_DIST_STRIP= -p1