summaryrefslogtreecommitdiff
path: root/games/libretro-bluemsx/Makefile
blob: 7398a267352940b96b9fb4e7f9df151ad66eab16 (plain) (blame)
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
PORTNAME=	libretro-bluemsx
DISTVERSION=	0.20230417
CATEGORIES=	games

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Port of blueMSX to the libretro API
WWW=		https://github.com/libretro/blueMSX-libretro

LICENSE=	GPLv3

USES=		compiler:c++11-lib gmake
USE_GITHUB=	yes
GH_ACCOUNT=	libretro
GH_PROJECT=	blueMSX-libretro
GH_TAGNAME=	e21bf74bddb79ad1bbe20b4d964e7515269c669b
USE_LDCONFIG=	yes

PLIST_FILES=	lib/libretro/bluemsx_libretro.so

.include <bsd.port.pre.mk>

.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 150
CFLAGS+=	-Wno-error=int-conversion
.if ${COMPILER_VERSION} >= 160
CFLAGS+=	-Wno-error=incompatible-function-pointer-types
.endif
.endif

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

.include <bsd.port.post.mk>