summaryrefslogtreecommitdiff
path: root/graphics/Mesa
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2004-01-22 12:58:07 +0000
committeradam <adam@pkgsrc.org>2004-01-22 12:58:07 +0000
commitba0b56c0ff95159c22f0d23ad972e8d0fe81e5c3 (patch)
treef56877f2f408dd9bade2dbf092503b95a5216a0b /graphics/Mesa
parent0eeff5f13347e391d59ddc465e243231f737cda7 (diff)
downloadpkgsrc-ba0b56c0ff95159c22f0d23ad972e8d0fe81e5c3.tar.gz
Mesa-6.0 packages now use LIBTOOL and finally build
Diffstat (limited to 'graphics/Mesa')
-rw-r--r--graphics/Mesa/Makefile17
-rw-r--r--graphics/Mesa/Makefile.common31
2 files changed, 23 insertions, 25 deletions
diff --git a/graphics/Mesa/Makefile b/graphics/Mesa/Makefile
index 276678634ec..1c6ada1c8a5 100644
--- a/graphics/Mesa/Makefile
+++ b/graphics/Mesa/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2004/01/20 02:48:33 jschauma Exp $
+# $NetBSD: Makefile,v 1.56 2004/01/22 12:58:07 adam Exp $
#
PKGNAME= Mesa-${MESA_VERSION}
@@ -10,14 +10,13 @@ COMMENT= Graphics library meta package, similar to SGI's OpenGL
CONFLICTS= Mesa-glx-[0-9]*
-USE_BUILDLINK2= yes
-
-USE_X11= yes
-NO_CHECKSUM= yes
-NO_CONFIGURE= yes
-NO_BUILD= yes
-NO_PATCH= yes
-EXTRACT_ONLY= # empty
+USE_BUILDLINK2= yes
+USE_X11= yes
+NO_CHECKSUM= yes
+NO_CONFIGURE= yes
+NO_BUILD= yes
+NO_PATCH= yes
+EXTRACT_ONLY= # empty
do-patch: # empty
do-buildlink: # empty
diff --git a/graphics/Mesa/Makefile.common b/graphics/Mesa/Makefile.common
index f4fe30f61a3..a734b858a44 100644
--- a/graphics/Mesa/Makefile.common
+++ b/graphics/Mesa/Makefile.common
@@ -1,30 +1,29 @@
-# $NetBSD: Makefile.common,v 1.21 2004/01/20 02:48:33 jschauma Exp $
+# $NetBSD: Makefile.common,v 1.22 2004/01/22 12:58:07 adam Exp $
+#
-DISTNAME?= MesaLib-${MESA_VERSION}
-CATEGORIES?= graphics
-MASTER_SITES?= ${MASTER_SITE_SOURCEFORGE:=mesa3d/}
-EXTRACT_SUFX?= .tar.bz2
+DISTNAME= MesaLib-${MESA_VERSION}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES+= ${DISTNAME:S/MesaLib/MesaDemos/}${EXTRACT_SUFX}
+WRKSRC= ${WRKDIR}/${DISTNAME:S/Lib//}
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mesa3d/}
+EXTRACT_SUFX= .tar.bz2
-MAINTAINER?= tech-pkg@NetBSD.org
-HOMEPAGE?= http://www.mesa3d.org/
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.mesa3d.org/
ALL_TARGET= pkgsrc
USE_LIBTOOL= yes
-LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+USE_X11= yes
-NO_CONFIGURE?= yes
+NO_CONFIGURE= yes
DIST_SUBDIR= Mesa-${MESA_VERSION}
PATCHDIR?= ${.CURDIR}/../../graphics/MesaLib/patches
DISTINFO_FILE?= ${.CURDIR}/../../graphics/MesaLib/distinfo
pre-install:
- for lib in ${INSTLIBS}; do \
- ${INSTALL_DATA} ${WRKSRC}/lib/$${lib} ${PREFIX}/lib/; \
- cd ${PREFIX}/lib && ${LN} -s $${lib} $${lib%%.[0-9]}; \
- cd ${PREFIX}/lib && ${LN} -s $${lib%%.[0-9]} \
- $${lib%%.[0-9].[0-9]}; \
- ${INSTALL_DATA} ${WRKSRC}/lib/$${lib%%.*}_pic.a \
- ${PREFIX}/lib/; \
+ for lib in ${INSTLIBS}; do \
+ ${LIBTOOL} --mode=install ${INSTALL_DATA} $${lib} ${PREFIX}/lib ; \
done;
.include "../../graphics/Mesa/version.mk"