From dabcaf54fb2869b90f4e7c0142618988f18a6080 Mon Sep 17 00:00:00 2001 From: mycroft Date: Thu, 5 Mar 1998 20:56:25 +0000 Subject: Update for Mesa 2.6. --- graphics/Mesa/Makefile | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) (limited to 'graphics/Mesa/Makefile') diff --git a/graphics/Mesa/Makefile b/graphics/Mesa/Makefile index c739fa72128..27cd58711da 100644 --- a/graphics/Mesa/Makefile +++ b/graphics/Mesa/Makefile @@ -3,38 +3,45 @@ # Date created: Tue Feb 7 12:02:49 1995 # Whom: hsu # -# $NetBSD: Makefile,v 1.9 1998/02/25 02:35:35 tron Exp $ +# $NetBSD: Makefile,v 1.10 1998/03/05 20:56:25 mycroft Exp $ # FreeBSD Id: Makefile,v 1.19 1997/09/30 19:21:40 max Exp # -DISTNAME= MesaLib-2.4 -PKGNAME= Mesa-2.4 +DISTNAME= MesaLib-2.6 +PKGNAME= Mesa-2.6 CATEGORIES= graphics MASTER_SITES= ftp://iris.ssec.wisc.edu/pub/Mesa/ \ ftp://iris.ssec.wisc.edu/pub/Mesa/old-versions/ -DISTFILES= MesaLib-${SHLIB_VERSION}${EXTRACT_SUFX} \ - MesaDemos-${SHLIB_VERSION}${EXTRACT_SUFX} +DISTFILES= MesaLib-${MESA_VERSION}${EXTRACT_SUFX} \ + MesaDemos-${MESA_VERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.ORG WRKSRC= ${WRKDIR}/${PKGNAME} ALL_TARGET= netbsd USE_X11= yes -LIBS= libMesaGL libMesaGLU libMesaaux libMesatk -SHLIB_VERSION= 2.4 +MESA_LIBS= libMesaGL libMesaGLU libMesaaux libMesatk +MESA_VERSION= 2.6 +GLUT_LIBS= libglut +GLUT_VERSION= 3.6 post-extract: chmod +r ${WRKSRC}/demos/* do-install: -.for file in ${LIBS} - ${INSTALL_DATA} ${WRKSRC}/lib/${file}_pic.a ${PREFIX}/lib - ranlib ${PREFIX}/lib/${file}_pic.a - ${INSTALL_DATA} ${WRKSRC}/lib/${file}.so.${SHLIB_VERSION} ${PREFIX}/lib +.for file in ${MESA_LIBS} + ${INSTALL_DATA} ${WRKSRC}/lib/${file}.a ${PREFIX}/lib + ranlib ${PREFIX}/lib/${file}.a + ${INSTALL_DATA} ${WRKSRC}/lib/${file}.so.${MESA_VERSION} ${PREFIX}/lib +.endfor +.for file in ${GLUT_LIBS} + ${INSTALL_DATA} ${WRKSRC}/lib/${file}.a ${PREFIX}/lib + ranlib ${PREFIX}/lib/${file}.a + ${INSTALL_DATA} ${WRKSRC}/lib/${file}.so.${GLUT_VERSION} ${PREFIX}/lib .endfor .for file in GL GLU - @ln -fs ${PREFIX}/lib/libMesa${file}_pic.a ${PREFIX}/lib/lib${file}_pic.a - @ln -fs ${PREFIX}/lib/libMesa${file}.so.${SHLIB_VERSION} ${PREFIX}/lib/lib${file}.so.${SHLIB_VERSION} + @ln -fs ${PREFIX}/lib/libMesa${file}.a ${PREFIX}/lib/lib${file}.a + @ln -fs ${PREFIX}/lib/libMesa${file}.so.${MESA_VERSION} ${PREFIX}/lib/lib${file}.so.${MESA_VERSION} .endfor @${MKDIR} ${PREFIX}/include/GL ${INSTALL_DATA} ${WRKSRC}/include/GL/* ${PREFIX}/include/GL -- cgit v1.2.3