1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

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>
This commit is contained in:
Edwin Groothuis 2003-10-06 03:39:43 +00:00
parent a783be9577
commit 9f4ca8c64c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90367
6 changed files with 104 additions and 0 deletions

View File

@ -10,6 +10,7 @@
SUBDIR += IPA
SUBDIR += ImageMagick
SUBDIR += Mesa3
SUBDIR += Mesa5
SUBDIR += OpenEXR
SUBDIR += aalib
SUBDIR += acidwarp

47
graphics/Mesa5/Makefile Normal file
View File

@ -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>

2
graphics/Mesa5/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (MesaLib-5.0.tar.bz2) = df44d99ae97c5c0df631575757a96d86
MD5 (MesaDemos-5.0.tar.bz2) = ebfac20c7fe7943243bc54a4b755f50d

View File

@ -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>

12
graphics/Mesa5/pkg-descr Normal file
View File

@ -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/

31
graphics/Mesa5/pkg-plist Normal file
View File

@ -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