# Created by: Dmitry Marakasov # $FreeBSD: head/games/endless-sky/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= endless-sky PORTVERSION= 0.8.11 DISTVERSIONPREFIX= v CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Space exploration and combat game similar to Escape Velocity LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libpng.so:graphics/png BROKEN_FreeBSD_9= does not build # revisit when ports gcc is switched to 4.9 USE_GITHUB= yes USES= compiler:c++11-lib jpeg localbase openal scons USE_SDL= sdl2 USE_GL= gl glew INSTALLS_ICONS= yes PORTDATA= * post-build: @${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|; s|share/games|share|' \ ${WRKSRC}/source/Files.cpp post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include