pkgsrc/emulators/libretro-mednafen-pce-fast/Makefile
jmcneill 341c4321cf Import libretro-mednafen-pce-fast-20150210 as emulators/libretro-mednafen-pce-fast.
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.

Beetle/Mednafen PCE FAST is a TurboGrafx-16/NEC PC Engine/CD video game
system emulator.
2015-02-11 00:16:25 +00:00

36 lines
1,005 B
Makefile

# $NetBSD: Makefile,v 1.1 2015/02/11 00:16:25 jmcneill Exp $
DISTNAME= mednafen-pce-fast-libretro-20150210
PKGNAME= libretro-mednafen-pce-fast-20150210
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/beetle-pce-fast-libretro
COMMENT= Libretro core based on the Mednafen PCE Fast emulator
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/beetle-pce-fast-libretro-master
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= mednafen/tremor/vorbisidec.pc.in
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_ARCH:M*arm*hf)
MEDNAFEN_PLATFORM= ${MACHINE_ARCH}-hardfloat
.else
MEDNAFEN_PLATFORM= unix
.endif
MAKE_ENV+= platform="${MEDNAFEN_PLATFORM}"
do-install:
${INSTALL_LIB} ${WRKSRC}/mednafen_pce_fast_libretro.so \
${DESTDIR}${PREFIX}/lib/libretro/mednafen_pce_fast_libretro.so
.include "../../mk/bsd.pkg.mk"