blob: 6caf25b4497e58db27aa22fa3c3d6062f4d1bf24 (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Created by: GreenDog <fiziologus@gmail.com>
# $FreeBSD$
PORTNAME= fife
PORTVERSION= 0.4.1
PORTREVISION= 3
CATEGORIES= games
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= fiziologus@gmail.com
COMMENT= Flexible Isometric Free Engine
LICENSE= LGPL21
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \
libtinyxml.so:textproc/tinyxml \
libboost_filesystem.so:devel/boost-libs \
libpng.so:graphics/png
BROKEN_powerpc64= fails to compile: fifePYTHON_wrap.cxx: relocation truncated to fit
USES= openal:al pkgconfig cmake:outsource
USE_GL= gl
USE_SDL= sdl2 ttf2 image2
USE_XORG= xcursor
USE_GITHUB= yes
GH_ACCOUNT= fifengine
GH_PROJECT= fifengine
OPTIONS_DEFINE= ZIP LOGGING
OPTIONS_MULTI= GUISS COMP
OPTIONS_SUB= yes
OPTIONS_MULTI_GUISS= FIFECHAN CEGUI
GUISS_DESC= GUI subsystem
FIFECHAN_DESC= Fifechan GUI subsystem
CEGUI_DESC= Crazy Eddi's GUI subsystem (must be build with OpenGL)
ZIP_DESC= ZIP archive support
LOGGING_DESC= Logging
OPTIONS_MULTI_COMP= PYTHON LIBRARY
COMP_DESC= Building components
PYTHON_DESC= Build python extension module (need for unknown-horizons)
LIBRARY_DESC= Build and install files for directly develop with C++
OPTIONS_DEFAULT= FIFECHAN ZIP LOGGING PYTHON
FIFECHAN_CMAKE_BOOL= fifechan
FIFECHAN_LIB_DEPENDS= libfifechan_sdl.so:devel/fifechan
CEGUI_CMAKE_BOOL= cegui
CEGUI_LIB_DEPENDS= libCEGUIBase-0.so:graphics/cegui
CEGUI_USE= gl=glew
ZIP_CMAKE_BOOL= zip
LOGGING_CMAKE_BOOL= logging
PYTHON_CMAKE_BOOL= build-python
PYTHON_USES= python:2
PYTHON_BUILD_DEPENDS= ${LOCALBASE}/bin/swig3.0:devel/swig30
LIBRARY_CMAKE_BOOL= build-library
# For static library build
# LIBRARY_CMAKE_ON= -Dbuild-library=ON -DBUILD_SHARED_LIBS=OFF
# LIBRARY_CMAKE_OFF= -Dbuild-library=OFF
.include <bsd.port.mk>
|