freebsd-ports/games/emptyepsilon/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

37 lines
1 KiB
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= emptyepsilon
DISTVERSIONPREFIX= EE-
DISTVERSION= 2019.05.21
PORTREVISION= 1
CATEGORIES= games
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= bbdf350f103a0b680f2053c94d8e91403260357e.patch:-p1
MAINTAINER= yuri@FreeBSD.org
COMMENT= Spaceship bridge simulator game
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsfml-system.so:devel/sfml
USES= cmake compiler:c++11-lib gl
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>