mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
bf2df14272
PR: 246124 Submitted by: menelkir@itroll.org Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D24940
36 lines
728 B
Makefile
36 lines
728 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libretro-yabause
|
|
PORTVERSION= 0.20200504
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= menelkir@itroll.org
|
|
COMMENT= Saturn emulator for libretro
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= compiler:c++11-lib gmake
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= libretro
|
|
GH_PROJECT= yabause
|
|
GH_TAGNAME= 9be109f
|
|
|
|
PLIST_FILES= lib/libretro/yabause_libretro.so
|
|
|
|
MAKEFILE= Makefile.freebsd
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
.if ${ARCH} != "amd64"
|
|
@${REINPLACE_CMD} -e "s/HAVE_SSE = 1/HAVE_SSE = 0/" ${WRKSRC}/yabause/src/libretro/Makefile
|
|
.endif
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
|
|
${INSTALL_LIB} ${WRKSRC}/yabause/src/libretro/yabause_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
|
|
|
|
.include <bsd.port.post.mk>
|