summaryrefslogtreecommitdiffstats
path: root/graphics/libglut
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2003-10-24 04:38:20 +0000
committeranholt <anholt@FreeBSD.org>2003-10-24 04:38:20 +0000
commit5f63c0e772f6bad037aed7c6fdbdc18853dc507b (patch)
tree19eca94b03e4437e508121195692b45f6ca0bbbe /graphics/libglut
parent814aa775ac0782bbed7513e080d47ea25f967904 (diff)
downloadFreeBSD-ports-5f63c0e772f6bad037aed7c6fdbdc18853dc507b.zip
FreeBSD-ports-5f63c0e772f6bad037aed7c6fdbdc18853dc507b.tar.gz
Add libglut 5.0.2, a port of libglut from Mesa. libglut will be removed from
mesagl in its upcoming upgrade.
Diffstat (limited to 'graphics/libglut')
-rw-r--r--graphics/libglut/Makefile31
-rw-r--r--graphics/libglut/distinfo1
-rw-r--r--graphics/libglut/files/Makefile66
-rw-r--r--graphics/libglut/pkg-descr5
-rw-r--r--graphics/libglut/pkg-plist4
5 files changed, 107 insertions, 0 deletions
diff --git a/graphics/libglut/Makefile b/graphics/libglut/Makefile
new file mode 100644
index 0000000..02be407
--- /dev/null
+++ b/graphics/libglut/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: libglut
+# Date created: Tue Feb 7 12:02:49 1995
+# Whom: anholt
+#
+# $FreeBSD$
+#
+
+PORTNAME= libglut
+PORTVERSION= 5.0.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= mesa3d
+DISTNAME= MesaDemos-${PORTVERSION}
+
+MAINTAINER= anholt@FreeBSD.org
+COMMENT= A graphics library similar to SGI's OpenGL
+
+USE_BZIP2= yes
+INSTALLS_SHLIB= yes
+
+USE_X_PREFIX= yes
+WRKSRC= ${WRKDIR}/Mesa-${PORTVERSION}/src-glut
+
+pre-patch:
+ ${CP} ${FILESDIR}/Makefile ${WRKSRC}/
+
+.include <bsd.port.pre.mk>
+.if ${XFREE86_VERSION} == 3
+LIB_DEPENDS+= GL.14:${PORTSDIR}/graphics/mesagl
+.endif
+.include <bsd.port.post.mk>
diff --git a/graphics/libglut/distinfo b/graphics/libglut/distinfo
new file mode 100644
index 0000000..9fa1fce
--- /dev/null
+++ b/graphics/libglut/distinfo
@@ -0,0 +1 @@
+MD5 (MesaDemos-5.0.2.tar.bz2) = a71afaeddd0b567423f88085576850d3
diff --git a/graphics/libglut/files/Makefile b/graphics/libglut/files/Makefile
new file mode 100644
index 0000000..8009005
--- /dev/null
+++ b/graphics/libglut/files/Makefile
@@ -0,0 +1,66 @@
+# Makefile for building libglut
+#
+# $FreeBSD$
+
+LIB= glut
+SHLIB_MAJOR= 3
+CFLAGS+= -I../include -I${X11BASE}/include
+LDFLAGS+= -L${X11BASE}/lib -lGLU -lX11 -lXext -lGL -lXmu -lXi
+LIBDIR= ${PREFIX}/lib
+NOPROFILE?= yes
+
+beforeinstall:
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${.CURDIR}/../include/GL/glut.h \
+ ${PREFIX}/include/GL
+
+SRCS = \
+ glut_8x13.c \
+ glut_9x15.c \
+ glut_bitmap.c \
+ glut_bwidth.c \
+ glut_cindex.c \
+ glut_cmap.c \
+ glut_cursor.c \
+ glut_dials.c \
+ glut_dstr.c \
+ glut_event.c \
+ glut_ext.c \
+ glut_fbc.c \
+ glut_fullscrn.c \
+ glut_gamemode.c \
+ glut_get.c \
+ glut_glxext.c \
+ glut_hel10.c \
+ glut_hel12.c \
+ glut_hel18.c \
+ glut_init.c \
+ glut_input.c \
+ glut_joy.c \
+ glut_key.c \
+ glut_keyctrl.c \
+ glut_keyup.c \
+ glut_menu.c \
+ glut_menu2.c \
+ glut_mesa.c \
+ glut_modifier.c \
+ glut_mroman.c \
+ glut_overlay.c \
+ glut_roman.c \
+ glut_shapes.c \
+ glut_space.c \
+ glut_stroke.c \
+ glut_swap.c \
+ glut_swidth.c \
+ glut_tablet.c \
+ glut_teapot.c \
+ glut_tr10.c \
+ glut_tr24.c \
+ glut_util.c \
+ glut_vidresize.c \
+ glut_warp.c \
+ glut_win.c \
+ glut_winmisc.c \
+ layerutil.c
+
+.include <bsd.lib.mk> \ No newline at end of file
diff --git a/graphics/libglut/pkg-descr b/graphics/libglut/pkg-descr
new file mode 100644
index 0000000..e5a5452
--- /dev/null
+++ b/graphics/libglut/pkg-descr
@@ -0,0 +1,5 @@
+libglut is a library provided with Mesa which provides an interface for creating
+windows containing OpenGL contexts on a wide variety of platforms and handling
+user interaction.
+
+WWW: http://www.mesa3d.org/
diff --git a/graphics/libglut/pkg-plist b/graphics/libglut/pkg-plist
new file mode 100644
index 0000000..a91d541
--- /dev/null
+++ b/graphics/libglut/pkg-plist
@@ -0,0 +1,4 @@
+include/GL/glut.h
+lib/libglut.a
+lib/libglut.so
+lib/libglut.so.3
OpenPOWER on IntegriCloud