Index: head/emulators/Makefile =================================================================== --- head/emulators/Makefile (revision 118784) +++ head/emulators/Makefile (revision 118785) @@ -1,120 +1,121 @@ # $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 += mupen64-gln64 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.141 \ No newline at end of property +1.142 \ No newline at end of property Index: head/emulators/mupen64-gln64/Makefile =================================================================== --- head/emulators/mupen64-gln64/Makefile (nonexistent) +++ head/emulators/mupen64-gln64/Makefile (revision 118785) @@ -0,0 +1,55 @@ +# New ports collection makefile for: mupen64-gln64 +# Date created: 11.Aug 2004 +# Whom: dirk.meyer@dinoex.sub.org +# +# $FreeBSD$ +# + +PORTNAME= mupen64 +PORTVERSION= 0.4.1 +CATEGORIES+= emulators +MASTER_SITES= http://mupen64.emulation64.com/files/0.4/ +PKGNAMESUFFIX= -gln64 +DISTNAME= glN64-${PORTVERSION}-rc2 + +MAINTAINER?= tlp@LiquidX.org +COMMENT= GlN64 graphics plugin for Mupen64 + +USE_BZIP2= yes +USE_REINPLACE= yes +USE_GMAKE= yes +USE_SDL= sdl +USE_GNOME= gtk12 +USE_GCC= 3.4 +ONLY_FOR_ARCHS= i386 + +PLUGIN_NAME= glN64-${PORTVERSION} +PLIST_FILES= share/mupen64/plugins/${PLUGIN_NAME}.so +PLIST_DIRS= share/mupen64/plugins +PLIST_DIRS+= share/mupen64 + +ALL_TARGET= ${PLUGIN_NAME}.so + +post-patch: + @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/DepthBuffer.cpp + +do-install: + @${MKDIR} ${PREFIX}/share/mupen64/plugins + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN_NAME}.so \ + ${PREFIX}/share/mupen64/plugins/ + +.include + +CFLAGS+= -I. -D__LINUX__ -D__USE_GNU `${SDL_CONFIG} --cflags` +CFLAGS+= -DUSE_GTK `${GTK_CONFIG} --cflags gtk gthread` `${GLIB_CONFIG} --cflags` -fPIC +CFLAGS+= -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -Wall -pipe +CFLAGS+= -DX86_ASM -mcpu=athlon +LDFLAGS+= -shared -Wl,-Bsymbolic +LDFLAGS+= `${SDL_CONFIG} --libs` `${GTK_CONFIG} --libs gtk gthread` `${GLIB_CONFIG} --libs` -lGL -lGLU + +MAKE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" LD="${CXX}" + +post-install: + @${CAT} ${PKGMESSAGE} + +.include Property changes on: head/emulators/mupen64-gln64/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-gln64/distinfo =================================================================== --- head/emulators/mupen64-gln64/distinfo (nonexistent) +++ head/emulators/mupen64-gln64/distinfo (revision 118785) @@ -0,0 +1,2 @@ +MD5 (glN64-0.4.1-rc2.tar.bz2) = 0cb22a6bce17723a18ab0b16118eb37a +SIZE (glN64-0.4.1-rc2.tar.bz2) = 137423 Property changes on: head/emulators/mupen64-gln64/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-gln64/files/patch-Combiner.cpp =================================================================== --- head/emulators/mupen64-gln64/files/patch-Combiner.cpp (nonexistent) +++ head/emulators/mupen64-gln64/files/patch-Combiner.cpp (revision 118785) @@ -0,0 +1,11 @@ +--- Combiner.cpp.orig Tue Sep 21 16:59:01 2004 ++++ Combiner.cpp Tue Sep 21 16:59:37 2004 +@@ -348,7 +348,7 @@ + void Combiner_SelectCombine( u64 mux ) + { + // Hack for the Banjo-Tooie shadow (framebuffer textures must be enabled too) +- if ((gDP.otherMode.cycleType == G_CYC_1CYCLE) && (mux == 0x00ffe7ffffcf9fcf) && (cache.current[0]->frameBufferTexture)) ++ if ((gDP.otherMode.cycleType == G_CYC_1CYCLE) && (mux == 0x00ffe7ffffcf9fcfLL) && (cache.current[0]->frameBufferTexture)) + { + mux = EncodeCombineMode( 0, 0, 0, 0, TEXEL0, 0, PRIMITIVE, 0, + 0, 0, 0, 0, TEXEL0, 0, PRIMITIVE, 0 ); Property changes on: head/emulators/mupen64-gln64/files/patch-Combiner.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-gln64/files/patch-Makefile =================================================================== --- head/emulators/mupen64-gln64/files/patch-Makefile (nonexistent) +++ head/emulators/mupen64-gln64/files/patch-Makefile (revision 118785) @@ -0,0 +1,21 @@ +--- Makefile.orig Sat Jul 3 22:34:59 2004 ++++ Makefile Thu Aug 12 16:48:48 2004 +@@ -1,13 +1,13 @@ + DEFINES = -D__LINUX__ -DX86_ASM +-CXX = g++ +-CXXFLAGS = -I. $(DEFINES) `sdl-config --cflags` `gtk-config --cflags gtk gthread` \ ++#CXX = g++ ++#CXXFLAGS = -I. $(DEFINES) `sdl-config --cflags` `gtk-config --cflags gtk gthread` \ + `glib-config --cflags` -finline-functions -funroll-loops \ + -ffast-math -fomit-frame-pointer -mcpu=`uname -m` -O3 + #CXXFLAGS = -I. $(DEFINES) `sdl-config --cflags` `gtk-config --cflags gtk gthread` \ + # `glib-config --cflags` -g3 #-DDEBUG +-LD = g++ +-LDFLAGS = -shared -Wl,-Bsymbolic +-LIBS = `sdl-config --libs` `gtk-config --libs gtk gthread` `glib-config --libs` -lGL -lGLU ++#LD = g++ ++#LDFLAGS = -shared -Wl,-Bsymbolic ++#LIBS = `sdl-config --libs` `gtk-config --libs gtk gthread` `glib-config --libs` -lGL -lGLU + TARGET = glN64-0.4.1.so + OBJECTS = 2xSAI.o \ + CRC.o \ Property changes on: head/emulators/mupen64-gln64/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-gln64/files/patch-winlnxdefs.h =================================================================== --- head/emulators/mupen64-gln64/files/patch-winlnxdefs.h (nonexistent) +++ head/emulators/mupen64-gln64/files/patch-winlnxdefs.h (revision 118785) @@ -0,0 +1,24 @@ +--- winlnxdefs.h.orig Thu Oct 16 01:01:08 2003 ++++ winlnxdefs.h Wed Sep 22 05:32:54 2004 +@@ -30,7 +30,9 @@ + #ifndef WINLNXDEFS_H + #define WINLNXDEFS_H + ++#ifndef __FreeBSD__ + #include // we want GNU extensions ++#endif + #include + #include + #include // PATH_MAX +@@ -113,7 +115,11 @@ + { + fprintf( stderr, "(WW) Couldn't get path of .so, trying to get emulator's path\n" ); + #endif // __USE_GNU ++#ifndef __FreeBSD__ + if (readlink( "/proc/self/exe", path, PATH_MAX ) == -1) ++#else ++ if (readlink( "/proc/curproc/file", path, PATH_MAX ) == -1) ++#endif // __FreeBSD__ + { + fprintf( stderr, "(WW) readlink() /proc/self/exe failed: %s\n", strerror( errno ) ); + path[0] = '.'; Property changes on: head/emulators/mupen64-gln64/files/patch-winlnxdefs.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-gln64/pkg-descr =================================================================== --- head/emulators/mupen64-gln64/pkg-descr (nonexistent) +++ head/emulators/mupen64-gln64/pkg-descr (revision 118785) @@ -0,0 +1,15 @@ +glN64 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-gln64/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-gln64/pkg-message =================================================================== --- head/emulators/mupen64-gln64/pkg-message (nonexistent) +++ head/emulators/mupen64-gln64/pkg-message (revision 118785) @@ -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-gln64/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