aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/mupen64-sdlaudio
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2007-10-09 11:58:52 +0800
committeracm <acm@FreeBSD.org>2007-10-09 11:58:52 +0800
commit76f289ded0d7a457a939b39e8c8b1bf1b7cb766f (patch)
tree36e7ba45ee1401589f8e74ae132896a1a92528f9 /emulators/mupen64-sdlaudio
parent230654df332047f577eda81b360925ea722b305e (diff)
downloadfreebsd-ports-gnome-76f289ded0d7a457a939b39e8c8b1bf1b7cb766f.tar.gz
freebsd-ports-gnome-76f289ded0d7a457a939b39e8c8b1bf1b7cb766f.tar.zst
freebsd-ports-gnome-76f289ded0d7a457a939b39e8c8b1bf1b7cb766f.zip
- Bump PORTREVISION
- Clean up - Pass maintainership to me Approved by: tlp (maintainer via irc)
Diffstat (limited to 'emulators/mupen64-sdlaudio')
-rw-r--r--emulators/mupen64-sdlaudio/Makefile41
-rw-r--r--emulators/mupen64-sdlaudio/distinfo3
-rw-r--r--emulators/mupen64-sdlaudio/files/patch-Makefile18
-rw-r--r--emulators/mupen64-sdlaudio/pkg-descr15
-rw-r--r--emulators/mupen64-sdlaudio/pkg-message9
5 files changed, 6 insertions, 80 deletions
diff --git a/emulators/mupen64-sdlaudio/Makefile b/emulators/mupen64-sdlaudio/Makefile
index 9a64ec54b63f..8792d362bc8a 100644
--- a/emulators/mupen64-sdlaudio/Makefile
+++ b/emulators/mupen64-sdlaudio/Makefile
@@ -5,49 +5,20 @@
# $FreeBSD$
#
-PORTNAME= mupen64
PORTVERSION= 1.2
-PORTREVISION= 3
-CATEGORIES+= emulators
-MASTER_SITES= http://mupen64.emulation64.com/files/0.4/
+PORTREVISION= 4
PKGNAMESUFFIX= -sdlaudio
-DISTNAME= jttl_sound-${PORTVERSION}
-MAINTAINER?= tlp@LiquidX.org
COMMENT= JttL's SDL audio 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= jttl_audio
-PLIST_FILES= share/mupen64/plugins/${PLUGIN_NAME}.so
-PLIST_FILES+= share/mupen64/jttl_audio.conf
-PLIST_DIRS= share/mupen64/plugins
-PLIST_DIRS+= share/mupen64
-
-do-install:
- @${MKDIR} ${PREFIX}/share/mupen64/plugins
- ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN_NAME}.so \
- ${PREFIX}/share/mupen64/plugins/
- ${INSTALL_DATA} ${WRKSRC}/${PLUGIN_NAME}.conf \
- ${PREFIX}/share/mupen64/${PLUGIN_NAME}.conf
+FIXFILES= #
-.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
-LDFLAGS+= -shared -Wl,-Bsymbolic `${GTK_CONFIG} --libs` -lm
-LDFLAGS+= `${SDL_CONFIG} --libs` -lc
+PLUGIN_NAME= jttl_audio
-MAKE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" LD="${CC}"
+MASTERDIR= ${.CURDIR}/../mupen64-base
-post-install:
- @${CAT} ${PKGMESSAGE}
+OPTIONS= #
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/emulators/mupen64-sdlaudio/distinfo b/emulators/mupen64-sdlaudio/distinfo
deleted file mode 100644
index fa4462e90d97..000000000000
--- a/emulators/mupen64-sdlaudio/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (jttl_sound-1.2.tar.bz2) = 7bb104cf6ca94c0e761027eb9895fcbe
-SHA256 (jttl_sound-1.2.tar.bz2) = bc113e193c32729b2b0f9e9b7b0059bad0504c2aa41335d68d9b0fe1f2e5d422
-SIZE (jttl_sound-1.2.tar.bz2) = 10015
diff --git a/emulators/mupen64-sdlaudio/files/patch-Makefile b/emulators/mupen64-sdlaudio/files/patch-Makefile
deleted file mode 100644
index eaf2a4ef8b6e..000000000000
--- a/emulators/mupen64-sdlaudio/files/patch-Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
---- Makefile.orig Sun Mar 28 20:09:45 2004
-+++ Makefile Thu Aug 12 15:25:07 2004
-@@ -1,11 +1,11 @@
--CC = gcc
-+#CC = gcc
- #CFLAGS = -g -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon `gtk-config --cflags` -DUSE_GTK -Wall `sdl-config --cflags` -lm `sdl-config --libs`
--CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon `gtk-config --cflags` -DUSE_GTK -Wall `sdl-config --cflags`
-+#CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon `gtk-config --cflags` -DUSE_GTK -Wall `sdl-config --cflags`
-
- #CFLAGS = -g -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon `gtk-config --cflags` -DUSE_GTK -Wall
-
--LD = gcc
--LDFLAGS = -shared -Wl,-Bsymbolic `gtk-config --libs` -lpthread -lm `sdl-config --libs`
-+#LD = gcc
-+#LDFLAGS = -shared -Wl,-Bsymbolic `gtk-config --libs` -lpthread -lm `sdl-config --libs`
-
- OBJECTS = main.o
-
diff --git a/emulators/mupen64-sdlaudio/pkg-descr b/emulators/mupen64-sdlaudio/pkg-descr
deleted file mode 100644
index 8522e9606191..000000000000
--- a/emulators/mupen64-sdlaudio/pkg-descr
+++ /dev/null
@@ -1,15 +0,0 @@
-JttL SDL sound 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-sdlaudio/pkg-message b/emulators/mupen64-sdlaudio/pkg-message
deleted file mode 100644
index d53470396a22..000000000000
--- a/emulators/mupen64-sdlaudio/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!
--------------------------------------------------------------------------------