summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-04 20:39:56 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-04 20:39:56 +0800
commit4cd30c12ea3318ecce8c909fe3fcd81aab7acbd4 (patch)
treef6fc0471f2f8c6a5ec07bb4aba8888d5022d0107 /emulators
parent19a6de409fa3e94631d2b22c72f13a3433f96f9c (diff)
downloadmarcuscom-ports-4cd30c12ea3318ecce8c909fe3fcd81aab7acbd4.tar
marcuscom-ports-4cd30c12ea3318ecce8c909fe3fcd81aab7acbd4.tar.gz
marcuscom-ports-4cd30c12ea3318ecce8c909fe3fcd81aab7acbd4.tar.bz2
marcuscom-ports-4cd30c12ea3318ecce8c909fe3fcd81aab7acbd4.tar.lz
marcuscom-ports-4cd30c12ea3318ecce8c909fe3fcd81aab7acbd4.tar.xz
marcuscom-ports-4cd30c12ea3318ecce8c909fe3fcd81aab7acbd4.tar.zst
marcuscom-ports-4cd30c12ea3318ecce8c909fe3fcd81aab7acbd4.zip
- Fix build with new freetype2
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7543 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mupen64-sdlinput/Makefile47
-rw-r--r--emulators/mupen64-sdlinput/distinfo3
-rw-r--r--emulators/mupen64-sdlinput/files/patch-SDL_ttf.c24
-rw-r--r--emulators/mupen64-sdlinput/pkg-descr15
-rw-r--r--emulators/mupen64-sdlinput/pkg-message9
5 files changed, 98 insertions, 0 deletions
diff --git a/emulators/mupen64-sdlinput/Makefile b/emulators/mupen64-sdlinput/Makefile
new file mode 100644
index 000000000..ac3b5de77
--- /dev/null
+++ b/emulators/mupen64-sdlinput/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: mupen64-sdlinput
+# Date created: 12.Aug 2004
+# Whom: dirk.meyer@dinoex.sub.org
+#
+# $FreeBSD: ports/emulators/mupen64-sdlinput/Makefile,v 1.3 2006/09/20 11:20:46 stas Exp $
+#
+
+PORTNAME= mupen64
+PORTVERSION= 0.0.8
+PORTREVISION= 1
+CATEGORIES+= emulators
+MASTER_SITES= http://mupen64.emulation64.com/files/0.4/
+PKGNAMESUFFIX= -sdlinput
+DISTNAME= blight_input-${PORTVERSION}-b
+
+MAINTAINER?= tlp@LiquidX.org
+COMMENT= Blight's SDL input plugin for Mupen64
+
+LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_SDL= sdl
+USE_GCC= 3.4
+USE_AUTOTOOLS= autoheader:259
+ONLY_FOR_ARCHS= i386
+
+PLUGIN_NAME= blight_input
+PLIST_FILES= share/mupen64/plugins/${PLUGIN_NAME}.so
+PLIST_DIRS= share/mupen64/plugins
+PLIST_DIRS+= share/mupen64
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/mupen64/plugins
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/.libs/${PLUGIN_NAME}.so \
+ ${PREFIX}/share/mupen64/plugins/
+
+.include <bsd.port.pre.mk>
+
+CFLAGS+= -fPIC
+CFLAGS+= -O3 -fomit-frame-pointer -funroll-loops -ffast-math -Wall -pipe
+CFLAGS+= -DX86 -mcpu=athlon
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/emulators/mupen64-sdlinput/distinfo b/emulators/mupen64-sdlinput/distinfo
new file mode 100644
index 000000000..8b5cf1540
--- /dev/null
+++ b/emulators/mupen64-sdlinput/distinfo
@@ -0,0 +1,3 @@
+MD5 (blight_input-0.0.8-b.tar.gz) = 31661c6fca2dc455d7cbe7e87d316021
+SHA256 (blight_input-0.0.8-b.tar.gz) = d874e6538688d0475fe1cff4fb50e0e777d46821dec94df1b6b05a20bc080142
+SIZE (blight_input-0.0.8-b.tar.gz) = 733624
diff --git a/emulators/mupen64-sdlinput/files/patch-SDL_ttf.c b/emulators/mupen64-sdlinput/files/patch-SDL_ttf.c
new file mode 100644
index 000000000..c42826240
--- /dev/null
+++ b/emulators/mupen64-sdlinput/files/patch-SDL_ttf.c
@@ -0,0 +1,24 @@
+--- src/SDL_ttf.c.orig Tue Oct 14 20:44:17 2003
++++ src/SDL_ttf.c Wed Oct 4 08:38:49 2006
+@@ -39,10 +39,10 @@
+ #define FREEA(p) free(p)
+ #endif
+
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #include <freetype/ftoutln.h>
+ #include <freetype/ttnameid.h>
+-#include <freetype/internal/ftobjs.h>
+
+ /** hack **/
+ #ifndef ft_open_stream
+@@ -272,7 +272,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-sdlinput/pkg-descr b/emulators/mupen64-sdlinput/pkg-descr
new file mode 100644
index 000000000..6b42e6932
--- /dev/null
+++ b/emulators/mupen64-sdlinput/pkg-descr
@@ -0,0 +1,15 @@
+Blight's SDL 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-sdlinput/pkg-message b/emulators/mupen64-sdlinput/pkg-message
new file mode 100644
index 000000000..d53470396
--- /dev/null
+++ b/emulators/mupen64-sdlinput/pkg-message
@@ -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!
+-------------------------------------------------------------------------------