pkgsrc/emulators/libretro-mednafen-pce-fast/Makefile

37 lines
1,005 B
Makefile
Raw Normal View History

# $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"