diff options
author | Rene Ladan <rene@FreeBSD.org> | 2014-04-24 21:44:24 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2014-04-24 21:44:24 +0000 |
commit | ce5e8e1754e29aa5619cd59047cb92f030540c00 (patch) | |
tree | 0fb3e3028cc500b5de47f8715106a1f92011d8c8 /emulators | |
parent | c79d7c5e3d7abb90d8d216ca1b78b5afbf5283f2 (diff) | |
download | ports-ce5e8e1754e29aa5619cd59047cb92f030540c00.tar.gz ports-ce5e8e1754e29aa5619cd59047cb92f030540c00.zip |
Notes
Diffstat (limited to 'emulators')
30 files changed, 0 insertions, 1010 deletions
diff --git a/emulators/Makefile b/emulators/Makefile index 29efa27f3499..dbff22295563 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -83,19 +83,7 @@ SUBDIR += mess SUBDIR += minivmac SUBDIR += mtools - SUBDIR += mupen64 - SUBDIR += mupen64-base - SUBDIR += mupen64-dummyaudio - SUBDIR += mupen64-glide - SUBDIR += mupen64-gln64 - SUBDIR += mupen64-input SUBDIR += mupen64-rice - SUBDIR += mupen64-rsp - SUBDIR += mupen64-sdlaudio - SUBDIR += mupen64-sdlinput - SUBDIR += mupen64-softgfx - SUBDIR += mupen64-sound - SUBDIR += mupen64-tr64 SUBDIR += mupen64plus SUBDIR += mupen64plus-audio-sdl SUBDIR += mupen64plus-core diff --git a/emulators/mupen64-base/Makefile b/emulators/mupen64-base/Makefile deleted file mode 100644 index 7f95a478fefa..000000000000 --- a/emulators/mupen64-base/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# $FreeBSD$ - -PORTNAME= mupen64 -PORTVERSION?= 0.5 -PORTREVISION?= 2 -CATEGORIES= emulators -MASTER_SITES= http://mupen64.emulation64.com/files/${MUPEN64VERSION}/ \ - ${MASTER_SITE_GENTOO:S|$|distfiles/|} -PKGNAMESUFFIX?= -base -DISTNAME?= ${PORTNAME}_src-${PORTVERSION} -DIST_SUBDIR= ${PORTNAME} - -MAINTAINER?= acm@FreeBSD.org -COMMENT?= Mupen64 is a Nintendo 64 emulator - -USES= gmake -USE_GNOME?= # -USE_GL?= # -USE_SDL?= # -USE_BZIP2= yes -ONLY_FOR_ARCHS= i386 - -MAKE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" - -MUPEN64VERSION= 0.5 -FIXFILES?= r4300/r4300.c memory/dma.c r4300/recomp.c r4300/x86/assemble.c - -OPTIONS_DEFINE= GTK2 -GTK2_DESC= Use gtk20 instead of gtk12 - -NO_STAGE= yes - -DEPRECATED= Use mupen64plus instead -EXPIRATION_DATE=2014-04-23 - -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MGTK2} -HAVE_GTK2= true -.endif - -.include "${MASTERDIR}/Makefile.common" - -.include <bsd.port.post.mk> diff --git a/emulators/mupen64-base/Makefile.common b/emulators/mupen64-base/Makefile.common deleted file mode 100644 index 59a65760dc6e..000000000000 --- a/emulators/mupen64-base/Makefile.common +++ /dev/null @@ -1,140 +0,0 @@ -USE_DOS2UNIX= *.c *.cpp *.h *.H *.ini - -DISTNAME= ${PORTNAME}_src-${MUPEN64VERSION} -PATCHDIR= ${.CURDIR}/files -WRKSRC?= ${WRKDIR}/${DISTNAME} - -EXTRACT_AFTER_ARGS= ${DISTNAME}/Makefile ${DISTNAME}/config.h \ - ${DISTNAME}/main ${DISTNAME}/plugins - -.if defined(HAVE_GTK2) -.include <${PORTSDIR}/Mk/bsd.gnome.mk> -USE_GNOME= gtk20 -USES+= pkgconfig -.else -.include <${PORTSDIR}/Mk/bsd.gnome.mk> -USE_GNOME= gtk12 -.endif - -.if ${PKGNAMESUFFIX} == "-base" -USE_GL= yes -USE_SDL= sdl -ALL_TARGET= mupen64 mupen64_nogui -EXTRACT_AFTER_ARGS+= ${DISTNAME}/doc ${DISTNAME}/lang ${DISTNAME}/logo.xpm \ - ${DISTNAME}/memory ${DISTNAME}/mupen64.ini ${DISTNAME}/r4300 \ - ${DISTNAME}/whatsnew.txt -.else -EXTRA_PATCHES?= ${.CURDIR}/../mupen64-base/files/patch-Makefile -PLIST= ${WRKDIR}/pkg-plist -.endif - -.if ${PKGNAMESUFFIX} == "-dummyaudio" -ALL_TARGET= plugins/dummyaudio.so -EXTRACT_AFTER_ARGS+= ${DISTNAME}/dummy_audio -.endif - -.if ${PKGNAMESUFFIX} == "-sdlinput" -ALL_TARGET= plugins/blight_input.so -EXTRACT_AFTER_ARGS+= ${DISTNAME}/blight_input -.endif - -.if ${PKGNAMESUFFIX} == "-gln64" -ALL_TARGET= plugins/glN64.so -EXTRACT_AFTER_ARGS+= ${DISTNAME}/glN64 -.endif - -.if ${PKGNAMESUFFIX} == "-sdlaudio" -ALL_TARGET= plugins/jttl_audio.so -EXTRACT_AFTER_ARGS+= ${DISTNAME}/jttl_audio -.endif - -.if ${PKGNAMESUFFIX} == "-sound" -ALL_TARGET= plugins/mupen64_audio.so -EXTRACT_AFTER_ARGS+= ${DISTNAME}/mupen64_audio -.endif - -.if ${PKGNAMESUFFIX} == "-input" -ALL_TARGET= plugins/mupen64_input.so -EXTRACT_AFTER_ARGS+= ${DISTNAME}/mupen64_input -.endif - -.if ${PKGNAMESUFFIX} == "-softgfx" -ALL_TARGET= plugins/mupen64_soft_gfx.so -EXTRACT_AFTER_ARGS+= ${DISTNAME}/mupen64_soft_gfx -.endif - -.if ${PKGNAMESUFFIX} == "-rsp" -ALL_TARGET= plugins/mupen64_hle_rsp_azimer.so -EXTRACT_AFTER_ARGS+= ${DISTNAME}/rsp_hle -.endif - -.if ${PKGNAMESUFFIX} == "-glide" -ALL_TARGET= plugins/Glide64.so - -DISTINFO_FILE= ${.CURDIR}/distinfo -DISTNAME= ${PKGNAMESUFFIX:S/-//:S/$/64/}-${PORTVERSION:S/$/.SP8/} - -EXTRACT_AFTER_ARGS= # -EXTRA_PATCHES= # -.endif - -.if ${PKGNAMESUFFIX} == "-tr64" -ALL_TARGET= plugins/tr64gl.so - -DISTINFO_FILE= ${.CURDIR}/distinfo -DISTNAME= ${PKGNAMESUFFIX:S/-//}_ogl_gtk2-${PORTVERSION} - -EXTRACT_AFTER_ARGS= # -EXTRA_PATCHES= # - -WRKSRC= ${WRKDIR}/${PKGNAMESUFFIX:S/-//}_ogl-${PORTVERSION} -.endif - - -post-configure: - @${REINPLACE_CMD} -i "" -e 's|^#undef WITH_HOME|#define WITH_HOME \"${PREFIX}/\"|g' ${WRKSRC}/config.h - -.if !defined(HAVE_GTK2) - @${REINPLACE_CMD} -i "" -e 's|^#define GTK2_SUPPORT 1|#undef GTK2_SUPPORT|g' ${WRKSRC}/config.h -.endif - -.for f in ${FIXFILES} - @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/${f} - @${REINPLACE_CMD} -e 's|(GLvoid)|(void)|' ${WRKSRC}/${f} -.endfor - -.if ${PKGNAMESUFFIX} != "-base" -pre-install: - @${RM} -f ${PLIST} -. if ${PKGNAMESUFFIX} == "-glide" - @${ECHO_CMD} "%%DATADIR%%/plugins/${PLUGIN_NAME}.ini" >> ${PLIST} -. endif - - @${ECHO_CMD} "%%DATADIR%%/plugins/${PLUGIN_NAME}.so" >> ${PLIST} - @${ECHO_CMD} "@dirrmtry %%DATADIR%%/plugins" >> ${PLIST} - @${ECHO_CMD} "@dirrmtry %%DATADIR%%" >> ${PLIST} -.endif - -do-install: -.if ${PKGNAMESUFFIX} == "-base" - @${MKDIR} ${DATADIR}/lang - - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}_nogui ${PREFIX}/bin/ - - ${INSTALL_DATA} ${WRKSRC}/mupen64.ini ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/lang/* ${DATADIR}/lang/ - -. if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/whatsnew.txt ${DOCSDIR}/whatsnew.txt - ${INSTALL_DATA} ${WRKSRC}/doc/readme.pdf ${DOCSDIR}/readme.pdf -. endif -.else - @${MKDIR} ${DATADIR}/plugins -. if ${PKGNAMESUFFIX} == "-glide" - ${INSTALL_DATA} ${WRKSRC}/${PLUGIN_NAME}.ini ${DATADIR}/plugins/ -. endif - - ${INSTALL_PROGRAM} ${WRKSRC}/plugins/${PLUGIN_NAME}.so ${DATADIR}/plugins/ -.endif diff --git a/emulators/mupen64-base/distinfo b/emulators/mupen64-base/distinfo deleted file mode 100644 index b2e7fe0afe06..000000000000 --- a/emulators/mupen64-base/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (mupen64/mupen64_src-0.5.tar.bz2) = 1b8e4188ab7a94d8125b77aed8725ee348c24818622b881adfe16be510487dfd -SIZE (mupen64/mupen64_src-0.5.tar.bz2) = 1981046 diff --git a/emulators/mupen64-base/files/patch-Makefile b/emulators/mupen64-base/files/patch-Makefile deleted file mode 100644 index 69cefd17142d..000000000000 --- a/emulators/mupen64-base/files/patch-Makefile +++ /dev/null @@ -1,272 +0,0 @@ ---- Makefile.orig 2005-08-26 14:52:13.000000000 -0500 -+++ Makefile 2007-10-08 18:29:37.000000000 -0500 -@@ -1,14 +1,9 @@ - #Makefile MUPEN64 for Linux - --CC =gcc --CXX =g++ -+CC ?=gcc -+CXX ?=g++ - --#CFLAGS =-DX86 -O3 -mpentium -Wall -DEMU64_DEBUG --CFLAGS =-DX86 -O3 -fexpensive-optimizations -fomit-frame-pointer -funroll-loops -ffast-math -fno-strict-aliasing -mcpu=athlon -Wall -pipe --#CFLAGS =-DX86 -O3 -mcpu=pentium -Wall -g -pg --#CFLAGS =-DX86 -Wall -pipe -g3 -DEMU64_DEBUG --#CFLAGS =-DX86 -Wall -pipe -g -DEMU64_DEBUG -DCOMPARE_CORE --#CFLAGS =-DX86 -Wall -pipe -g -+CFLAGS +=-DX86 -fexpensive-optimizations -fomit-frame-pointer -funroll-loops -ffast-math -fno-strict-aliasing -Wall - - CXXFLAGS =$(CFLAGS) - -@@ -156,9 +151,9 @@ - LIB =-lz -lm - - ifneq ("$(shell grep GTK2 config.h)","\#define GTK2_SUPPORT 1") --GTK_FLAGS =`gtk-config --cflags` --GTK_LIBS =`gtk-config --libs` --GTHREAD_LIBS =`gtk-config --libs gtk gthread` -+GTK_FLAGS =`${GTK_CONFIG} --cflags` -+GTK_LIBS =`${GTK_CONFIG} --libs` -+GTHREAD_LIBS =`${GTK_CONFIG} --libs gtk gthread` - else - GTK_FLAGS =`pkg-config gtk+-2.0 --cflags` -D_GTK2 - GTK_LIBS =`pkg-config gtk+-2.0 --libs` -@@ -173,16 +168,16 @@ - all: mupen64 mupen64_nogui $(PLUGINS) - - r4300/interupt.o: r4300/interupt.c -- $(CC) $(CFLAGS) `sdl-config --cflags` -c -o $@ $< -+ $(CC) $(CFLAGS) `${SDL_CONFIG} --cflags` -c -o $@ $< - - main/main.o: main/main.c -- $(CC) $(CFLAGS) -c -o $@ $< `sdl-config --cflags` -+ $(CC) $(CFLAGS) -c -o $@ $< `${SDL_CONFIG} --cflags` - - main/main_gtk.o: main/main_gtk.c -- $(CC) $(CFLAGS) -c -o $@ $< $(GTK_FLAGS) `sdl-config --cflags` -+ $(CC) $(CFLAGS) -c -o $@ $< $(GTK_FLAGS) `${SDL_CONFIG} --cflags` - - main/gui_gtk/main_gtk.o: main/gui_gtk/main_gtk.c -- $(CC) $(CFLAGS) -c -o $@ $< $(GTK_FLAGS) `sdl-config --cflags` -+ $(CC) $(CFLAGS) -c -o $@ $< $(GTK_FLAGS) `${SDL_CONFIG} --cflags` - - main/gui_gtk/translate.o: main/gui_gtk/translate.c - $(CC) $(CFLAGS) -c -o $@ $< $(GTK_FLAGS) -@@ -218,13 +213,13 @@ - $(CXX) $(CXXFLAGS) -c -o $@ $< `avifile-config --cflags` - - mupen64_input/main.o: mupen64_input/main.c -- $(CC) $(CFLAGS) -DUSE_GTK -c -o $@ $< $(GTK_FLAGS) `sdl-config --cflags` -+ $(CC) $(CFLAGS) -DUSE_GTK -c -o $@ $< $(GTK_FLAGS) `${SDL_CONFIG} --cflags` - - blight_input/plugin.o: blight_input/plugin.c -- $(CC) $(CFLAGS) "-DPACKAGE=\"$(shell grep PACKAGE blight_input/package | cut -d "=" -f 2)\"" "-DVERSION=\"$(shell grep VERSION blight_input/package | cut -d "=" -f 2)\"" `sdl-config --cflags` -DGUI_SDL -c -o $@ $< -+ $(CC) $(CFLAGS) "-DPACKAGE=\"$(shell grep PACKAGE blight_input/package | cut -d "=" -f 2)\"" "-DVERSION=\"$(shell grep VERSION blight_input/package | cut -d "=" -f 2)\"" `${SDL_CONFIG} --cflags` -DGUI_SDL -c -o $@ $< - - blight_input/SDL_ttf.o: blight_input/SDL_ttf.c -- $(CC) $(CFLAGS) `freetype-config --cflags` `sdl-config --cflags` -c -o $@ $< -+ $(CC) $(CFLAGS) `freetype-config --cflags` `${SDL_CONFIG} --cflags` -c -o $@ $< - - blight_input/arial.ttf.o: blight_input/arial.ttf.c - -@@ -234,10 +229,9 @@ - - blight_input/ttftoh: blight_input/ttftoh.o - $(CC) $^ -o $@ -- strip --strip-all $@ - - blight_input/configdialog_sdl.o: blight_input/configdialog_sdl.c -- $(CC) $(CFLAGS) "-DPACKAGE=\"$(shell grep PACKAGE blight_input/package | cut -d "=" -f 2)\"" "-DVERSION=\"$(shell grep VERSION blight_input/package | cut -d "=" -f 2)\"" -DGUI_SDL `sdl-config --cflags` -c -o $@ $< -+ $(CC) $(CFLAGS) "-DPACKAGE=\"$(shell grep PACKAGE blight_input/package | cut -d "=" -f 2)\"" "-DVERSION=\"$(shell grep VERSION blight_input/package | cut -d "=" -f 2)\"" -DGUI_SDL `${SDL_CONFIG} --cflags` -c -o $@ $< - - blight_input/pad.o: blight_input/pad.c - $(CC) $(CFLAGS) -DGUI_SDL -c -o $@ $< -@@ -249,150 +243,138 @@ - $(CC) $(CFLAGS) $(GTK_FLAGS) -DUSE_GTK -c -o $@ $< - - jttl_audio/main.o: jttl_audio/main.c -- $(CC) $(CFLAGS) $(GTK_FLAGS) -DUSE_GTK `sdl-config --cflags` -c -o $@ $< -+ $(CC) $(CFLAGS) $(GTK_FLAGS) -DUSE_GTK `${SDL_CONFIG} --cflags` -c -o $@ $< - - mupen64_soft_gfx/main.o: mupen64_soft_gfx/main.cpp -- $(CXX) $(CFLAGS) `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) `${SDL_CONFIG} --cflags` -c -o $@ $< - - mupen64_soft_gfx/vi_SDL.o: mupen64_soft_gfx/vi_SDL.cpp -- $(CXX) $(CFLAGS) `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/glN64.o: glN64/glN64.cpp -- $(CXX) $(CFLAGS) -DMAINDEF -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -DMAINDEF -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/Config_linux.o: glN64/Config_linux.cpp -- $(CXX) $(CFLAGS) $(GTK_FLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) $(GTK_FLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/OpenGL.o: glN64/OpenGL.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/N64.o: glN64/N64.cpp - $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM -c -o $@ $< - - glN64/RSP.o: glN64/RSP.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/VI.o: glN64/VI.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/Textures.o: glN64/Textures.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/FrameBuffer.o: glN64/FrameBuffer.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/Combiner.o: glN64/Combiner.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/gDP.o: glN64/gDP.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/gSP.o: glN64/gSP.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/GBI.o: glN64/GBI.cpp -- $(CXX) $(CFLAGS) $(GTK_FLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) $(GTK_FLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/CRC.o: glN64/CRC.cpp - $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM -c -o $@ $< - - glN64/NV_register_combiners.o: glN64/NV_register_combiners.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/texture_env.o: glN64/texture_env.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/texture_env_combine.o: glN64/texture_env_combine.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/RDP.o: glN64/RDP.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/F3D.o: glN64/F3D.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/F3DEX.o: glN64/F3DEX.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/F3DEX2.o: glN64/F3DEX2.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/L3D.o: glN64/L3D.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/L3DEX.o: glN64/L3DEX.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/L3DEX2.o: glN64/L3DEX2.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/S2DEX.o: glN64/S2DEX.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/S2DEX2.o: glN64/S2DEX2.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/F3DPD.o: glN64/F3DPD.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/F3DDKR.o: glN64/F3DDKR.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - glN64/F3DWRUS.o: glN64/F3DWRUS.cpp -- $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `sdl-config --cflags` -c -o $@ $< -+ $(CXX) $(CFLAGS) -D__LINUX__ -DX86_ASM `${SDL_CONFIG} --cflags` -c -o $@ $< - - mupen64_nogui: $(OBJ) $(OBJ_X86) main/main.o main/gui_gtk/config.o -- $(CC) $^ $(LIB) -Wl,-export-dynamic -L/usr/X11R6/lib `sdl-config --libs` -lGL -lpthread -ldl -o $@ -- strip --strip-all $@ -+ $(CC) $^ $(LIB) -Wl,-export-dynamic -L/usr/X11R6/lib `${SDL_CONFIG} --libs` -lGL -o $@ - - ifneq ("$(shell grep VCR config.h)","\#define VCR_SUPPORT 1") - - mupen64: $(OBJ) $(OBJ_X86) $(OBJ_GTK_GUI) -- $(CC) $^ $(CFLAGS) $(LIB) -Wl,-export-dynamic $(GTK_LIBS) -L/usr/X11R6/lib `sdl-config --libs` -lGL -lpthread -ldl -o $@ -- strip --strip-all $@ -+ $(CC) $^ $(CFLAGS) $(LIB) -Wl,-export-dynamic $(GTK_LIBS) -L/usr/X11R6/lib `${SDL_CONFIG} --libs` -lGL -o $@ - - else - - mupen64: $(OBJ) $(OBJ_X86) $(OBJ_GTK_GUI) $(OBJ_VCR) -- $(CXX) $^ $(CFLAGS) $(LIB) -Wl,-export-dynamic $(GTK_LIBS) `avifile-config --libs` `sdl-config --libs` -L/usr/X11R6/lib -lGL -lpthread -ldl -o $@ -- strip --strip-all $@ -+ $(CXX) $^ $(CFLAGS) $(LIB) -Wl,-export-dynamic $(GTK_LIBS) `avifile-config --libs` `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib -lGL -o $@ - endif - - mupen64_oldgui: $(OBJ) $(OBJ_X86) main/main_gtk.o -- $(CC) $^ $(LIB) -Wl,-export-dynamic $(GTK_LIBS) `sdl-config --libs` -L/usr/X11R6/lib -lGL -lpthread -ldl -o $@ -- strip --strip-all $@ -+ $(CC) $^ $(LIB) -Wl,-export-dynamic $(GTK_LIBS) `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib -lGL -o $@ - - plugins/mupen64_input.so: $(OBJ_INPUT) - $(CC) $^ -Wl,-Bsymbolic -shared $(GTK_LIBS) -o $@ -- strip --strip-all $@ - - plugins/blight_input.so: $(OBJ_BLIGHT) -- $(CC) $^ -Wl,-Bsymbolic -shared `sdl-config --libs` `freetype-config --libs` -o $@ -- strip --strip-all $@ -+ $(CC) $^ -Wl,-Bsymbolic -shared `${SDL_CONFIG} --libs` `freetype-config --libs` -o $@ - - plugins/mupen64_hle_rsp_azimer.so: $(OBJ_RSPHLE) - $(CXX) $^ -Wl,-Bsymbolic -shared $(GTK_LIBS) -o $@ -- strip --strip-all $@ - - plugins/dummyaudio.so: $(OBJ_DUMMY) - $(CC) $^ -Wl,-Bsymbolic -shared -o $@ -- strip --strip-all $@ - - plugins/mupen64_audio.so: $(OBJ_AUDIO) -- $(CC) $(GTK_LIBS) -lpthread $^ -Wl,-Bsymbolic -shared -o $@ -- strip --strip-all $@ -+ $(CC) $(GTK_LIBS) ${PTHREAD_LIBS} $^ -Wl,-Bsymbolic -shared -o $@ - - plugins/jttl_audio.so: $(OBJ_JTTL) -- $(CC) $^ -Wl,-Bsymbolic -shared `sdl-config --libs` $(GTK_LIBS) -o $@ -- strip --strip-all $@ -+ $(CC) $^ -Wl,-Bsymbolic -shared `${SDL_CONFIG} --libs` $(GTK_LIBS) -o $@ - - plugins/mupen64_soft_gfx.so: $(OBJ_SOFT_GFX) -- $(CXX) `sdl-config --libs` $^ -Wl,-Bsymbolic -shared -o $@ -- strip --strip-all $@ -+ $(CXX) `${SDL_CONFIG} --libs` $^ -Wl,-Bsymbolic -shared -o $@ - - plugins/glN64.so: $(OBJ_GLN64) -- $(CXX) $^ -Wl,-Bsymbolic -shared $(GTK_LIBS) $(GTHREAD_LIBS) `sdl-config --libs` -lGL -o $@ -- strip --strip-all $@ -+ $(CXX) $^ -Wl,-Bsymbolic -shared $(GTK_LIBS) $(GTHREAD_LIBS) `${SDL_CONFIG} --libs` -lGL -o $@ - - install: - cp mupen64 "$(PREFIX)bin" diff --git a/emulators/mupen64-base/files/patch-main_main.c b/emulators/mupen64-base/files/patch-main_main.c deleted file mode 100644 index 09de01dc3d14..000000000000 --- a/emulators/mupen64-base/files/patch-main_main.c +++ /dev/null @@ -1,10 +0,0 @@ ---- main/main.c 2007-10-08 01:28:18.000000000 -0500 -+++ main/main.c 2007-10-08 01:28:42.000000000 -0500 -@@ -37,6 +37,7 @@ - - #include <stdlib.h> - #include <unistd.h> -+#include <dirent.h> - - #include "main.h" - #include "guifuncs.h" diff --git a/emulators/mupen64-base/pkg-descr b/emulators/mupen64-base/pkg-descr deleted file mode 100644 index bf94f2ff6268..000000000000 --- a/emulators/mupen64-base/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -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/ diff --git a/emulators/mupen64-base/pkg-plist b/emulators/mupen64-base/pkg-plist deleted file mode 100644 index 78ad8d27efee..000000000000 --- a/emulators/mupen64-base/pkg-plist +++ /dev/null @@ -1,16 +0,0 @@ -bin/mupen64 -bin/mupen64_nogui -%%DATADIR%%/mupen64.ini -%%DATADIR%%/lang/catalan.lng -%%DATADIR%%/lang/dutch.lng -%%DATADIR%%/lang/english.lng -%%DATADIR%%/lang/french.lng -%%DATADIR%%/lang/german.lng -%%DATADIR%%/lang/italian.lng -%%DATADIR%%/lang/pt_BR.lng -%%DATADIR%%/lang/spanish.lng -%%PORTDOCS%%%%DOCSDIR%%/whatsnew.txt -%%PORTDOCS%%%%DOCSDIR%%/readme.pdf -@dirrm %%DATADIR%%/lang -@dirrmtry %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/emulators/mupen64-dummyaudio/Makefile b/emulators/mupen64-dummyaudio/Makefile deleted file mode 100644 index a77624308fe9..000000000000 --- a/emulators/mupen64-dummyaudio/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# $FreeBSD$ - -PKGNAMESUFFIX= -dummyaudio - -COMMENT= Dummy audio plugin for Mupen64 - -FIXFILES= # - -PLUGIN_NAME= dummyaudio - -MASTERDIR= ${.CURDIR}/../mupen64-base - -OPTIONS_SLAVE= GTK2 - -NO_STAGE= yes -.include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64-glide/Makefile b/emulators/mupen64-glide/Makefile deleted file mode 100644 index 3a8f1137e36d..000000000000 --- a/emulators/mupen64-glide/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# $FreeBSD$ - -PORTVERSION= 0.7 -PORTREVISION= 7 -PKGNAMESUFFIX= -glide - -COMMENT= Glide64 graphics plugin for Mupen64 - -BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm - -BROKEN= Fails to patch -USE_SDL= sdl -USE_GL= yes - -FIXFILES= # - -PLUGIN_NAME= Glide64 - -MASTERDIR= ${.CURDIR}/../mupen64-base - -OPTIONS_SLAVE= GTK2 - -NO_STAGE= yes -.include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64-glide/distinfo b/emulators/mupen64-glide/distinfo deleted file mode 100644 index f436cb3264ca..000000000000 --- a/emulators/mupen64-glide/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (mupen64/glide64-0.7.SP8.tar.bz2) = bdf260a3317a229622f5e84ce5af924246f174356fe6ab1fba45c1e17b6374b3 -SIZE (mupen64/glide64-0.7.SP8.tar.bz2) = 255222 diff --git a/emulators/mupen64-glide/files/patch-Makefile b/emulators/mupen64-glide/files/patch-Makefile deleted file mode 100644 index 5713a38e3bfa..000000000000 --- a/emulators/mupen64-glide/files/patch-Makefile +++ /dev/null @@ -1,57 +0,0 @@ ---- Makefile.orig 2005-08-26 13:53:25.000000000 -0500 -+++ Makefile 2007-10-09 01:54:33.000000000 -0500 -@@ -1,22 +1,18 @@ - ifneq ("$(shell grep GTK2 config.h)","\#define GTK2_SUPPORT 1") --GTK_FLAGS = `gtk-config --cflags` --GTK_LIBS = `gtk-config --libs` -+GTK_FLAGS = `${GTK_CONFIG} --cflags` -+GTK_LIBS = `${GTK_CONFIG} --libs` - else - GTK_FLAGS = `pkg-config gtk+-2.0 --cflags` -D_GTK2 - GTK_LIBS = `pkg-config gtk+-2.0 --libs` - endif - --CC = gcc --#CFLAGS = -DUSE_GTK `sdl-config --cflags` $(GTK_FLAGS) -Iwrapper/ -g -mmmx -msse --#CFLAGS = -DUSE_GTK `sdl-config --cflags` $(GTK_FLAGS) -Iwrapper/ -O3 -mcpu=athlon -ffast-math -funroll-loops -fomit-frame-pointer -msse -mmmx --#CFLAGS = -DUSE_GTK `sdl-config --cflags` $(GTK_FLAGS) -Iwrapper/ -O3 -mcpu=athlon -ffast-math -funroll-loops -fomit-frame-pointer -msse -mmmx --#CFLAGS = -DUSE_GTK `sdl-config --cflags` $(GTK_FLAGS) -Iwrapper/ -g -Wall --#CFLAGS = -DUSE_GTK `sdl-config --cflags` $(GTK_FLAGS) -Iwrapper/ -O3 -mcpu=athlon -ffast-math -funroll-loops -fomit-frame-pointer --CFLAGS = -DUSE_GTK `sdl-config --cflags` $(GTK_FLAGS) -Iwrapper/ -O3 -mcpu=athlon -ffast-math -funroll-loops -fomit-frame-pointer --CXX = g++ -+CC ?= gcc -+CXX ?= g++ -+ -+CFLAGS = -DUSE_GTK `${SDL_CONFIG} --cflags` $(GTK_FLAGS) -Iwrapper/ -ffast-math -funroll-loops -fomit-frame-pointer - CPPFLAGS = $(CFLAGS) --LD = g++ --LDFLAGS = -lGL -lGLU -L/usr/X11R6/lib `sdl-config --libs` -+LD = ${CXX} -+LDFLAGS = -lGL -lGLU `${SDL_CONFIG} --libs` - - OBJECTS = Main.o \ - rdp.o \ -@@ -41,11 +37,11 @@ - wrapper/hq4x.o \ - Config.o - --all: Glide64.so instruction -+all: plugins/Glide64.so instruction - --Glide64.so: font.h cursor.h $(OBJECTS) -+plugins/Glide64.so: font.h cursor.h $(OBJECTS) -+ mkdir -p plugins - $(LD) -shared -Wl,-Bsymbolic $(GTK_LIBS) $(LDFLAGS) -o $@ $(OBJECTS) -- strip --strip-all $@ - - font.h: compiletex - ./compiletex font.tex font.h font -@@ -60,7 +56,7 @@ - nasm -f elf $< - - instruction: -- $(warning please copy Glide64.so AND Glide64.ini in the plugins/ folder of the emulator) -+ $(warning please copy plugins/Glide64.so AND Glide64.ini in the plugins/ folder of the emulator) - - clean: - rm -rf $(OBJECTS) $(ALL) compiletex compiletex.o font.h cursor.h diff --git a/emulators/mupen64-glide/files/patch-glidesys.h b/emulators/mupen64-glide/files/patch-glidesys.h deleted file mode 100644 index 9576c283aedd..000000000000 --- a/emulators/mupen64-glide/files/patch-glidesys.h +++ /dev/null @@ -1,11 +0,0 @@ ---- wrapper/glidesys.h 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 diff --git a/emulators/mupen64-gln64/Makefile b/emulators/mupen64-gln64/Makefile deleted file mode 100644 index bba8d18cd044..000000000000 --- a/emulators/mupen64-gln64/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# $FreeBSD$ - -PORTNAME= mupen64 -PORTVERSION= 0.4.1 -PORTREVISION= 8 -PKGNAMESUFFIX= -gln64 - -COMMENT= The glN64 graphics plugin for Mupen64 - -BROKEN= Fails to build -USE_GL= yes -USE_SDL= sdl - -FIXFILES= glN64/DepthBuffer.cpp glN64/glATI.h - -PLUGIN_NAME= glN64 - -MASTERDIR= ${.CURDIR}/../mupen64-base - -OPTIONS_SLAVE= GTK2 - -NO_STAGE= yes -.include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64-gln64/files/patch-glN64_Config_linux.cpp b/emulators/mupen64-gln64/files/patch-glN64_Config_linux.cpp deleted file mode 100644 index 8a2785c2e8ec..000000000000 --- a/emulators/mupen64-gln64/files/patch-glN64_Config_linux.cpp +++ /dev/null @@ -1,40 +0,0 @@ ---- glN64/Config_linux.cpp 2005-08-26 14:52:17.000000000 -0500 -+++ glN64/Config_linux.cpp 2007-10-08 03:14:27.000000000 -0500 -@@ -1,4 +1,3 @@ --#include <features.h> - #include <dlfcn.h> - #include <unistd.h> - #include "../main/winlnxdefs.h" -@@ -35,29 +34,9 @@ - { - static char path[PATH_MAX]; - --#ifdef __USE_GNU -- Dl_info info; -- void *addr = (void*)GetPluginDir; -- if(dladdr(addr, &info) != 0) -- { -- strncpy(path, info.dli_fname, PATH_MAX); -- *(strrchr(path, '/')) = '\0'; -- } -- else -- { -- fprintf(stderr, "(WW) Couldn't get path of .so, trying to get emulator's path\n"); --#endif // __USE_GNU -- if(readlink("/proc/self/exe", path, PATH_MAX) == -1) -- { -- fprintf(stderr, "(WW) readlink() /proc/self/exe failed: %s\n", strerror(errno)); -- path[0] = '.'; -- path[1] = '\0'; -- } -- *(strrchr(path, '/')) = '\0'; -- strncat(path, "/plugins", PATH_MAX); --#ifdef __USE_GNU -- } --#endif -+ strcpy(path, getenv("HOME")); -+ strncat(path, "/.mupen64/plugins", PATH_MAX); -+ - return path; - } - diff --git a/emulators/mupen64-input/Makefile b/emulators/mupen64-input/Makefile deleted file mode 100644 index 81b40c278c01..000000000000 --- a/emulators/mupen64-input/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# $FreeBSD$ - -PORTREVISION= 1 -PKGNAMESUFFIX= -input - -COMMENT= Input plugin for Mupen64 - -BROKEN= Fails to build -USE_SDL= sdl - -FIXFILES= # - -PLUGIN_NAME= mupen64_input - -MASTERDIR= ${.CURDIR}/../mupen64-base - -OPTIONS_SLAVE= GTK2 - -NO_STAGE= yes -.include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64-rsp/Makefile b/emulators/mupen64-rsp/Makefile deleted file mode 100644 index c4b8868e0cd8..000000000000 --- a/emulators/mupen64-rsp/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# $FreeBSD$ - -PKGNAMESUFFIX= -rsp - -COMMENT= RSP plugin for Mupen64 - -BROKEN= Fails to build -FIXFILES= # - -PLUGIN_NAME= mupen64_hle_rsp_azimer - -MASTERDIR= ${.CURDIR}/../mupen64-base - -OPTIONS_SLAVE= GTK2 - -NO_STAGE= yes -.include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64-sdlaudio/Makefile b/emulators/mupen64-sdlaudio/Makefile deleted file mode 100644 index 1d3466ce2e58..000000000000 --- a/emulators/mupen64-sdlaudio/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# $FreeBSD$ - -PORTVERSION= 1.3 -PORTREVISION= 3 -PKGNAMESUFFIX= -sdlaudio - -COMMENT= JttL's SDL audio plugin for Mupen64 - -BROKEN= Fails to build -USE_SDL= sdl - -FIXFILES= # - -PLUGIN_NAME= jttl_audio - -MASTERDIR= ${.CURDIR}/../mupen64-base - -OPTIONS_SLAVE= GTK2 - -NO_STAGE= yes -.include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64-sdlinput/Makefile b/emulators/mupen64-sdlinput/Makefile deleted file mode 100644 index 590cc17d95b2..000000000000 --- a/emulators/mupen64-sdlinput/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# $FreeBSD$ - -PORTVERSION= 0.0.10 -PORTREVISION= 4 -PKGNAMESUFFIX= -sdlinput - -COMMENT= Blight's SDL input plugin for Mupen64 - -LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 - -FIXFILES= # - -USE_SDL= sdl - -PLUGIN_NAME= blight_input - -MASTERDIR= ${.CURDIR}/../mupen64-base - -OPTIONS_SLAVE= GTK2 - -NO_STAGE= yes -.include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64-sdlinput/files/patch-blight_input_SDL_ttf.c b/emulators/mupen64-sdlinput/files/patch-blight_input_SDL_ttf.c deleted file mode 100644 index 54d968d417df..000000000000 --- a/emulators/mupen64-sdlinput/files/patch-blight_input_SDL_ttf.c +++ /dev/null @@ -1,19 +0,0 @@ ---- blight_input/SDL_ttf.c 2007-10-08 01:36:42.000000000 -0500 -+++ blight_input/SDL_ttf.c 2007-10-08 01:39:03.000000000 -0500 -@@ -48,7 +48,6 @@ - #include <freetype/ftoutln.h> - #include <freetype/ttnameid.h> - */ --#include <freetype/internal/ftobjs.h> - - #ifndef FT_OPEN_STREAM - #define FT_OPEN_STREAM ft_open_stream -@@ -275,7 +274,7 @@ - } - memset(stream, 0, sizeof(*stream)); - -- stream->memory = library->memory; -+ stream->memory = NULL; - stream->read = RWread; - stream->descriptor.pointer = src; - stream->pos = (unsigned long)position; diff --git a/emulators/mupen64-softgfx/Makefile b/emulators/mupen64-softgfx/Makefile deleted file mode 100644 index a9ae3965ef17..000000000000 --- a/emulators/mupen64-softgfx/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> -# $FreeBSD$ - -PORTREVISION= 1 -PKGNAMESUFFIX= -softgfx - -COMMENT= Soft gfx plugin for Mupen64 - -USE_SDL= sdl - -FIXFILES= # - -PLUGIN_NAME= mupen64_soft_gfx - -MASTERDIR= ${.CURDIR}/../mupen64-base - -OPTIONS_SLAVE= GTK2 - -NO_STAGE= yes -.include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64-sound/Makefile b/emulators/mupen64-sound/Makefile deleted file mode 100644 index 95ce11a1fcaa..000000000000 --- a/emulators/mupen64-sound/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# $FreeBSD$ - -PKGNAMESUFFIX= -sound - -COMMENT= Sound plugin for Mupen64 - -BROKEN= Fails to build -FIXFILES= # - -PLUGIN_NAME= mupen64_audio - -MASTERDIR= ${.CURDIR}/../mupen64-base - -OPTIONS_SLAVE= GTK2 - -NO_STAGE= yes -.include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64-sound/files/patch-mupen64_audio_main.c b/emulators/mupen64-sound/files/patch-mupen64_audio_main.c deleted file mode 100644 index 4c83c30b7024..000000000000 --- a/emulators/mupen64-sound/files/patch-mupen64_audio_main.c +++ /dev/null @@ -1,11 +0,0 @@ ---- mupen64_audio/main.c 2007-10-08 01:41:12.000000000 -0500 -+++ mupen64_audio/main.c 2007-10-08 01:41:23.000000000 -0500 -@@ -6,7 +6,7 @@ - #include <stdlib.h> - #include <fcntl.h> - #include <sys/ioctl.h> --#include <linux/soundcard.h> -+#include <sys/soundcard.h> - #include <unistd.h> - #include <pthread.h> - #include <sys/time.h> diff --git a/emulators/mupen64-tr64/Makefile b/emulators/mupen64-tr64/Makefile deleted file mode 100644 index 417c40b53b38..000000000000 --- a/emulators/mupen64-tr64/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> -# $FreeBSD$ - -PORTVERSION= 0.7.8 -PORTREVISION= 3 -PKGNAMESUFFIX= -tr64 - -COMMENT= Tr64 graphics plugin for Mupen64 - -BROKEN= Fails to patch -USE_SDL= sdl -USE_GL= yes - -FIXFILES= display.c sdlgl.c - -PLUGIN_NAME= tr64gl - -MASTERDIR= ${.CURDIR}/../mupen64-base - -OPTIONS_SLAVE= GTK2 - -NO_STAGE= yes -.include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64-tr64/distinfo b/emulators/mupen64-tr64/distinfo deleted file mode 100644 index ebd222552c55..000000000000 --- a/emulators/mupen64-tr64/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (mupen64/tr64_ogl_gtk2-0.7.8.tar.bz2) = cdc69be9adb3df8cd2a92f7df388930ec11b6d6dceef2aab0e831521346e8bc2 -SIZE (mupen64/tr64_ogl_gtk2-0.7.8.tar.bz2) = 165504 diff --git a/emulators/mupen64-tr64/files/patch-Makefile b/emulators/mupen64-tr64/files/patch-Makefile deleted file mode 100644 index 1feb92c917cc..000000000000 --- a/emulators/mupen64-tr64/files/patch-Makefile +++ /dev/null @@ -1,39 +0,0 @@ ---- Makefile 2005-08-26 14:11:28.000000000 -0500 -+++ Makefile 2007-10-09 01:55:17.000000000 -0500 -@@ -1,26 +1,26 @@ - ifneq ("$(shell grep GTK2 config.h)","\#define GTK2_SUPPORT 1") --GTK_FLAGS = `gtk-config --cflags` --GTK_LIBS = `gtk-config --libs` -+GTK_FLAGS = `${GTK_CONFIG} --cflags` -+GTK_LIBS = `${GTK_CONFIG} --libs` - else - GTK_FLAGS = `pkg-config gtk+-2.0 --cflags` -D_GTK2 - GTK_LIBS = `pkg-config gtk+-2.0 --libs` - endif - --CC = gcc --CFLAGS = -DUSE_GTK `sdl-config --cflags` $(GTK_FLAGS) -O3 -mcpu=athlon -ffast-math -funroll-loops -fomit-frame-pointer --LD = gcc --LDFLAGS = -lGL -lGLU -L/usr/X11R6/lib `sdl-config --libs` -+CC ?= gcc -+CFLAGS += -DUSE_GTK `${SDL_CONFIG} --cflags` $(GTK_FLAGS) -ffast-math -funroll-loops -fomit-frame-pointer -+LD = ${CXX} -+LDFLAGS = -lGL -lGLU -L${LOCALBAASE}/lib `${SDL_CONFIG} --libs` - - OBJECTS = 3dmath.o autodet.o combine1.o debug.o display.o driver.o lighting.o rdp.o rdp_gl.o render.o sdlgl.o texture.o - --all: tr64gl.so instruction -+all: plugins/tr64gl.so instruction - --tr64gl.so: $(OBJECTS) -+plugins/tr64gl.so: $(OBJECTS) -+ mkdir -p plugins - $(LD) -shared -Wl,-Bsymbolic $(GTK_LIBS) $(LDFLAGS) -o $@ $(OBJECTS) -- strip --strip-all $@ - - instruction: -- $(warning please copy tr64gl.so in plugins/ folder of the emulator) -+ $(warning please copy plugins/tr64gl.so in plugins/ folder of the emulator) - - .o: .c - $(CC) $(CFLAGS) -o $@ $< diff --git a/emulators/mupen64-tr64/files/patch-texture.c b/emulators/mupen64-tr64/files/patch-texture.c deleted file mode 100644 index 14266f666117..000000000000 --- a/emulators/mupen64-tr64/files/patch-texture.c +++ /dev/null @@ -1,39 +0,0 @@ ---- texture.c 2007-11-07 17:32:05.000000000 -0500 -+++ texture.c 2007-11-07 17:36:25.000000000 -0500 -@@ -3172,6 +3172,7 @@ - _s32 x, y; - _u8 *dest = i_dst; - _u8 *src = i_src; -+ _u32 src_tmp; - - int xc, yc; - int xl, yl; -@@ -3193,6 +3194,7 @@ - { - x = sx; - src = i_src + tstart + ((y * twidth + x) << 2); -+ src_tmp = (_u32)src; - - if ((y & 1) && (swapped)) - flip = 0x04; -@@ -3201,13 +3203,13 @@ - - for(xc = 0; xc <= xl; xc++) - { -- (_u32)src ^= flip; // wtf am I doing here? -- src += 3; -- *dest = *(_u8*)((_u32)src ^ flip); src--; dest++; -- *dest = *(_u8*)((_u32)src ^ flip); src--; dest++; -- *dest = *(_u8*)((_u32)src ^ flip); src--; dest++; -- *dest = *(_u8*)((_u32)src ^ flip); dest++; -- src += 4; -+ src_tmp ^= flip; // wtf am I doing here? -+ src_tmp += 3; -+ *dest = *(_u8*)(src_tmp ^ flip); src_tmp--; dest++; -+ *dest = *(_u8*)(src_tmp ^ flip); src_tmp--; dest++; -+ *dest = *(_u8*)(src_tmp ^ flip); src_tmp--; dest++; -+ *dest = *(_u8*)(src_tmp ^ flip); dest++; -+ src_tmp += 4; - //x += dx; - } - y += dy; diff --git a/emulators/mupen64/Makefile b/emulators/mupen64/Makefile deleted file mode 100644 index e7da8caacaa0..000000000000 --- a/emulators/mupen64/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -# $FreeBSD$ - -PORTNAME= mupen64 -PORTVERSION= 0.5 -PORTREVISION= 3 -CATEGORIES= emulators -MASTER_SITES= # empty -DISTFILES= # empty -EXTRACT_ONLY= # empty - -MAINTAINER?= acm@FreeBSD.org -COMMENT= Mupen64 is a Nintendo 64 emulator with plugins (meta port) - -# Mupen64 Emulator gui and no-gui -RUN_DEPENDS+= ${LOCALBASE}/bin/mupen64:${PORTSDIR}/emulators/mupen64-base - -# Audio plugins -RUN_DEPENDS+= ${PLUGINDIR}/dummyaudio.so:${PORTSDIR}/emulators/mupen64-dummyaudio -RUN_DEPENDS+= ${PLUGINDIR}/mupen64_audio.so:${PORTSDIR}/emulators/mupen64-sound -RUN_DEPENDS+= ${PLUGINDIR}/jttl_audio.so:${PORTSDIR}/emulators/mupen64-sdlaudio - -# Input plugins -RUN_DEPENDS+= ${PLUGINDIR}/mupen64_input.so:${PORTSDIR}/emulators/mupen64-input -RUN_DEPENDS+= ${PLUGINDIR}/blight_input.so:${PORTSDIR}/emulators/mupen64-sdlinput -RUN_DEPENDS+= ${PLUGINDIR}/mupen64_hle_rsp_azimer.so:${PORTSDIR}/emulators/mupen64-rsp - -# Graphics plugins -RUN_DEPENDS+= ${PLUGINDIR}/ricedaedalus.so:${PORTSDIR}/emulators/mupen64-rice -RUN_DEPENDS+= ${PLUGINDIR}/mupen64_soft_gfx.so:${PORTSDIR}/emulators/mupen64-softgfx -RUN_DEPENDS+= ${PLUGINDIR}/Glide64.so:${PORTSDIR}/emulators/mupen64-glide -RUN_DEPENDS+= ${PLUGINDIR}/glN64.so:${PORTSDIR}/emulators/mupen64-gln64 -RUN_DEPENDS+= ${PLUGINDIR}/tr64gl.so:${PORTSDIR}/emulators/mupen64-tr64 - -NO_MTREE= yes -NO_BUILD= yes -SUB_FILES= pkg-message - -PLUGINDIR= ${LOCALBASE}/share/mupen64/plugins - -do-install: # empty - -NO_STAGE= yes - -DEPRECATED= Use mupen64plus instead -EXPIRATION_DATE=2014-04-23 - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/emulators/mupen64/files/pkg-message.in b/emulators/mupen64/files/pkg-message.in deleted file mode 100644 index fd7af16121fd..000000000000 --- a/emulators/mupen64/files/pkg-message.in +++ /dev/null @@ -1,27 +0,0 @@ -############################################################################### - -The mupen64 emulator was installed - -1) 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. - -2) This port install gui and no-gui version of Mupen64 - - Run gui version - - # mupen64 - - Run no-gui version - - # mupen64_nogui - -3) You can see an use manual about mupen64 at - - # %%DOCSDIR%%/readme.pdf - -4) Enjoy it ;) - -############################################################################### diff --git a/emulators/mupen64/pkg-descr b/emulators/mupen64/pkg-descr deleted file mode 100644 index 581a69c0d7a5..000000000000 --- a/emulators/mupen64/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -This is the metaport to install the mupen64 emulator and all graphics, input -and audio plugins. - -WWW: http://mupen64.emulation64.com/ |