summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-04 06:42:10 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-04 06:42:10 +0800
commit7130a1726825bb46456dd710fe5005a57f46d000 (patch)
tree50c8dafd7bdb0c478651da7c16faaea6f468bbd3 /emulators
parentf3a27cf1c0c7900951e2674654419940d7685934 (diff)
downloadmarcuscom-ports-7130a1726825bb46456dd710fe5005a57f46d000.tar
marcuscom-ports-7130a1726825bb46456dd710fe5005a57f46d000.tar.gz
marcuscom-ports-7130a1726825bb46456dd710fe5005a57f46d000.tar.bz2
marcuscom-ports-7130a1726825bb46456dd710fe5005a57f46d000.tar.lz
marcuscom-ports-7130a1726825bb46456dd710fe5005a57f46d000.tar.xz
marcuscom-ports-7130a1726825bb46456dd710fe5005a57f46d000.tar.zst
marcuscom-ports-7130a1726825bb46456dd710fe5005a57f46d000.zip
share/gnome/ -> share/
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8799 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'emulators')
-rw-r--r--emulators/gsnes9x/Makefile36
-rw-r--r--emulators/gsnes9x/distinfo3
-rw-r--r--emulators/gsnes9x/files/patch-aa46
-rw-r--r--emulators/gsnes9x/files/patch-ab38
-rw-r--r--emulators/gsnes9x/pkg-descr10
-rw-r--r--emulators/gsnes9x/pkg-plist35
6 files changed, 168 insertions, 0 deletions
diff --git a/emulators/gsnes9x/Makefile b/emulators/gsnes9x/Makefile
new file mode 100644
index 000000000..97845226b
--- /dev/null
+++ b/emulators/gsnes9x/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: GSnes9x
+# Date created: 18 Jun 2000
+# Whom: Kelly Yancey <kbyanc@posi.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gsnes9x
+PORTVERSION= 3.12
+PORTREVISION= 3
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= GSnes9x-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A GTK front-end for the Snes9X SNES emulator
+
+RUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix gnomelibs
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
+
+post-patch:
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|^SUBDIRS = intl|SUBDIRS =|g ; \
+ s|@INTLLIBS@|-lintl|g ; \
+ s|@INTLDEPS@||g'
+
+.include <bsd.port.mk>
diff --git a/emulators/gsnes9x/distinfo b/emulators/gsnes9x/distinfo
new file mode 100644
index 000000000..5934fc154
--- /dev/null
+++ b/emulators/gsnes9x/distinfo
@@ -0,0 +1,3 @@
+MD5 (GSnes9x-3.12.tar.gz) = c8f4631b9ddbf7f513c2af322d12bcc5
+SHA256 (GSnes9x-3.12.tar.gz) = 1914496f6f6efa7bb756f8dfdba6d573d85448125b12354e48de4a269c507fce
+SIZE (GSnes9x-3.12.tar.gz) = 659553
diff --git a/emulators/gsnes9x/files/patch-aa b/emulators/gsnes9x/files/patch-aa
new file mode 100644
index 000000000..07efe2dcc
--- /dev/null
+++ b/emulators/gsnes9x/files/patch-aa
@@ -0,0 +1,46 @@
+--- src/util.c.orig Sun Jun 18 17:34:30 2000
++++ src/util.c Sun Jun 18 18:06:56 2000
+@@ -79,7 +79,7 @@
+ if (!names)
+ return list;
+
+- getline (&str, &size, names);
++ fgets (str, size, names);
+ str[strlen (str)-1] = '\0'; /* Rip out the '\n'. */
+
+ while (!feof (names)) {
+@@ -102,7 +102,7 @@
+ if (rom_info)
+ list = g_list_prepend (list, (gpointer)rom_info);
+
+- getline (&str, &size, names);
++ fgets (str, size, names);
+ str[strlen(str)-1] = '\0';
+ }
+
+@@ -314,7 +314,7 @@
+ if (!file)
+ return list;
+
+- getline (&str, &size, file);
++ fgets (str, size, file);
+ str[strlen (str)-1] = '\0'; /* Rip out '\n' */
+ if (!strcmp (str, ""))
+ return list;
+@@ -322,13 +322,13 @@
+ do {
+ cheat_code = g_new (CheatCode, 1);
+ cheat_code->code = g_strdup (str);
+- getline (&str, &size, file);
++ fgets (str, size, file);
+ str[strlen (str)-1] = '\0'; /* Rip out '\n' */
+ cheat_code->name = g_strdup (str);
+- getline (&str, &size, file);
++ fgets (str, size, file);
+ str[strlen (str)-1] = '\0'; /* Rip out '\n' */
+ cheat_code->descr = g_strdup (str);
+- getline (&str, &size, file);
++ fgets (str, size, file);
+
+ if (strcmp (str, cheat_code->descr))
+ str[strlen (str)-1] = '\0'; /* Rip out '\n' */
diff --git a/emulators/gsnes9x/files/patch-ab b/emulators/gsnes9x/files/patch-ab
new file mode 100644
index 000000000..235c38fd8
--- /dev/null
+++ b/emulators/gsnes9x/files/patch-ab
@@ -0,0 +1,38 @@
+--- src/confiles.c.orig Sun Jun 18 17:34:23 2000
++++ src/confiles.c Sun Jun 18 18:06:27 2000
+@@ -81,7 +81,7 @@
+ file = fopen (conf, "r");
+ }
+
+- getline (&str, &size, file);
++ fgets (str, size, file);
+ str[strlen (str)-1] = '\0';
+
+ while (!feof (file)) {
+@@ -142,7 +142,7 @@
+ }
+ }
+
+- getline (&str, &size, file);
++ fgets (str, size, file);
+ str[strlen (str)-1] = '\0';
+
+ if (lval)
+@@ -179,7 +179,7 @@
+ return NULL;
+ }
+
+- getline (&str, &size, file);
++ fgets (str, size, file);
+ str[strlen (str)-1] = '\0';
+
+ while (!feof (file)) {
+@@ -237,7 +237,7 @@
+ }
+ }
+
+- getline (&str, &size, file);
++ fgets (str, size, file);
+ str[strlen (str)-1] = '\0';
+
+ if (lval)
diff --git a/emulators/gsnes9x/pkg-descr b/emulators/gsnes9x/pkg-descr
new file mode 100644
index 000000000..d3c0dfbc6
--- /dev/null
+++ b/emulators/gsnes9x/pkg-descr
@@ -0,0 +1,10 @@
+GSnes9x is a GNOME front-end for the Snes9X SNES emulator. It
+allows you to set and preserve the options for a particular ROM
+when running it, and to set global options for new ROMs being
+included. It also keeps a Cheat Codes database for each ROM, where
+you can save as many codes as you want.
+
+WWW: http://sourceforge.net/projects/gsnes9x
+
+ -Kelly
+ kbyanc@posi.net
diff --git a/emulators/gsnes9x/pkg-plist b/emulators/gsnes9x/pkg-plist
new file mode 100644
index 000000000..68510a950
--- /dev/null
+++ b/emulators/gsnes9x/pkg-plist
@@ -0,0 +1,35 @@
+bin/GSnes9x
+share/gnome/apps/Games/gsnes9x.desktop
+share/gnome/help/GSnes9x/C/addrom.png
+share/gnome/help/GSnes9x/C/cheat.png
+share/gnome/help/GSnes9x/C/codes.png
+share/gnome/help/GSnes9x/C/format.png
+share/gnome/help/GSnes9x/C/help-2.html
+share/gnome/help/GSnes9x/C/index.html
+share/gnome/help/GSnes9x/C/info.png
+share/gnome/help/GSnes9x/C/joystick.png
+share/gnome/help/GSnes9x/C/main.png
+share/gnome/help/GSnes9x/C/pop.png
+share/gnome/help/GSnes9x/C/readme-snes9x.html
+share/gnome/help/GSnes9x/C/system.png
+share/gnome/help/GSnes9x/C/tooltips.png
+share/gnome/help/GSnes9x/C/topic.dat
+share/gnome/help/GSnes9x/es/addrom.png
+share/gnome/help/GSnes9x/es/cheat.png
+share/gnome/help/GSnes9x/es/codes.png
+share/gnome/help/GSnes9x/es/format.png
+share/gnome/help/GSnes9x/es/index.html
+share/gnome/help/GSnes9x/es/info.png
+share/gnome/help/GSnes9x/es/joystick.png
+share/gnome/help/GSnes9x/es/main.png
+share/gnome/help/GSnes9x/es/pop.png
+share/gnome/help/GSnes9x/es/system.png
+share/gnome/help/GSnes9x/es/tooltips.png
+share/gnome/help/GSnes9x/es/topic.dat
+share/locale/es/LC_MESSAGES/GSnes9x.mo
+share/locale/no/LC_MESSAGES/GSnes9x.mo
+share/pixmaps/gsnes9x-icon.png
+share/pixmaps/gsnesdefault.png
+@dirrm share/gnome/help/GSnes9x/es
+@dirrm share/gnome/help/GSnes9x/C
+@dirrm share/gnome/help/GSnes9x