mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
46 lines
969 B
Makefile
46 lines
969 B
Makefile
PORTNAME= sameboy
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.16.3
|
|
CATEGORIES= emulators games
|
|
|
|
MAINTAINER= eduardo@FreeBSD.org
|
|
COMMENT= Game Boy and Game Boy Color emulator written in C
|
|
WWW= https://sameboy.github.io/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= rgbds>0:devel/rgbds
|
|
|
|
USES= 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 \
|
|
WARNINGS="-Wno-error"
|
|
ALL_TARGET= sdl
|
|
|
|
PORTSCOUT= limit:^d\.d+\.
|
|
|
|
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:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
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>
|