summaryrefslogtreecommitdiff
path: root/graphics/Mesa3
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-05-16 06:19:20 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-05-16 06:19:20 +0000
commit701949611f8865178616a8f8a79f34c8c549b5ab (patch)
tree952785dbc077ca4f24b86f081027dc6aa1fc9452 /graphics/Mesa3
parentRemove imaze, we got the author's permission to put it on the CD. (diff)
Upgrade to 1.2.7. This port is not BROKEN anymore!
Submitted by: chuckr@glue.umd.edu
Notes
Notes: svn path=/head/; revision=3093
Diffstat (limited to 'graphics/Mesa3')
-rw-r--r--graphics/Mesa3/Makefile20
-rw-r--r--graphics/Mesa3/distinfo2
-rw-r--r--graphics/Mesa3/files/patch-aa61
-rw-r--r--graphics/Mesa3/pkg-comment1
-rw-r--r--graphics/Mesa3/pkg-descr9
-rw-r--r--graphics/Mesa3/pkg-plist19
6 files changed, 67 insertions, 45 deletions
diff --git a/graphics/Mesa3/Makefile b/graphics/Mesa3/Makefile
index 8199ee23c8f1..eeda56b89685 100644
--- a/graphics/Mesa3/Makefile
+++ b/graphics/Mesa3/Makefile
@@ -1,26 +1,16 @@
# New ports collection makefile for: Mesa
-# Version required: 1.1.3beta
+# Version required: 1.2.7
# Date created: Tue Feb 7 12:02:49 1995
# Whom: hsu
#
-# $Id: Makefile,v 1.8 1995/04/09 07:09:32 asami Exp $
+# $Id: Makefile,v 1.9 1996/04/12 08:29:07 asami Exp $
#
-DISTNAME= Mesa-1.1.3beta
-PKGNAME= Mesa-1.1.3b
+DISTNAME= Mesa-1.2.7
CATEGORIES+= graphics
-MASTER_SITES= ftp://iris.ssec.wisc.edu/pub/misc/
+MASTER_SITES= ftp://iris.ssec.wisc.edu/pub/Mesa/
-BROKEN= yes # won't install until I convert the Makefiles to Imakefiles
-WRKSRC= ${WRKDIR}/Mesa
-USE_GMAKE= yes
+ALL_TARGET= freebsd
USE_X11= yes
-ALL_TARGET= freebsd
-
-# won't need this after I convert the Makefiles to Imakefiles
-pre-build:
- if [ ! -e /usr/include/X11 ]; then \
- ln -s /usr/X11R6/include/X11 /usr/include; \
- fi
.include <bsd.port.mk>
diff --git a/graphics/Mesa3/distinfo b/graphics/Mesa3/distinfo
index 42ed2fa036ef..8bb9c4c61cd2 100644
--- a/graphics/Mesa3/distinfo
+++ b/graphics/Mesa3/distinfo
@@ -1 +1 @@
-MD5 (Mesa-1.1.3beta.tar.gz) = d39371f1f3423d9ed8d86bdbcfd1cea6
+MD5 (Mesa-1.2.7.tar.gz) = 58a39f8da88fe17815a9ca71fe1c22df
diff --git a/graphics/Mesa3/files/patch-aa b/graphics/Mesa3/files/patch-aa
index 5815a70715b7..c3b71d97e9c9 100644
--- a/graphics/Mesa3/files/patch-aa
+++ b/graphics/Mesa3/files/patch-aa
@@ -1,29 +1,32 @@
-*** samples/speed.c.0 Fri Mar 3 16:38:42 1995
---- samples/speed.c Sun Mar 5 18:59:23 1995
-***************
-*** 35,40 ****
---- 35,44 ----
- #include <sys/param.h>
- #endif
-
-+ #ifdef __STDC__
-+ #include <time.h>
-+ #endif
-+
-
- #define GAP 10
- #define ROWS 1
-***************
-*** 122,128 ****
---- 126,136 ----
- clock_t clk;
-
- clk = times(&tm);
-+ #ifdef __STDC__
-+ return (double)clk / (double)CLOCKS_PER_SEC;
-+ #else
- return (double)clk / (double)HZ;
-+ #endif
- #else
- return 0;
- #endif
+--- Makefile.orig Wed May 8 21:34:09 1996
++++ Makefile Wed May 8 21:44:14 1996
+@@ -178,6 +178,29 @@
+ cd samples ; $(MAKE) $@
+ cd book ; $(MAKE) $@
+
++install:
++ install -c -m 444 lib/libMesaGL.a ${X11BASE}/lib
++ install -c -m 444 lib/libMesaGL.so.12.7 ${X11BASE}/lib
++ install -c -m 444 lib/libMesaGLU.a ${X11BASE}/lib
++ install -c -m 444 lib/libMesaGLU.so.12.7 ${X11BASE}/lib
++ install -c -m 444 lib/libMesaaux.a ${X11BASE}/lib
++ install -c -m 444 lib/libMesaaux.so.12.7 ${X11BASE}/lib
++ install -c -m 444 lib/libMesatk.a ${X11BASE}/lib
++ install -c -m 444 lib/libMesatk.so.12.7 ${X11BASE}/lib
++ mkdir -p -m 0775 ${X11BASE}/include/Mesa/GL
++ install -c include/glaux.h ${X11BASE}/include/Mesa
++ install -c include/gltk.h ${X11BASE}/include/Mesa
++ install -c include/GL/amesa.h ${X11BASE}/include/Mesa/GL
++ install -c include/GL/fgl.h ${X11BASE}/include/Mesa/GL
++ install -c include/GL/gl.h ${X11BASE}/include/Mesa/GL
++ install -c include/GL/glu.h ${X11BASE}/include/Mesa/GL
++ install -c include/GL/glx.h ${X11BASE}/include/Mesa/GL
++ install -c include/GL/osmesa.h ${X11BASE}/include/Mesa/GL
++ install -c include/GL/svgamesa.h ${X11BASE}/include/Mesa/GL
++ install -c include/GL/wmesa.h ${X11BASE}/include/Mesa/GL
++ install -c include/GL/xmesa.h ${X11BASE}/include/Mesa/GL
++ ldconfig -m ${X11BASE}/lib
++
+ next:
+ -mkdir lib
+ cd src ; $(MAKE) -f Makefile.NeXT $@
diff --git a/graphics/Mesa3/pkg-comment b/graphics/Mesa3/pkg-comment
new file mode 100644
index 000000000000..5f952a9b8f40
--- /dev/null
+++ b/graphics/Mesa3/pkg-comment
@@ -0,0 +1 @@
+Mesa is a graphics library similar to SGI's OpenGL.
diff --git a/graphics/Mesa3/pkg-descr b/graphics/Mesa3/pkg-descr
new file mode 100644
index 000000000000..df2b46cf017c
--- /dev/null
+++ b/graphics/Mesa3/pkg-descr
@@ -0,0 +1,9 @@
+Mesa is a 3-D graphics library with an API which is very similar to that
+of OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax
+or state machine, it is being used with authorization from Silicon Graphics,
+Inc. However, the author makes no claim that Mesa is in any way a
+compatible replacement for OpenGL or associated with Silicon Graphics, Inc.
+Those who want a licensed implementation of OpenGL should contact a licensed
+vendor. This software is distributed under the terms of the GNU Library
+General Public License, see the LICENSE file for details.
+
diff --git a/graphics/Mesa3/pkg-plist b/graphics/Mesa3/pkg-plist
new file mode 100644
index 000000000000..2f5e1434a9ee
--- /dev/null
+++ b/graphics/Mesa3/pkg-plist
@@ -0,0 +1,19 @@
+lib/libMesaGL.a
+lib/libMesaGL.so.12.7
+lib/libMesaGLU.a
+lib/libMesaGLU.so.12.7
+lib/libMesaaux.a
+lib/libMesaaux.so.12.7
+lib/libMesatk.a
+lib/libMesatk.so.12.7
+include/Mesa/glaux.h
+include/Mesa/gltk.h
+include/Mesa/GL/amesa.h
+include/Mesa/GL/fgl.h
+include/Mesa/GL/gl.h
+include/Mesa/GL/glu.h
+include/Mesa/GL/glx.h
+include/Mesa/GL/osmesa.h
+include/Mesa/GL/svgamesa.h
+include/Mesa/GL/wmesa.h
+include/Mesa/GL/xmesa.h