blob: 02b981593fa0280e02db01a27507ce5be300c40f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.2 2015/02/05 16:57:53 wiz Exp $
DISTNAME= picodrive-libretro-20150203
PKGNAME= libretro-picodrive-20150203
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/picodrive
COMMENT= Fast MegaDrive/MegaCD/32X emulator
LICENSE= picodrive-license
WRKSRC= ${WRKDIR}/picodrive
MAKE_FILE= Makefile.libretro
USE_TOOLS+= gmake
.if !empty(MACHINE_ARCH:M*armv6*)
MAKE_ENV+= HAVE_ARMV6=1
.endif
.if !empty(MACHINE_ARCH:M*armv7*)
MAKE_ENV+= HAVE_ARMV7=1
.endif
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
${INSTALL_LIB} ${WRKSRC}/picodrive_libretro.so \
${DESTDIR}${PREFIX}/lib/libretro/picodrive_libretro.so
.include "../../mk/bsd.pkg.mk"
|