# Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= hyperrogue PORTVERSION= 9.4g DISTVERSIONPREFIX= v CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Roguelike in a non-euclidean world LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png BROKEN_powerpc64= fails to link: langen-langen.o: relocation truncated to fit: R_PPC64_TOC16_DS USE_GITHUB= yes GH_ACCOUNT= zenorogue USES= autoreconf localbase GNU_CONFIGURE= yes USE_SDL= sdl mixer gfx ttf USE_GL= gl # remove -O2, otherwise clang takes gigabytes of memory CFLAGS:= ${CFLAGS:C/-O[0-9]//} -DFHS CXXFLAGS:= ${CXXFLAGS:C/-O[0-9]//} -DFHS PORTDOCS= README.md DESKTOP_ENTRIES="HyperRogue" \ "" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "${PORTNAME}" \ "Game;RolePlaying;" \ "" OPTIONS_DEFINE= DOCS post-install: ${INSTALL_DATA} ${WRKSRC}/hr-icon.ico ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ .include