add MesaGL port
This commit is contained in:
parent
6a0b670b86
commit
a9611e643f
44
graphics/MesaGL/Makefile
Normal file
44
graphics/MesaGL/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1999/03/07 05:50:47 brad Exp $
|
||||
# $FreeBSD: Makefile,v 1.30 1998/11/11 05:37:18 asami Exp $
|
||||
|
||||
DISTNAME= MesaLib-3.0
|
||||
PKGNAME= MesaGL-3.0
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ftp://iris.ssec.wisc.edu/pub/Mesa/ \
|
||||
ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MesaDemos-3.0.tar.gz
|
||||
|
||||
MAINTAINER= brad@openbsd.org
|
||||
|
||||
WRKSRC= ${WRKDIR}/Mesa-3.0
|
||||
|
||||
USE_X11= yes
|
||||
LIBS= libMesaGL libMesaGLU
|
||||
|
||||
.if (${MACHINE_ARCH} == "i386")
|
||||
ALL_TARGET= openbsd-386
|
||||
.else
|
||||
ALL_TARGET= openbsd
|
||||
.endif
|
||||
|
||||
SHLIB_VERSION= 3.0
|
||||
GLUT_VERSION= 3.7
|
||||
|
||||
do-install:
|
||||
.for file in ${LIBS}
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/${file}_pic.a ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/${file}.so.${SHLIB_VERSION} ${PREFIX}/lib
|
||||
${LN} -fs ${file}.so.${SHLIB_VERSION} ${PREFIX}/lib/${file}.so
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/libglut_pic.a ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/libglut.so.${GLUT_VERSION} ${PREFIX}/lib
|
||||
${LN} -fs libglut.so.${GLUT_VERSION} ${PREFIX}/lib/libglut.so
|
||||
.for file in GL GLU
|
||||
@${LN} -fs libMesa${file}_pic.a ${PREFIX}/lib/lib${file}_pic.a
|
||||
@${LN} -fs libMesa${file}.so.${SHLIB_VERSION} ${PREFIX}/lib/lib${file}.so.${SHLIB_VERSION}
|
||||
@${LN} -fs libMesa${file}.so ${PREFIX}/lib/lib${file}.so
|
||||
.endfor
|
||||
@${MKDIR} ${PREFIX}/include/GL
|
||||
${INSTALL_DATA} ${WRKSRC}/include/GL/* ${PREFIX}/include/GL
|
||||
|
||||
.include <bsd.port.mk>
|
6
graphics/MesaGL/files/md5
Normal file
6
graphics/MesaGL/files/md5
Normal file
@ -0,0 +1,6 @@
|
||||
MD5 (MesaDemos-3.0.tar.gz) = 6ec326092bf8f634a23f7203dc66baad
|
||||
MD5 (MesaLib-3.0.tar.gz) = 34af82a8ab6b8283ea77855f3fdf7ef5
|
||||
RMD160 (MesaDemos-3.0.tar.gz) = 316d6ab48efa69d5fa66eab50f491c90dc4fd562
|
||||
RMD160 (MesaLib-3.0.tar.gz) = 07d1e8221b46b7e0cd358eeb18f7d1833d052566
|
||||
SHA1 (MesaDemos-3.0.tar.gz) = 6461da67eb83c8b3a6aeeefe00f5f76cd77c9b7e
|
||||
SHA1 (MesaLib-3.0.tar.gz) = 4b297bcde4b70d2f38763b18e3eaa22961e34f68
|
20
graphics/MesaGL/patches/patch-aa
Normal file
20
graphics/MesaGL/patches/patch-aa
Normal file
@ -0,0 +1,20 @@
|
||||
--- Make-config.orig Sat Aug 29 23:27:56 1998
|
||||
+++ Make-config Sat Mar 6 23:20:12 1999
|
||||
@@ -817,6 +817,17 @@
|
||||
"MAKELIB = ../mklib.openbsd" \
|
||||
"XLIBS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXi"
|
||||
|
||||
+openbsd-386:
|
||||
+ $(MAKE) $(MFLAGS) targets \
|
||||
+ "GL_LIB = libMesaGL.so" \
|
||||
+ "GLU_LIB = libMesaGLU.so" \
|
||||
+ "GLUT_LIB = libglut.so" \
|
||||
+ "CC = cc" \
|
||||
+ "CFLAGS = -O3 -ffast-math -fPIC -I/usr/X11R6/include -DSHM -DHZ=100" -DUSE_X86_ASM\
|
||||
+ "MAKELIB = ../mklib.openbsd" \
|
||||
+ "XLIBS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXi"
|
||||
+ "ASM_SOURCES = asm_386.S"
|
||||
+
|
||||
openstep:
|
||||
$(MAKE) -f Makefile.OpenStep targets \
|
||||
"GL_LIB = libMesaGL.a" \
|
19
graphics/MesaGL/patches/patch-ab
Normal file
19
graphics/MesaGL/patches/patch-ab
Normal file
@ -0,0 +1,19 @@
|
||||
--- Makefile.orig Sat Mar 6 23:23:58 1999
|
||||
+++ Makefile Sat Mar 6 23:26:09 1999
|
||||
@@ -172,6 +172,7 @@
|
||||
@echo " make next-x86-x11 for NeXT on Intel x86 with X11"
|
||||
@echo " make next-x11 for NeXT with X11"
|
||||
@echo " make openbsd for OpenBSD systems"
|
||||
+ @echo " make openbsd-386 for OpenBSD systems, w/ Intel assembly"
|
||||
@echo " make openstep for NeXT systems with OPENSTEP 4.0"
|
||||
@echo " make openstep-dynlib for NeXT systems with OPENSTEP 4.0, shared libs"
|
||||
@echo " make os2-x11 for OS/2 with XFree86"
|
||||
@@ -221,7 +222,7 @@
|
||||
linux-ppc linux-ppc-so \
|
||||
linux-sparc5-elf \
|
||||
lynxos machten-2.2 machten-4.0 \
|
||||
-mklinux netbsd next-x86-x11 next-x11 osf1 osf1-sl openbsd qnx sco \
|
||||
+mklinux netbsd next-x86-x11 next-x11 osf1 osf1-sl openbsd openbsd-386 qnx sco \
|
||||
solaris-x86 solaris-x86-gcc sunSolaris-CC \
|
||||
sunos4 sunos4-sl sunos4-gcc sunos4-gcc-sl sunos4-gcc-x11r6-sl \
|
||||
sunos5 sunos5-sl sunos5-ultra sunos5-ultra-sl sunos5-gcc sunos5-gcc-sl \
|
1
graphics/MesaGL/pkg/COMMENT
Normal file
1
graphics/MesaGL/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
A graphics library similar to SGI's OpenGL.
|
10
graphics/MesaGL/pkg/DESCR
Normal file
10
graphics/MesaGL/pkg/DESCR
Normal file
@ -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.
|
||||
|
||||
paulo@isr.uc.pt
|
29
graphics/MesaGL/pkg/PLIST
Normal file
29
graphics/MesaGL/pkg/PLIST
Normal file
@ -0,0 +1,29 @@
|
||||
include/GL/dosmesa.h
|
||||
include/GL/foomesa.h
|
||||
include/GL/fxmesa.h
|
||||
include/GL/ggimesa.h
|
||||
include/GL/gl.h
|
||||
include/GL/gl_mangle.h
|
||||
include/GL/glu.h
|
||||
include/GL/glu_mangle.h
|
||||
include/GL/glut.h
|
||||
include/GL/glx.h
|
||||
include/GL/glx_mangle.h
|
||||
include/GL/mglmesa.h
|
||||
include/GL/osmesa.h
|
||||
include/GL/osmesa3.h
|
||||
include/GL/svgamesa.h
|
||||
include/GL/wmesa.h
|
||||
include/GL/xmesa.h
|
||||
lib/libGL.so
|
||||
lib/libGLU.so
|
||||
lib/libMesaGL_pic.a
|
||||
lib/libMesaGL.so
|
||||
lib/libMesaGL.so.3.0
|
||||
lib/libMesaGLU_pic.a
|
||||
lib/libMesaGLU.so
|
||||
lib/libMesaGLU.so.3.0
|
||||
lib/libglut_pic.a
|
||||
lib/libglut.so
|
||||
lib/libglut.so.3.7
|
||||
@dirrm include/GL
|
Loading…
x
Reference in New Issue
Block a user