pkgsrc/emulators/libretro-mupen64plus/Makefile
2016-02-25 12:50:49 +00:00

35 lines
971 B
Makefile

# $NetBSD: Makefile,v 1.8 2016/02/25 12:50:49 jperkin Exp $
DISTNAME= mupen64plus-libretro-20150204
PKGNAME= libretro-mupen64plus-20150204
PKGREVISION= 1
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/mupen64plus-libretro
COMMENT= Libretro core based on the Mupen64 Plus emulator
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/mupen64plus-libretro-master
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
SUBST_CLASSES+= vc
SUBST_STAGE.vc= pre-configure
SUBST_MESSAGE.vc= Fixing path to VideoCore libraries.
SUBST_FILES.vc= Makefile
SUBST_SED.vc+= -e 's;/opt/vc;${PREFIX};g'
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
CFLAGS.NetBSD+= -DHAVE_POSIX_MEMALIGN=1
.include "options.mk"
do-install:
${INSTALL_LIB} ${WRKSRC}/mupen64plus_libretro.so \
${DESTDIR}${PREFIX}/lib/libretro/mupen64plus_libretro.so
.include "../../mk/bsd.pkg.mk"