summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-10-15 11:48:44 +0000
committerrh <rh@pkgsrc.org>2000-10-15 11:48:44 +0000
commit188c865f8ebdf8ddfe1b73cfda0012f82fe8a01a (patch)
treee8702c0f075d5003dca594c0ae9de0837343ddf9 /graphics
parent9f8e9d0c10b0389c1f29c65c5fb612105ebb4280 (diff)
downloadpkgsrc-188c865f8ebdf8ddfe1b73cfda0012f82fe8a01a.tar.gz
Initial import of glut-3.2.1, the GLUT graphics library of the new split-up
Mesa system.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/glut/Makefile37
-rw-r--r--graphics/glut/files/md54
-rw-r--r--graphics/glut/pkg/COMMENT1
-rw-r--r--graphics/glut/pkg/DESCR10
-rw-r--r--graphics/glut/pkg/PLIST7
5 files changed, 59 insertions, 0 deletions
diff --git a/graphics/glut/Makefile b/graphics/glut/Makefile
new file mode 100644
index 00000000000..173d7a8235c
--- /dev/null
+++ b/graphics/glut/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 11:48:44 rh Exp $
+#
+
+DISTNAME= Mesa-3.2.1
+PKGNAME= ${DISTNAME:S/Mesa/glut/}
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.mesa3d.org/mesa/ \
+ http://download.sourceforge.net/mesa3d/
+EXTRACT_SUFX= .tar.bz2
+DISTFILES+= ${DISTNAME:S/Mesa/MesaLib/}${EXTRACT_SUFX}
+DISTFILES+= ${DISTNAME:S/Mesa/MesaDemos/}${EXTRACT_SUFX}
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.ssec.wisc.edu/~brianp/Mesa.html
+
+CONFLICTS+= Mesa-glx-*
+CONFLICTS+= Mesa<3.2.1
+
+USE_X11BASE= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+CONFIGURE_ARGS+= --enable-static
+
+do-build:
+ cd ${WRKSRC}/src-glut && ${MAKE}
+
+do-install:
+ cd ${WRKSRC}/src-glut && ${MAKE} install
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/GL
+.for inc in glut.h glutf90.h
+ ${INSTALL_DATA} ${WRKSRC}/include/GL/${inc} ${PREFIX}/include/GL
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/glut/files/md5 b/graphics/glut/files/md5
new file mode 100644
index 00000000000..10507712af4
--- /dev/null
+++ b/graphics/glut/files/md5
@@ -0,0 +1,4 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/15 11:48:44 rh Exp $
+
+MD5 (MesaLib-3.2.1.tar.bz2) = dcd5a6aa77b3bdb400c8179419473e58
+MD5 (MesaDemos-3.2.1.tar.bz2) = 621bd95ed9f93467f4dfa615e2f27c16
diff --git a/graphics/glut/pkg/COMMENT b/graphics/glut/pkg/COMMENT
new file mode 100644
index 00000000000..f9fc548a7dc
--- /dev/null
+++ b/graphics/glut/pkg/COMMENT
@@ -0,0 +1 @@
+GLUT Graphics library similar to SGI's OpenGL
diff --git a/graphics/glut/pkg/DESCR b/graphics/glut/pkg/DESCR
new file mode 100644
index 00000000000..de6e8434083
--- /dev/null
+++ b/graphics/glut/pkg/DESCR
@@ -0,0 +1,10 @@
+ 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.
+
+ This is the GLUT part of the MesaDemos distribution.
diff --git a/graphics/glut/pkg/PLIST b/graphics/glut/pkg/PLIST
new file mode 100644
index 00000000000..07c7aa92235
--- /dev/null
+++ b/graphics/glut/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/15 11:48:44 rh Exp $
+include/GL/glut.h
+include/GL/glutf90.h
+lib/libglut.so.3.7
+lib/libglut.a
+lib/libglut.la
+@unexec rmdir %D/include/GL >/dev/null 2>&1 || true