blob: 28a6f25d2b0ac2bbaa187dbebb5e14ac907e47e4 (
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
|
# $NetBSD: Makefile,v 1.2 2018/08/13 17:04:42 nia Exp $
DISTNAME= libretro-snes9x-1.56.2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=snes9xgit/}
GITHUB_PROJECT= snes9x
MAINTAINER= nia@NetBSD.org
HOMEPAGE= https://docs.libretro.com/library/snes9x/
COMMENT= Libretro core based on the snes9x Super Nintendo emulator
LICENSE= snes9x-license
EXTRACT_USING= bsdtar
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
BUILD_DIRS= libretro
USE_TOOLS+= gmake
USE_LANGUAGES= c c++11
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
${INSTALL_LIB} ${WRKSRC}/libretro/snes9x_libretro.so \
${DESTDIR}${PREFIX}/lib/libretro/snes9x_libretro.so
.include "../../mk/bsd.pkg.mk"
|