1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/emulators/x16-emulator/Makefile
Mark Linimon 49f135b8a5 Add compiler:c++11-lang to USES to fix build on GCC-based systems:
extern/include/gif.h:167: error: 'for' loop initial declaration used outside C99 mode

Approved by:	portmgr (tier-2 blanket)
2020-03-31 01:03:24 +00:00

37 lines
641 B
Makefile

# $FreeBSD$
PORTNAME= x16-emulator
DISTVERSION= r37
CATEGORIES= emulators
MAINTAINER= makc@FreeBSD.org
COMMENT= Emulator for the Commander X16 8-bit computer
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${DATADIR}/rom.bin:emulators/x16-rom
USES= compiler:c++11-lang gmake sdl
USE_SDL= sdl2
USE_GITHUB= yes
GH_ACCOUNT= commanderx16
DESKTOP_ENTRIES= "Commander X16" \
"" \
"" \
"x16emu" \
"" \
true
PLIST_FILES= bin/x16emu
post-patch:
${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/main.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/x16emu ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>