blob: 60ad15577db900e993e0566a69a0376c3d2363ac (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= endless-sky
PORTVERSION= 0.9.2
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
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 <bsd.port.mk>
|