From 2c8dd60b764a7e79628f2c08874d4f010353a36b Mon Sep 17 00:00:00 2001 From: jmcneill Date: Thu, 5 Feb 2015 00:16:25 +0000 Subject: Import libretro-snes9x-next-20150204 as emulators/libretro-snes9x-next. 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. SNES9x Next is a Super Nintendo video game system emulator. --- emulators/libretro-snes9x-next/Makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 emulators/libretro-snes9x-next/Makefile (limited to 'emulators/libretro-snes9x-next/Makefile') diff --git a/emulators/libretro-snes9x-next/Makefile b/emulators/libretro-snes9x-next/Makefile new file mode 100644 index 00000000000..954e578d05f --- /dev/null +++ b/emulators/libretro-snes9x-next/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1 2015/02/05 00:16:25 jmcneill Exp $ + +DISTNAME= snes9x-next-libretro-20150204 +PKGNAME= libretro-snes9x-next-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/snes9x-next +COMMENT= Libretro core based on the SNES9x 1.52+ emulator + +WRKSRC= ${WRKDIR}/snes9x-next-master +USE_TOOLS+= gmake + +.include "../../mk/bsd.prefs.mk" + +SNES9X_NEXT_PLATFORM= ${MACHINE_ARCH} +.if !empty(MACHINE_ARCH:M*arm*hf) +SNES9X_NEXT_PLATFORM+= -hardfloat +.endif + +MAKE_ENV+= platform="${SNES9X_NEXT_PLATFORM}" + +INSTALLATION_DIRS+= ${PREFIX}/lib/libretro + +do-install: + ${INSTALL_LIB} ${WRKSRC}/snes9x_next_libretro.so \ + ${DESTDIR}${PREFIX}/lib/libretro/snes9x_next_libretro.so + +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3