freebsd-ports/games/endless-sky/Makefile
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00

38 lines
920 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= endless-sky
PORTVERSION= 0.9.8
PORTREVISION= 3
DISTVERSIONPREFIX= v
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Space exploration and combat game similar to Escape Velocity
LICENSE= GPLv3+ CC-BY-4.0 CC-BY-SA-3.0 CC-BY-SA-4.0 PD
LICENSE_COMB= multi
LICENSE_FILE_GPLv3+ = ${WRKSRC}/license.txt
LIB_DEPENDS= libpng.so:graphics/png \
libmad.so:audio/libmad
USE_GITHUB= yes
USES= compiler:c++11-lib jpeg localbase:ldflags openal scons
USE_SDL= sdl2
USE_GL= gl glew
LLD_UNSAFE= yes
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}
@${LN} -s ../icons/hicolor/32x32/apps/endless-sky.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
.include <bsd.port.mk>