freebsd-ports/games/emptyepsilon/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

37 lines
1005 B
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= emptyepsilon
DISTVERSIONPREFIX= EE-
DISTVERSION= 2018.02.15
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= yuri@FreeBSD.org
COMMENT= Spaceship bridge simulator game
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= fails to compile: scienceDatabase.cpp: call of overloaded 'abs(float)' is ambiguous
LIB_DEPENDS= libsfml-system.so:devel/sfml
USES= cmake:outsource compiler:c++11-lib
USE_GITHUB= yes
GH_ACCOUNT= daid
GH_PROJECT= EmptyEpsilon SeriousProton:sproton
USE_GL= gl glu
CMAKE_ARGS= -DSERIOUS_PROTON_DIR="${WRKSRC_sproton}/"
post-patch:
@${REINPLACE_CMD} -e 's|basepath + |"${DATADIR}/" + basepath + |' \
${WRKSRC_sproton}/src/resources.cpp
@${REINPLACE_CMD} -e 's|loadFromFile("resources/"|loadFromFile("${DATADIR}/resources/"|' \
${WRKSRC_sproton}/src/postProcessManager.cpp
post-install:
@${MV} ${STAGEDIR}${PREFIX}/bin/EmptyEpsilon ${STAGEDIR}${PREFIX}/bin/emptyepsilon
.include <bsd.port.mk>