summaryrefslogtreecommitdiff
path: root/emulators/libretro-catsfc
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2015-02-05 02:23:37 +0000
committerjmcneill <jmcneill@pkgsrc.org>2015-02-05 02:23:37 +0000
commit04617c32232e25b29dd3383ac1454e97f44840d4 (patch)
treecc1c9acbb979ec1a260950ffa0e2520949a4c6bc /emulators/libretro-catsfc
parenta7fdc778f8a2db1b7b73a8b62d5babae97e83419 (diff)
downloadpkgsrc-04617c32232e25b29dd3383ac1454e97f44840d4.tar.gz
Import libretro-catsfc-20150204 as emulators/libretro-catsfc.
Libretro is a simple but powerful development interface that allows for the easy creation of emulators, games and multimedia applications that can plug straight into any libretro-compatible frontend. This development interface is open to others so that they can run these pluggable emulator and game cores also in their own programs or devices. CATSFC is a Super Nintendo video game system emulator.
Diffstat (limited to 'emulators/libretro-catsfc')
-rw-r--r--emulators/libretro-catsfc/DESCR7
-rw-r--r--emulators/libretro-catsfc/Makefile22
-rw-r--r--emulators/libretro-catsfc/PLIST2
-rw-r--r--emulators/libretro-catsfc/distinfo6
-rw-r--r--emulators/libretro-catsfc/patches/patch-Makefile13
5 files changed, 50 insertions, 0 deletions
diff --git a/emulators/libretro-catsfc/DESCR b/emulators/libretro-catsfc/DESCR
new file mode 100644
index 00000000000..4f5b21e8137
--- /dev/null
+++ b/emulators/libretro-catsfc/DESCR
@@ -0,0 +1,7 @@
+Libretro is a simple but powerful development interface that allows for the
+easy creation of emulators, games and multimedia applications that can plug
+straight into any libretro-compatible frontend. This development interface is
+open to others so that they can run these pluggable emulator and game cores
+also in their own programs or devices.
+
+CATSFC is a Super Nintendo video game system emulator.
diff --git a/emulators/libretro-catsfc/Makefile b/emulators/libretro-catsfc/Makefile
new file mode 100644
index 00000000000..89c2ea91d30
--- /dev/null
+++ b/emulators/libretro-catsfc/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2015/02/05 02:23:37 jmcneill Exp $
+
+DISTNAME= catsfc-libretro-20150204
+PKGNAME= libretro-catsfc-20150204
+CATEGORIES= emulators
+MASTER_SITES= http://ftp.NetBSD.org/pub/NetBSD/misc/jmcneill/retroarch/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/libretro/CATSFC-libretro
+COMMENT= Libretro core based on the CATSFC Super Nintendo emulator
+
+WRKSRC= ${WRKDIR}/CATSFC-libretro-master
+USE_TOOLS+= gmake
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/catsfc_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro/catsfc_libretro.so
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libretro-catsfc/PLIST b/emulators/libretro-catsfc/PLIST
new file mode 100644
index 00000000000..af5edeed2db
--- /dev/null
+++ b/emulators/libretro-catsfc/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2015/02/05 02:23:37 jmcneill Exp $
+lib/libretro/catsfc_libretro.so
diff --git a/emulators/libretro-catsfc/distinfo b/emulators/libretro-catsfc/distinfo
new file mode 100644
index 00000000000..b52a78ed4f4
--- /dev/null
+++ b/emulators/libretro-catsfc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/02/05 02:23:37 jmcneill Exp $
+
+SHA1 (catsfc-libretro-20150204.zip) = 56b18085adb5c059449efba161752338dfd5fb19
+RMD160 (catsfc-libretro-20150204.zip) = 8310fbe322f07b4c5e631efb308febaaa39075f9
+Size (catsfc-libretro-20150204.zip) = 470156 bytes
+SHA1 (patch-Makefile) = 90151425f548bab3d4e30c4257af9a9a6a351470
diff --git a/emulators/libretro-catsfc/patches/patch-Makefile b/emulators/libretro-catsfc/patches/patch-Makefile
new file mode 100644
index 00000000000..30d97e8b58b
--- /dev/null
+++ b/emulators/libretro-catsfc/patches/patch-Makefile
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile,v 1.1 2015/02/05 02:23:37 jmcneill Exp $
+
+--- Makefile.orig 2015-02-01 04:29:17.000000000 +0000
++++ Makefile
+@@ -206,7 +206,7 @@ $(TARGET): $(OBJECTS)
+ ifeq ($(STATIC_LINKING), 1)
+ $(AR) rcs $@ $(OBJECTS)
+ else
+- $(CXX) -o $@ $^ $(LDFLAGS)
++ $(CC) -o $@ $^ $(LDFLAGS)
+ endif
+
+ %.o: %.cpp