2d6a8202c7
Try to explain why you might want to use this (e.g. instead of libretro-nestopia).
31 lines
777 B
Makefile
31 lines
777 B
Makefile
# $NetBSD: Makefile,v 1.3 2018/08/08 20:56:20 nia Exp $
|
|
|
|
DISTNAME= libretro-fceumm-20180621
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
|
|
GITHUB_TAG= 67c072617b700560acbfea54f2779cb290dbf827
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://docs.libretro.com/library/fceumm/
|
|
COMMENT= Libretro core based on the FCEUmm Famicom/NES emulator
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
EXTRACT_USING= bsdtar
|
|
MAKE_FILE= Makefile.libretro
|
|
USE_TOOLS+= gmake
|
|
|
|
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
|
|
|
|
.include "../../mk/endian.mk"
|
|
|
|
.if ${MACHINE_ENDIAN} == "big"
|
|
CFLAGS+= -DMSB_FIRST
|
|
.endif
|
|
|
|
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
|
|
|
|
do-install:
|
|
${INSTALL_LIB} ${WRKSRC}/fceumm_libretro.so \
|
|
${DESTDIR}${PREFIX}/lib/libretro/fceumm_libretro.so
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|