Index: head/emulators/Makefile =================================================================== --- head/emulators/Makefile (revision 118782) +++ head/emulators/Makefile (revision 118783) @@ -1,119 +1,120 @@ # $FreeBSD$ # COMMENT = Emulators for other operating systems SUBDIR += adamem SUBDIR += aftp SUBDIR += atari800 SUBDIR += basiliskII SUBDIR += bfe SUBDIR += bochs SUBDIR += bsvc SUBDIR += cinc SUBDIR += cingb SUBDIR += cpmemu SUBDIR += cpmtools SUBDIR += darcnes SUBDIR += dgen-sdl SUBDIR += dlx SUBDIR += dosbox SUBDIR += doscmd SUBDIR += extract-xiso SUBDIR += fceu SUBDIR += fmsx SUBDIR += frodo SUBDIR += fuse SUBDIR += gbe SUBDIR += generator SUBDIR += gngb SUBDIR += gnuboy SUBDIR += grustibus SUBDIR += gsnes9x SUBDIR += gxmame SUBDIR += hatari SUBDIR += hercules SUBDIR += hfs SUBDIR += hfsutils SUBDIR += ia64sim SUBDIR += ines SUBDIR += its SUBDIR += klh10 SUBDIR += kmamerun SUBDIR += lib765 SUBDIR += libspectrum SUBDIR += libvm68k SUBDIR += linux-geepee32 SUBDIR += linux-mupen64 SUBDIR += linux-peops-softgpu SUBDIR += linux-peops-spu SUBDIR += linux-pete-mesagpu SUBDIR += linux-vmware-toolbox2 SUBDIR += linux-vmware-toolbox4 SUBDIR += linux-winetools SUBDIR += linux_base SUBDIR += linux_base-6 SUBDIR += linux_base-8 SUBDIR += linux_base-debian SUBDIR += linux_base-gentoo-stage1 SUBDIR += mastergear SUBDIR += minivmac SUBDIR += mips64emul SUBDIR += mtools SUBDIR += mupen64-base SUBDIR += mupen64-dummyaudio + SUBDIR += mupen64-glide SUBDIR += osf1_base SUBDIR += p-interp SUBDIR += pcemu SUBDIR += pearpc SUBDIR += prodosemu SUBDIR += psim-freebsd SUBDIR += qcl SUBDIR += qemu SUBDIR += quasi88 SUBDIR += raine SUBDIR += rtc SUBDIR += sim SUBDIR += sim6811 SUBDIR += ski SUBDIR += snes9express SUBDIR += snes9x SUBDIR += spim SUBDIR += stella SUBDIR += stonx SUBDIR += svr4_base SUBDIR += tkhfs SUBDIR += tuxnes SUBDIR += twin SUBDIR += uae SUBDIR += vMac SUBDIR += vba SUBDIR += vgb SUBDIR += vgb-bin SUBDIR += vgba-bin SUBDIR += vice SUBDIR += visualos SUBDIR += vmips SUBDIR += vmsbackup SUBDIR += vmware-guestd3 SUBDIR += vmware-guestd4 SUBDIR += vmware-tools2 SUBDIR += vmware-tools3 SUBDIR += vmware-tools4 SUBDIR += vmware2 SUBDIR += vmware3 SUBDIR += vpce SUBDIR += vx68k SUBDIR += vxtools SUBDIR += wine SUBDIR += x48 SUBDIR += xbraitenberg SUBDIR += xgs SUBDIR += xmame SUBDIR += xmess SUBDIR += xsystem35 SUBDIR += xzx SUBDIR += yape SUBDIR += zsnes .include Property changes on: head/emulators/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.140 \ No newline at end of property +1.141 \ No newline at end of property Index: head/emulators/mupen64-glide/Makefile =================================================================== --- head/emulators/mupen64-glide/Makefile (nonexistent) +++ head/emulators/mupen64-glide/Makefile (revision 118783) @@ -0,0 +1,65 @@ +# New ports collection makefile for: mupen64-glide +# Date created: 11.Aug 2004 +# Whom: dirk.meyer@dinoex.sub.org +# +# $FreeBSD$ +# + +PORTNAME= mupen64 +PORTVERSION= 0.7 +CATEGORIES+= emulators +MASTER_SITES= http://mupen64.emulation64.com/files/0.4/ +PKGNAMESUFFIX= -glide +DISTNAME= glide64_0_7_ME + +MAINTAINER?= tlp@LiquidX.org +COMMENT= Glide64 graphics plugin for Mupen64 + +USE_BZIP2= yes +USE_REINPLACE= yes +USE_GMAKE= yes +USE_SDL= sdl +USE_GNOME= gtk12 +USE_XLIB= yes +USE_GCC= 3.4 +ONLY_FOR_ARCHS= i386 + +PLUGIN_NAME= Glide64 +PLIST_FILES= share/mupen64/plugins/${PLUGIN_NAME}.so +PLIST_FILES+= share/mupen64/plugins/${PLUGIN_NAME}.ini +PLIST_DIRS= share/mupen64/plugins +PLIST_DIRS+= share/mupen64 + +FIXME2= wrapper/main.cpp + +do-configure: +.for i in ${FIXME2} + ${REINPLACE_CMD} -e 's|SDL/SDL.h|SDL.h|' ${WRKSRC}/${i} +.endfor + +do-install: + @${MKDIR} ${PREFIX}/share/mupen64/plugins + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN_NAME}.so \ + ${PREFIX}/share/mupen64/plugins/ + ${INSTALL_DATA} ${WRKSRC}/${PLUGIN_NAME}.ini \ + ${PREFIX}/share/mupen64/plugins/ + +.include + +.if defined(X_WINDOW_SYSTEM) && ${X_WINDOW_SYSTEM:L} == xorg +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-main.cpp \ + ${FILESDIR}/extra-patch-main.h +.endif + +CFLAGS+= -Iwrapper/ `${SDL_CONFIG} --cflags` +CFLAGS+= -DUSE_GTK `${GTK_CONFIG} --cflags` -fPIC +CFLAGS+= -O3 -fomit-frame-pointer -funroll-loops -ffast-math -Wall -pipe +CFLAGS+= -DX86 -mcpu=athlon +LDFLAGS+= -lGL -lGLU -L${X11BASE}/lib `${SDL_CONFIG} --libs` -lc + +MAKE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" LD="${CXX}" + +post-install: + @${CAT} ${PKGMESSAGE} + +.include Property changes on: head/emulators/mupen64-glide/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/emulators/mupen64-glide/distinfo =================================================================== --- head/emulators/mupen64-glide/distinfo (nonexistent) +++ head/emulators/mupen64-glide/distinfo (revision 118783) @@ -0,0 +1,2 @@ +MD5 (glide64_0_7_ME.tar.bz2) = 3078c5c3f960728f99af825ab0af69e0 +SIZE (glide64_0_7_ME.tar.bz2) = 231051 Property changes on: head/emulators/mupen64-glide/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/emulators/mupen64-glide/files/extra-patch-main.cpp =================================================================== --- head/emulators/mupen64-glide/files/extra-patch-main.cpp (nonexistent) +++ head/emulators/mupen64-glide/files/extra-patch-main.cpp (revision 118783) @@ -0,0 +1,41 @@ +--- wrapper/main.cpp.orig Fri Jul 2 21:57:48 2004 ++++ wrapper/main.cpp Fri Aug 13 21:21:15 2004 +@@ -3,7 +3,7 @@ + #include + #include + #include +-#include ++#include + #endif // _WIN32 + #include "glide.h" + #include +@@ -20,9 +20,13 @@ + #endif // _WIN32 + + ++#ifndef __FreeBSD__ + PFNGLACTIVETEXTUREARBPROC glActiveTextureARB; ++#endif + PFNGLBLENDFUNCSEPARATEEXTPROC glBlendFuncSeparateEXT; ++#ifndef __FreeBSD__ + PFNGLMULTITEXCOORD2FARBPROC glMultiTexCoord2fARB; ++#endif + PFNGLFOGCOORDFPROC glFogCoordfEXT; + #ifdef _WIN32 + PFNWGLGETEXTENSIONSSTRINGARBPROC wglGetExtensionsStringARB; +@@ -501,6 +505,7 @@ + if (isExtensionSupported("GL_ARB_texture_mirrored_repeat") == FALSE) + display_warning((unsigned char*)"Your video card doesn't support GL_ARB_texture_mirrored_repeat extension"); + ++#ifndef __FreeBSD__ + #ifdef _WIN32 + glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)wglGetProcAddress("glActiveTextureARB"); + glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)wglGetProcAddress("glMultiTexCoord2fARB"); +@@ -508,6 +513,7 @@ + glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)SDL_GL_GetProcAddress("glActiveTextureARB"); + glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)SDL_GL_GetProcAddress("glMultiTexCoord2fARB"); + #endif // _WIN32 ++#endif + glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB, &nbTextureUnits); + if (nbTextureUnits == 1) display_warning((unsigned char*)"You need a video card that has at least 2 texture units"); + Property changes on: head/emulators/mupen64-glide/files/extra-patch-main.cpp ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/emulators/mupen64-glide/files/extra-patch-main.h =================================================================== --- head/emulators/mupen64-glide/files/extra-patch-main.h (nonexistent) +++ head/emulators/mupen64-glide/files/extra-patch-main.h (revision 118783) @@ -0,0 +1,13 @@ +--- wrapper/main.h.orig Sun Jun 20 21:08:48 2004 ++++ wrapper/main.h Fri Aug 13 21:17:22 2004 +@@ -16,8 +16,10 @@ + void updateCombinera(int i); + + //#ifdef _WIN32 ++#ifndef __FreeBSD__ + extern PFNGLACTIVETEXTUREARBPROC glActiveTextureARB; + extern PFNGLMULTITEXCOORD2FARBPROC glMultiTexCoord2fARB; ++#endif + extern PFNGLBLENDFUNCSEPARATEEXTPROC glBlendFuncSeparateEXT; + extern PFNGLFOGCOORDFPROC glFogCoordfEXT; + //#endif // _WIN32 Property changes on: head/emulators/mupen64-glide/files/extra-patch-main.h ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/emulators/mupen64-glide/files/patch-Makefile =================================================================== --- head/emulators/mupen64-glide/files/patch-Makefile (nonexistent) +++ head/emulators/mupen64-glide/files/patch-Makefile (revision 118783) @@ -0,0 +1,19 @@ +--- Makefile.orig Sat Jul 3 23:07:06 2004 ++++ Makefile Thu Aug 12 17:06:38 2004 +@@ -1,11 +1,11 @@ +-CC = gcc ++#CC = gcc + #CFLAGS = -DUSE_GTK `sdl-config --cflags` `gtk-config --cflags` -Iwrapper/ -g -mmmx -msse + #CFLAGS = -DUSE_GTK `sdl-config --cflags` `gtk-config --cflags` -Iwrapper/ -O3 -mcpu=athlon -ffast-math -funroll-loops -fomit-frame-pointer -msse -mmmx +-CFLAGS = -DUSE_GTK `sdl-config --cflags` `gtk-config --cflags` -Iwrapper/ -O3 -mcpu=athlon -ffast-math -funroll-loops -fomit-frame-pointer -msse -mmmx +-CXX = g++ ++#CFLAGS = -DUSE_GTK `sdl-config --cflags` `gtk-config --cflags` -Iwrapper/ -O3 -mcpu=athlon -ffast-math -funroll-loops -fomit-frame-pointer -msse -mmmx ++#CXX = g++ + CPPFLAGS = $(CFLAGS) +-LD = g++ +-LDFLAGS = -lGL -lGLU -L/usr/X11R6/lib -lSDL ++#LD = g++ ++#LDFLAGS = -lGL -lGLU -L/usr/X11R6/lib -lSDL + + OBJECTS = Main.o \ + rdp.o \ Property changes on: head/emulators/mupen64-glide/files/patch-Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/emulators/mupen64-glide/files/patch-glidesys.h =================================================================== --- head/emulators/mupen64-glide/files/patch-glidesys.h (nonexistent) +++ head/emulators/mupen64-glide/files/patch-glidesys.h (revision 118783) @@ -0,0 +1,11 @@ +--- wrapper/glidesys.h.orig Sun Jun 13 23:58:12 2004 ++++ wrapper/glidesys.h Thu Aug 12 17:14:11 2004 +@@ -96,7 +96,7 @@ + #endif + + /* Check for OS */ +-#if defined(__IRIX__) || defined(__sparc__) || defined(__linux__) ++#if defined(__IRIX__) || defined(__sparc__) || defined(__linux__) || defined(__FreeBSD__) + # define GLIDE_OS GLIDE_OS_UNIX + #elif defined(__DOS__) + # define GLIDE_OS GLIDE_OS_DOS32 Property changes on: head/emulators/mupen64-glide/files/patch-glidesys.h ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/emulators/mupen64-glide/pkg-descr =================================================================== --- head/emulators/mupen64-glide/pkg-descr (nonexistent) +++ head/emulators/mupen64-glide/pkg-descr (revision 118783) @@ -0,0 +1,15 @@ +Glide64 graphics plugin for Mupen64 +- +Mupen64 is a highly portable Nintendo 64 emulator. It has been developed +on/for Linux originally but has already been ported successfully to other +operating systems. The program can easily be ported to all operating systems +supported by the SDL library. + +In its current state, the emulator is highly compatible and uses a plugin +system. With the correct plugins ("correct" can be computer dependent), it +can achieve nearly perfect graphics and sound in many games. + +WWW: http://mupen64.emulation64.com/ + +- Travis Poppe +tlp@liquidx.org Property changes on: head/emulators/mupen64-glide/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/emulators/mupen64-glide/pkg-message =================================================================== --- head/emulators/mupen64-glide/pkg-message (nonexistent) +++ head/emulators/mupen64-glide/pkg-message (revision 118783) @@ -0,0 +1,9 @@ +------------------------------------------------------------------------------- +If you have installed/upgraded any new plugins or are upgrading from a previous +version of Mupen64, please note that in order for these changes to take effect, +you -must- backup and then remove ~/.mupen64 first. After you have removed the +directory, run 'mupen64' to re-create it. Then, manually copy back your save +files/other data you need from the backup if necessary. + +Enjoy! +------------------------------------------------------------------------------- Property changes on: head/emulators/mupen64-glide/pkg-message ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property