summaryrefslogtreecommitdiff
path: root/emulators/libretro-vice/Makefile
blob: b086cf3134a18338c203373a9a3ddbf97080e149 (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
32
33
34
35
36
37
38
39

PORTNAME=	libretro-vice
PORTVERSION=	0.20201218
CATEGORIES=	emulators games
PKGNAMESUFFIX=	-${FLAVOR}

MAINTAINER=	menelkir@itroll.org
COMMENT=	${${FLAVOR}_COMMENT}

LICENSE=	GPLv2

FLAVORS=	x64 x128 x64sc xcbm2 xcbm5x0 xpet xplus4 xscpu64 xvic
FLAVOR?=	${FLAVORS:[1]}

USES=		compiler:c11 gmake

USE_GITHUB=	yes
GH_ACCOUNT=	libretro
GH_PROJECT=	vice-libretro
GH_TAGNAME=	5725415

MAKE_ARGS=	EMUTYPE=${FLAVOR}
PLIST_FILES=	lib/libretro/vice_${FLAVOR}_libretro.so

x128_COMMENT=		Commodore C128 core for libretro API
x64_COMMENT=		Commodore C64 core for libretro API
x64sc_COMMENT=		Commodore C64 core for libretro API focused on accuracy
xcbm2_COMMENT=		Commodore CBM-6x0/7x0 core for libretro API
xcbm5x0_COMMENT=	Commodore C64 core for libretro API focused on accuracy
xpet_COMMENT=		Commodore PET core for libretro API
xplus4_COMMENT=		Commodore PLUS4 core for libretro API
xscpu64_COMMENT=	Commodore C64+SuperCPU core for libretro API
xvic_COMMENT=		Commodore VIC20 core for libretro API

do-install:
	${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro
	${INSTALL_LIB} ${WRKSRC}/${COREDIR}/vice_${FLAVOR}_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro

.include <bsd.port.mk>