diff options
author | edwin <edwin@FreeBSD.org> | 2003-10-06 11:39:43 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-10-06 11:39:43 +0800 |
commit | 42f4845be4e227a2dc4a989002f99c6bf30fa750 (patch) | |
tree | 2d4b9c3b22a23fda9a8d97e25120245a9a6c72ff /graphics | |
parent | b4a61a35a21948f7d2e37a2a46990944af556e94 (diff) | |
download | freebsd-ports-gnome-42f4845be4e227a2dc4a989002f99c6bf30fa750.tar.gz freebsd-ports-gnome-42f4845be4e227a2dc4a989002f99c6bf30fa750.tar.zst freebsd-ports-gnome-42f4845be4e227a2dc4a989002f99c6bf30fa750.zip |
Port submission
Mesa is a 3-D graphics library with an API which is very
similar to that of OpenGL*
PR: ports/49948
Submitted by: bobby <bobby3999@yahoo.com>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/Mesa5/Makefile | 47 | ||||
-rw-r--r-- | graphics/Mesa5/distinfo | 2 | ||||
-rw-r--r-- | graphics/Mesa5/files/patch-si-glu::libtess::memalloc.h | 11 | ||||
-rw-r--r-- | graphics/Mesa5/pkg-descr | 12 | ||||
-rw-r--r-- | graphics/Mesa5/pkg-plist | 31 |
6 files changed, 104 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 9386f3b387b0..76b341f1441c 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -10,6 +10,7 @@ SUBDIR += IPA SUBDIR += ImageMagick SUBDIR += Mesa3 + SUBDIR += Mesa5 SUBDIR += OpenEXR SUBDIR += aalib SUBDIR += acidwarp diff --git a/graphics/Mesa5/Makefile b/graphics/Mesa5/Makefile new file mode 100644 index 000000000000..1909010985e1 --- /dev/null +++ b/graphics/Mesa5/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: Mesa5 +# Date created: Sun Mar 9 12:02:49 2003 +# Whom: bobby +# +# $FreeBSD$ +# + +PORTNAME= Mesa +PORTVERSION= 5.0 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://iris.ssec.wisc.edu/pub/Mesa/ \ + ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/ +MASTER_SITE_SUBDIR= mesa3d +DISTFILES= MesaLib-${PORTVERSION}${EXTRACT_SUFX} \ + MesaDemos-${PORTVERSION}${EXTRACT_SUFX} + +MAINTAINER= bobby3999@yahoo.com +COMMENT= A graphics library similar to SGI's OpenGL + +USE_BZIP2= yes +USE_REINPLACE= yes +INSTALLS_SHLIB= yes + +CONFIGURE_ARGS+=--without-glut --prefix=${PREFIX} + +.if defined(WANT_GGI) +LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi +CONFIGURE_ARGS+=--with-ggi=${LOCALBASE} +.endif + +USE_X_PREFIX= yes +USE_LIBTOOL= yes +USE_GMAKE= yes + +.include <bsd.port.pre.mk> + +.ifdef USE_MESA +.error You have `USE_MESA' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + +post-install: +.for lib in GL GLU + @${LN} -sf ${PREFIX}/lib/lib${lib}.so ${PREFIX}/lib/libMesa${lib}.so +.endfor + +.include <bsd.port.post.mk> diff --git a/graphics/Mesa5/distinfo b/graphics/Mesa5/distinfo new file mode 100644 index 000000000000..de347caebddf --- /dev/null +++ b/graphics/Mesa5/distinfo @@ -0,0 +1,2 @@ +MD5 (MesaLib-5.0.tar.bz2) = df44d99ae97c5c0df631575757a96d86 +MD5 (MesaDemos-5.0.tar.bz2) = ebfac20c7fe7943243bc54a4b755f50d diff --git a/graphics/Mesa5/files/patch-si-glu::libtess::memalloc.h b/graphics/Mesa5/files/patch-si-glu::libtess::memalloc.h new file mode 100644 index 000000000000..ba9de56d3c83 --- /dev/null +++ b/graphics/Mesa5/files/patch-si-glu::libtess::memalloc.h @@ -0,0 +1,11 @@ +--- si-glu/libtess/memalloc.h.orig Sun Oct 5 20:34:38 2003 ++++ si-glu/libtess/memalloc.h Sun Oct 5 20:35:32 2003 +@@ -42,7 +42,7 @@ + #ifndef __memalloc_simple_h_ + #define __memalloc_simple_h_ + +-#if defined(__VMS) || defined(darwin) ++#if defined(__VMS) || defined(darwin) || defined(__FreeBSD__) + # include <stdlib.h> + #else + # include <malloc.h> diff --git a/graphics/Mesa5/pkg-descr b/graphics/Mesa5/pkg-descr new file mode 100644 index 000000000000..5acb5dd66201 --- /dev/null +++ b/graphics/Mesa5/pkg-descr @@ -0,0 +1,12 @@ +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. + +paulo@isr.uc.pt + +WWW: http://www.mesa3d.org/ diff --git a/graphics/Mesa5/pkg-plist b/graphics/Mesa5/pkg-plist new file mode 100644 index 000000000000..9d4c2d8b1b4e --- /dev/null +++ b/graphics/Mesa5/pkg-plist @@ -0,0 +1,31 @@ +etc/mesa.conf +include/GL/gl.h +include/GL/gl_mangle.h +include/GL/glext.h +include/GL/glu.h +include/GL/glu_mangle.h +include/GL/glut.h +include/GL/glutf90.h +include/GL/glx.h +include/GL/glx_mangle.h +include/GL/glxext.h +include/GL/osmesa.h +include/GL/xmesa.h +include/GL/xmesa_x.h +include/GL/xmesa_xf86.h +lib/libGL.la +lib/libGL.so +lib/libGL.so.5 +lib/libGLU.la +lib/libGLU.so +lib/libGLU.so.4 +lib/libOSMesa.la +lib/libOSMesa.so +lib/libOSMesa.so.4 +lib/libglut.la +lib/libglut.so +lib/libglut.so.10 +lib/libMesaGL.so +lib/libMesaGLU.so + + |