blob: cb9ba898216d42b505818a6f1f371b3785cdc4cb (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= freeorion
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.8-rc2
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Turn-based space empire and galactic conquest game
LICENSE= GPLv2 CC-BY-SA-3.0
LICENSE_COMB= multi
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
${PY_BOOST}
USE_GITHUB= yes
USES= cmake compiler:c++14-lang python:2.7
PORTDOCS= ChangeLog.md README.md
PORTDATA= *
OPTIONS_DEFINE= DOCS TEST HEADLESS
OPTIONS_SUB= yes
TEST_CMAKE_BOOL= BUILD_TESTING
TEST_TEST_TARGET= unittest
TEST_USES= localbase
HEADLESS_DESC= Build only headless components: server and AI
HEADLESS_CMAKE_BOOL= BUILD_HEADLESS
HEADLESS_USES_OFF= openal
HEADLESS_USE_OFF= SDL=sdl2 GL=gl,glu,glew
HEADLESS_LIB_DEPENDS_OFF= \
libfreetype.so:print/freetype2 \
libogg.so:audio/libogg \
libvorbis.so:audio/libvorbis \
libpng.so:graphics/png
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>
|