summaryrefslogtreecommitdiff
path: root/games/libretro-paralleln64/Makefile
blob: 8bf2cac20367a73bec100ac1e2f203808b6f1165 (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

PORTNAME=	libretro-paralleln64
PORTVERSION=	0.20210127
CATEGORIES=	games

MAINTAINER=	menelkir@itroll.org
COMMENT=	Improved Nintendo 64 core for libretro

LICENSE=	BITSTREAM_VERA CC0-1.0 GFDL GPLv2 GPLv3 LGPL3 MIT ZLIB
LICENSE_COMB=	multi
LICENSE_NAME_BITSTREAM_VERA=	Bitstream Vera Sans - Roman Release 1.10
LICENSE_FILE_BITSTREAM_VERA=	${WRKSRC}/mupen64plus-core/doc/font-license
LICENSE_PERMS_BITSTREAM_VERA=	auto-accept

BROKEN_i386=	Doesn't build.

USES=		compiler:c++11-lang gmake gl localbase
USE_GL=		gl
USE_LDCONFIG=	yes

NO_CDROM=	Commercial users must seek permission from copyright holders.

DYNAREC=	${ARCH:S/amd64/x86_64/:C/armv.*/arm/:S/i386/x86/}

MAKE_ARGS=	WITH_DYNAREC=${DYNAREC}

USE_GITHUB=	yes
GH_ACCOUNT=	libretro
GH_PROJECT=	parallel-n64
GH_TAGNAME=	6e26fbb

PLIST_FILES=	lib/libretro/parallel_n64_libretro.so

do-install:
	${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
	${INSTALL_LIB} ${WRKSRC}/parallel_n64_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;

.include <bsd.port.mk>