summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz>2001-10-06 20:00:42 +0000
committerwiz <wiz>2001-10-06 20:00:42 +0000
commitf4efba256fa846320c8392f2a438b29bc448b556 (patch)
treee14ddc170305e239f48c7c9721371d3a7c681f11 /emulators
parent0bc4d6c698c96c58be246bc33b76fa92262f9d6b (diff)
downloadpkgsrc-f4efba256fa846320c8392f2a438b29bc448b556.tar.gz
Initial import of zsnes, a (i386 only, since it is heavily asm based)
Super Nintendo emulator. Based on package posted to tech-pkg on 2001/10/21 by sen_ml@eccosys.com with additional fixes and buildlinkifying by me.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/zsnes/Makefile29
-rw-r--r--emulators/zsnes/distinfo7
-rw-r--r--emulators/zsnes/patches/patch-aa13
-rw-r--r--emulators/zsnes/patches/patch-ab17
-rw-r--r--emulators/zsnes/patches/patch-ac15
-rw-r--r--emulators/zsnes/pkg/DESCR1
-rw-r--r--emulators/zsnes/pkg/PLIST3
7 files changed, 85 insertions, 0 deletions
diff --git a/emulators/zsnes/Makefile b/emulators/zsnes/Makefile
new file mode 100644
index 00000000000..3cb39e08c2b
--- /dev/null
+++ b/emulators/zsnes/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/10/06 20:00:42 wiz Exp $
+#
+
+DISTNAME= zsnes1337src
+PKGNAME= zsnes-1.337
+CATEGORIES= emulators
+MASTER_SITES= http://prdownloads.sourceforge.net/zsnes/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.zsnes.com/sourceforge.php
+COMMENT= Super NES emulator
+
+BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
+
+ONLY_FOR_PLATFORM= *-*-i386
+
+ALL_TARGET= zsnes
+
+WRKSRC= ${WRKDIR}/zsnes-1.337/src
+
+GNU_CONFIGURE= # defined
+USE_GMAKE= # defined
+USE_CONFIG_WRAPPER= # defined
+USE_BUILDLINK_ONLY= # defined
+
+.include "../../devel/SDL/buildlink.mk"
+.include "../../graphics/png/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/zsnes/distinfo b/emulators/zsnes/distinfo
new file mode 100644
index 00000000000..7e2dc675edd
--- /dev/null
+++ b/emulators/zsnes/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/10/06 20:00:42 wiz Exp $
+
+SHA1 (zsnes1337src.tar.gz) = 618bced128552be96c5125dfd9f23b77d2ebfbf4
+Size (zsnes1337src.tar.gz) = 911599 bytes
+SHA1 (patch-aa) = 17cc135e3265cfdcebf8a18df403c050919c4f12
+SHA1 (patch-ab) = 733133c55fe222bb1c01533466598579a6021ce0
+SHA1 (patch-ac) = dd55e1870ed857bde60b36b3ac5cdd5f10be3d4a
diff --git a/emulators/zsnes/patches/patch-aa b/emulators/zsnes/patches/patch-aa
new file mode 100644
index 00000000000..c92d2ad3ed7
--- /dev/null
+++ b/emulators/zsnes/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/10/06 20:00:42 wiz Exp $
+
+--- Makefile.in.orig Fri Sep 7 06:54:36 2001
++++ Makefile.in
+@@ -170,7 +170,7 @@
+
+ install:
+ @INSTALL@ -m 0755 @ZSNESEXE@ @prefix@/bin
+- @INSTALL@ -m 0644 linux/zsnes.man @prefix@/man
++ @INSTALL@ -m 0644 linux/zsnes.man @prefix@/man/man1/zsnes.1
+
+ clean:
+ rm -f ${CHIPDIR}/*.o ${CPUDIR}/*.o ${VIDEODIR}/*.o ${GUIDIR}/*.o ${DOSDIR}/*.o ${WINDIR}/*.o ${ZIPDIR}/*.o *.o @ZSNESEXE@
diff --git a/emulators/zsnes/patches/patch-ab b/emulators/zsnes/patches/patch-ab
new file mode 100644
index 00000000000..44404e2d0cd
--- /dev/null
+++ b/emulators/zsnes/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/10/06 20:00:42 wiz Exp $
+
+--- gblhdr.h.orig Fri Sep 28 21:44:12 2001
++++ gblhdr.h
+@@ -98,10 +98,10 @@
+ #include <glob.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+- #include <arpa/inet.h>
+- #include <netinet/in.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
++ #include <netinet/in.h>
++ #include <arpa/inet.h>
+ #include <netdb.h>
+ #include <utime.h>
+ #include <zlib.h>
diff --git a/emulators/zsnes/patches/patch-ac b/emulators/zsnes/patches/patch-ac
new file mode 100644
index 00000000000..b9797320a79
--- /dev/null
+++ b/emulators/zsnes/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/10/06 20:00:42 wiz Exp $
+
+--- zip/unzip.h.orig Wed Apr 18 04:12:26 2001
++++ zip/unzip.h
+@@ -49,6 +49,10 @@
+ #include "zlib.h"
+ #endif
+
++#ifndef OF
++# define OF(args) args
++#endif
++
+ #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
+ /* like the STRICT of WIN32, we define a pointer that cannot be converted
+ from (void*) without cast */
diff --git a/emulators/zsnes/pkg/DESCR b/emulators/zsnes/pkg/DESCR
new file mode 100644
index 00000000000..2704baf6418
--- /dev/null
+++ b/emulators/zsnes/pkg/DESCR
@@ -0,0 +1 @@
+Play Super Nintendo games on your Intel x86 or compatible PC.
diff --git a/emulators/zsnes/pkg/PLIST b/emulators/zsnes/pkg/PLIST
new file mode 100644
index 00000000000..87269d7d699
--- /dev/null
+++ b/emulators/zsnes/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/06 20:00:42 wiz Exp $
+bin/zsnes
+man/man1/zsnes.1