diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2015-02-05 00:16:25 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2015-02-05 00:16:25 +0000 |
commit | 2c8dd60b764a7e79628f2c08874d4f010353a36b (patch) | |
tree | 97a9e865c0a00b16df2a825bd1bde99ff13cc20d /emulators/libretro-snes9x-next/Makefile | |
parent | 773f85f8ba96eac747feb5f269c1496709e5761a (diff) | |
download | pkgsrc-2c8dd60b764a7e79628f2c08874d4f010353a36b.tar.gz |
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.
Diffstat (limited to 'emulators/libretro-snes9x-next/Makefile')
-rw-r--r-- | emulators/libretro-snes9x-next/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
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" |