aboutsummaryrefslogtreecommitdiff
path: root/graphics/linux_mesa3/Makefile
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2002-01-14 07:38:22 +0000
committerJim Mock <jim@FreeBSD.org>2002-01-14 07:38:22 +0000
commit33352d95f338f70f0e164e2717bfa7dc7be64f89 (patch)
tree185b2d56664fac63203fbac102b82c3fd7ed00b7 /graphics/linux_mesa3/Makefile
parent58112ce8d5c881bd5bf0d3e8bc062ef692b07c24 (diff)
downloadports-33352d95f338f70f0e164e2717bfa7dc7be64f89.tar.gz
ports-33352d95f338f70f0e164e2717bfa7dc7be64f89.zip
Notes
Diffstat (limited to 'graphics/linux_mesa3/Makefile')
-rw-r--r--graphics/linux_mesa3/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/linux_mesa3/Makefile b/graphics/linux_mesa3/Makefile
index 4673e1e4bb11..770da77ce400 100644
--- a/graphics/linux_mesa3/Makefile
+++ b/graphics/linux_mesa3/Makefile
@@ -7,9 +7,9 @@
PORTNAME= mesa
PORTVERSION= 3.4.2
+PORTREVISION= 1
CATEGORIES= graphics linux
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- ftp://iris.ssec.wisc.edu/pub/Mesa/ \
ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/
MASTER_SITE_SUBDIR= mesa3d
PKGNAMEPREFIX= linux_
@@ -43,6 +43,7 @@ GL_MAJOR_VER= 1
GL_MINOR_VER= 3
GLUT_MAJOR_VER= 3
GLUT_MINOR_VER= 8
+LIBMESA_MAJOR_VER= 3
MAKE_ENV= PATH=${LINUXBASE}/usr/bin:${PATH}
STRIP_CMD= ${LINUXBASE}/usr/bin/strip
@@ -50,14 +51,15 @@ STRIP_CMD= ${LINUXBASE}/usr/bin/strip
PLIST_SUB+= GL_MAJOR_VER=${GL_MAJOR_VER} \
GL_MINOR_VER=${GL_MINOR_VER} \
GLUT_MAJOR_VER=${GLUT_MAJOR_VER} \
- GLUT_MINOR_VER=${GLUT_MINOR_VER}
+ GLUT_MINOR_VER=${GLUT_MINOR_VER} \
+ LIBMESA_MAJOR_VER=${LIBMESA_MAJOR_VER}
post-install:
${STRIP_CMD} ${PREFIX}/usr/X11R6/lib/libglut.so.${GLUT_MAJOR_VER}.${GLUT_MINOR_VER}.0
@for R in GL GLU; do \
${STRIP_CMD} ${PREFIX}/usr/X11R6/lib/lib$$R.so.${GL_MAJOR_VER}.${GL_MINOR_VER}.0; \
${LN} -s lib$$R.so ${PREFIX}/usr/X11R6/lib/libMesa$$R.so; \
- ${LN} -s lib$$R.so.${GL_MAJOR_VER} ${PREFIX}/usr/X11R6/lib/libMesa$$R.so.${GL_MAJOR_VER}; \
+ ${LN} -s lib$$R.so.${GL_MAJOR_VER} ${PREFIX}/usr/X11R6/lib/libMesa$$R.so.${LIBMESA_MAJOR_VER}; \
done
${LINUXBASE}/sbin/ldconfig