mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
001a7a1252
Reported by: portscout
34 lines
884 B
Makefile
34 lines
884 B
Makefile
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= emptyepsilon
|
|
DISTVERSIONPREFIX= EE-
|
|
DISTVERSION= 2019.11.01
|
|
CATEGORIES= games
|
|
|
|
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 xorg
|
|
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>
|