aboutsummaryrefslogtreecommitdiff
path: root/emulators/mupen64-input
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-10-09 03:50:04 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-10-09 03:50:04 +0000
commitfb3f49d7410298270f9b4502eaa98c90d65764d1 (patch)
tree686d538f4897b13ab0b43c0ebe54a4d18a483291 /emulators/mupen64-input
parentb49b2025fe5663123cbd177b2da0c600cdba27a6 (diff)
downloadports-fb3f49d7410298270f9b4502eaa98c90d65764d1.tar.gz
ports-fb3f49d7410298270f9b4502eaa98c90d65764d1.zip
Notes
Diffstat (limited to 'emulators/mupen64-input')
-rw-r--r--emulators/mupen64-input/Makefile45
-rw-r--r--emulators/mupen64-input/distinfo3
-rw-r--r--emulators/mupen64-input/files/patch-Makefile11
-rw-r--r--emulators/mupen64-input/pkg-descr15
-rw-r--r--emulators/mupen64-input/pkg-message9
5 files changed, 5 insertions, 78 deletions
diff --git a/emulators/mupen64-input/Makefile b/emulators/mupen64-input/Makefile
index 119af59450bf..c7dd1b50ea0f 100644
--- a/emulators/mupen64-input/Makefile
+++ b/emulators/mupen64-input/Makefile
@@ -5,53 +5,18 @@
# $FreeBSD$
#
-PORTNAME= mupen64
-PORTVERSION= 0.4
-PORTREVISION= 3
-CATEGORIES+= emulators
-MASTER_SITES= http://mupen64.emulation64.com/files/${PORTVERSION}/
PKGNAMESUFFIX= -input
-DISTNAME= mupen64_input
-MAINTAINER?= tlp@LiquidX.org
COMMENT= Input plugin for Mupen64
-USE_BZIP2= yes
-USE_GMAKE= yes
USE_SDL= sdl
-USE_GNOME= gtk12
-USE_GCC= 3.4
-ONLY_FOR_ARCHS= i386
-PLUGIN_NAME= mupen64_input
-PLIST_FILES= share/mupen64/plugins/${PLUGIN_NAME}.so
-PLIST_DIRS= share/mupen64/plugins
-PLIST_DIRS+= share/mupen64
-
-FIXME2= main.c
-
-do-configure:
-.for i in ${FIXME2}
- ${REINPLACE_CMD} -e 's|SDL/SDL.h|SDL.h|' ${WRKSRC}/${i}
-.endfor
- ${REINPLACE_CMD} -e 's|-lSDL|`${SDL_CONFIG} --libs`|' \
- ${WRKSRC}/Makefile
+FIXFILES= #
-do-install:
- @${MKDIR} ${PREFIX}/share/mupen64/plugins
- ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN_NAME}.so \
- ${PREFIX}/share/mupen64/plugins/
-
-.include <bsd.port.pre.mk>
-
-CFLAGS+= `${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
+PLUGIN_NAME= mupen64_input
-MAKE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+MASTERDIR= ${.CURDIR}/../mupen64-base
-post-install:
- @${CAT} ${PKGMESSAGE}
+OPTIONS= #
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/emulators/mupen64-input/distinfo b/emulators/mupen64-input/distinfo
deleted file mode 100644
index 5b021d9cf7af..000000000000
--- a/emulators/mupen64-input/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (mupen64_input.tar.bz2) = 14fc6075a19bb567afebedd5ab2ea6c1
-SHA256 (mupen64_input.tar.bz2) = d4eac5e204e094f32c46230aacb206468a0f8d3a62b2b654d17b00e86d20500d
-SIZE (mupen64_input.tar.bz2) = 4438
diff --git a/emulators/mupen64-input/files/patch-Makefile b/emulators/mupen64-input/files/patch-Makefile
deleted file mode 100644
index 215e1a9da134..000000000000
--- a/emulators/mupen64-input/files/patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig Sat Sep 6 00:55:57 2003
-+++ Makefile Thu Aug 12 14:35:59 2004
-@@ -2,7 +2,7 @@
- #CXX =g++ -O3 -mpentium -Wall -DEMU64_DEBUG
- #CC =gcc -O3 -I/usr/X11R6/include -fPIC -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=pentium -pipe
- #CC =gcc -O3 -mpentium -Wall -g -pg
--CC =gcc -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall -DUSE_GTK `gtk-config --cflags` -I/usr/X11R6/include -pipe
-+#CC =gcc -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall -DUSE_GTK `gtk-config --cflags` -I/usr/X11R6/include -pipe
-
- OBJ =main.o
-
diff --git a/emulators/mupen64-input/pkg-descr b/emulators/mupen64-input/pkg-descr
deleted file mode 100644
index 223bed971b72..000000000000
--- a/emulators/mupen64-input/pkg-descr
+++ /dev/null
@@ -1,15 +0,0 @@
-Input 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
diff --git a/emulators/mupen64-input/pkg-message b/emulators/mupen64-input/pkg-message
deleted file mode 100644
index d53470396a22..000000000000
--- a/emulators/mupen64-input/pkg-message
+++ /dev/null
@@ -1,9 +0,0 @@
--------------------------------------------------------------------------------
-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!
--------------------------------------------------------------------------------