aboutsummaryrefslogtreecommitdiff
path: root/emulators/mupen64-sound/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/mupen64-sound/Makefile')
-rw-r--r--emulators/mupen64-sound/Makefile37
1 files changed, 4 insertions, 33 deletions
diff --git a/emulators/mupen64-sound/Makefile b/emulators/mupen64-sound/Makefile
index 1b2ee6fe9aa2..a6db9aa56845 100644
--- a/emulators/mupen64-sound/Makefile
+++ b/emulators/mupen64-sound/Makefile
@@ -5,45 +5,16 @@
# $FreeBSD$
#
-PORTNAME= mupen64
-PORTVERSION= 0.4
-PORTREVISION= 3
-CATEGORIES+= emulators
-MASTER_SITES= http://mupen64.emulation64.com/files/${PORTVERSION}/
PKGNAMESUFFIX= -sound
-DISTNAME= mupen64_sound
-MAINTAINER?= tlp@LiquidX.org
COMMENT= Sound plugin for Mupen64
-USE_BZIP2= yes
-USE_GMAKE= yes
-USE_GNOME= gtk12
-USE_GCC= 3.4
-ONLY_FOR_ARCHS= i386
+FIXFILES= #
PLUGIN_NAME= mupen64_audio
-PLIST_FILES= share/mupen64/plugins/${PLUGIN_NAME}.so
-PLIST_DIRS= share/mupen64/plugins share/mupen64
-post-patch:
- @${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|' ${WRKSRC}/main.c
+MASTERDIR= ${.CURDIR}/../mupen64-base
-do-install:
- @${MKDIR} ${PREFIX}/share/mupen64/plugins
- ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN_NAME}.so \
- ${PREFIX}/share/mupen64/plugins/
+OPTIONS= #
-.include <bsd.port.pre.mk>
-
-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
-
-MAKE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" LD="${CC}"
-
-post-install:
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"