diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2003-10-24 04:38:20 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2003-10-24 04:38:20 +0000 |
commit | 4677a5227fbd13a16f5ae9d133bfc954606d26d3 (patch) | |
tree | 56ad7fce164876bdb1b4fca582d5afd4b7892b82 /graphics | |
parent | Incorporate patches against the "Audio read error" problem. (diff) |
Add libglut 5.0.2, a port of libglut from Mesa. libglut will be removed from
mesagl in its upcoming upgrade.
Notes
Notes:
svn path=/head/; revision=92031
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/libglut/Makefile | 31 | ||||
-rw-r--r-- | graphics/libglut/distinfo | 1 | ||||
-rw-r--r-- | graphics/libglut/files/Makefile | 66 | ||||
-rw-r--r-- | graphics/libglut/pkg-descr | 5 | ||||
-rw-r--r-- | graphics/libglut/pkg-plist | 4 |
6 files changed, 108 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 6ec0e1015cdf..c59e4bd65314 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -194,6 +194,7 @@ SUBDIR += libfpx SUBDIR += libgdgeda SUBDIR += libggi + SUBDIR += libglut SUBDIR += libgnomecanvas SUBDIR += libgnomecanvasmm SUBDIR += libgphoto2 diff --git a/graphics/libglut/Makefile b/graphics/libglut/Makefile new file mode 100644 index 000000000000..02be407fa1a9 --- /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 000000000000..9fa1fce05121 --- /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 000000000000..8009005545a3 --- /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 000000000000..e5a545207f86 --- /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 000000000000..a91d541ac8a4 --- /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 |