freebsd-ports/emulators/sameboy/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

42 lines
879 B
Makefile

PORTNAME= sameboy
DISTVERSIONPREFIX= v
DISTVERSION= 0.14.3
PORTREVISION= 1
CATEGORIES= emulators games
MAINTAINER= tobik@FreeBSD.org
COMMENT= Game Boy and Game Boy Color emulator written in C
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= rgbds>0:devel/rgbds
USES= compiler:c11 desktop-file-utils gl gmake pkgconfig sdl \
shared-mime-info
USE_GITHUB= yes
GH_ACCOUNT= LIJI32
GH_PROJECT= SameBoy
USE_GL= gl
USE_SDL= sdl2
MAKE_ARGS= FREEDESKTOP=true
ALL_TARGET= sdl
# -flto
LDFLAGS+= -fuse-ld=lld
OPTIONS_DEFINE= LIBRETRO
OPTIONS_DEFAULT= LIBRETRO
OPTIONS_SUB= yes
LIBRETRO_DESC= Build libretro core
post-build-LIBRETRO-on:
@${DO_MAKE_BUILD} -C ${WRKSRC} libretro
post-install-LIBRETRO-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/libretro
${INSTALL_LIB} ${WRKSRC}/build/bin/sameboy_libretro.so \
${STAGEDIR}${PREFIX}/lib/libretro
.include <bsd.port.mk>