95274bf4f9
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE with the OSVERSION 1302507. - Utilize USE_CXXSTD=c++14 or similar solution where applicable - Update conditionals to addtionally check for OSVERSION greater than 1302507 and less than 1400000 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
33 lines
790 B
Makefile
33 lines
790 B
Makefile
PORTNAME= libretro-bluemsx
|
|
PORTVERSION= 0.20220213
|
|
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= 92d0c41
|
|
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>
|