summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/glu/Makefile36
-rw-r--r--graphics/glu/files/md53
-rw-r--r--graphics/glu/files/patch-sum3
-rw-r--r--graphics/glu/patches/patch-aa15
-rw-r--r--graphics/glu/pkg/COMMENT1
-rw-r--r--graphics/glu/pkg/DESCR11
-rw-r--r--graphics/glu/pkg/PLIST7
7 files changed, 76 insertions, 0 deletions
diff --git a/graphics/glu/Makefile b/graphics/glu/Makefile
new file mode 100644
index 00000000000..5ce07e4e0e0
--- /dev/null
+++ b/graphics/glu/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 11:45:21 rh Exp $
+#
+
+DISTNAME= MesaLib-3.2.1
+PKGNAME= ${DISTNAME:C/MesaLib/glu/}
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.mesa3d.org/mesa/ \
+ http://download.sourceforge.net/mesa3d/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.ssec.wisc.edu/~brianp/Mesa.html
+
+WRKSRC= ${WRKDIR}/${DISTNAME:C/Lib//}
+USE_X11BASE= yes
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-static
+
+do-build:
+ cd ${WRKSRC}/src-glu && ${SETENV} ${MAKE_ENV} \
+ ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}
+
+do-install:
+ cd ${WRKSRC}/src-glu && ${SETENV} ${MAKE_ENV} \
+ ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${X11PREFIX}/include/GL
+.for hdr in glu.h glu_mangle.h
+ ${INSTALL_DATA} ${WRKSRC}/include/GL/${hdr} ${X11PREFIX}/include/GL
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/glu/files/md5 b/graphics/glu/files/md5
new file mode 100644
index 00000000000..08f582993f9
--- /dev/null
+++ b/graphics/glu/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/15 11:45:21 rh Exp $
+
+MD5 (MesaLib-3.2.1.tar.bz2) = dcd5a6aa77b3bdb400c8179419473e58
diff --git a/graphics/glu/files/patch-sum b/graphics/glu/files/patch-sum
new file mode 100644
index 00000000000..f9f6c4a5dd4
--- /dev/null
+++ b/graphics/glu/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/10/15 11:45:21 rh Exp $
+
+MD5 (patch-aa) = 001debf3952eb11c1b152b85e3243ffb
diff --git a/graphics/glu/patches/patch-aa b/graphics/glu/patches/patch-aa
new file mode 100644
index 00000000000..1c0feb12a63
--- /dev/null
+++ b/graphics/glu/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/15 11:45:21 rh Exp $
+
+--- configure.orig Sat Sep 2 12:42:26 2000
++++ configure
+@@ -822,8 +822,8 @@
+ MESA_MAJOR=3
+ MESA_MINOR=2
+ MESA_TINY=1
+-LIBGL_VERSION=1:2:0${MESA_MAJOR}0${MESA_MINOR}0${MESA_TINY}
+-LIBGLU_VERSION=1:1:0${MESA_MAJOR}0${MESA_MINOR}0${MESA_TINY}
++LIBGL_VERSION=${MESA_MAJOR}:${MESA_MINOR}:${MESA_TINY}
++LIBGLU_VERSION=${MESA_MAJOR}:${MESA_MINOR}:${MESA_TINY}
+ LIBGLUT_VERSION=3:7:0
+
+
diff --git a/graphics/glu/pkg/COMMENT b/graphics/glu/pkg/COMMENT
new file mode 100644
index 00000000000..55294f48c99
--- /dev/null
+++ b/graphics/glu/pkg/COMMENT
@@ -0,0 +1 @@
+GLU polygon tesselation facility for Mesa
diff --git a/graphics/glu/pkg/DESCR b/graphics/glu/pkg/DESCR
new file mode 100644
index 00000000000..ba2f5dc3411
--- /dev/null
+++ b/graphics/glu/pkg/DESCR
@@ -0,0 +1,11 @@
+This is the GLU polygon tesselation facility for Mesa implemented by Bogdan
+Sikorski. The tesselation module is provided under the same terms as the
+Mesa package.
+
+This software tries to be fully compliant with the OpenGL routines. By
+"tries" I mean that up to my knowledge it behaves as OpenGL tesselation
+routines. 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/glu/pkg/PLIST b/graphics/glu/pkg/PLIST
new file mode 100644
index 00000000000..10f9f45f5fe
--- /dev/null
+++ b/graphics/glu/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/15 11:45:21 rh Exp $
+include/GL/glu.h
+include/GL/glu_mangle.h
+lib/libGLU.so.3.2
+lib/libGLU.a
+lib/libGLU.la
+@unexec rmdir %D/include/GL >/dev/null 2>&1 || true