SUMMARY="A free, open-source cross-platform game engine" DESCRIPTION="FIFE is a free, open-source cross-platform game engine. It \ features hardware-accelerated 2D graphics, integrated GUI, audio support, \ lighting, map editor supporting top-down and isometric maps, pathfinding, \ virtual filesystem and more!" HOMEPAGE="http://www.fifengine.net/" COPYRIGHT="2003-2015 FIFE" LICENSE="GNU LGPL v2.1" REVISION="1" SOURCE_URI="https://github.com/fifengine/fifengine/archive/50d2f7cf9a5d5433102c32851e587e3e9142d2e0.tar.gz" CHECKSUM_SHA256="5ed17fff9b9892ad4b6ef0500b314b4428c8c60dd2cf50669a62527923cfb519" SOURCE_DIR="fifengine-50d2f7cf9a5d5433102c32851e587e3e9142d2e0" PATCHES="fife-$portVersion.patchset" ARCHITECTURES="x86 x86_64" PROVIDES=" fife = $portVersion " REQUIRES=" haiku python lib:libboost_filesystem lib:libboost_regex lib:libboost_system lib:libfifechan lib:libfifechan_sdl lib:libogg lib:libopenal lib:libpng lib:libsdl lib:libsdl_image lib:libsdl_ttf lib:libvorbisfile lib:libz " BUILD_REQUIRES=" devel:libboost_filesystem devel:libboost_regex devel:libboost_system devel:libfifechan devel:libfifechan_sdl devel:libogg devel:libopenal devel:libpng devel:libsdl devel:libsdl_image devel:libsdl_ttf devel:libvorbisfile devel:libz " BUILD_PREREQUIRES=" haiku_devel cmd:gcc cmd:scons cmd:swig " BUILD() { scons --disable-opengl --disable-githash --local-tinyxml $jobArgs \ fife-python } INSTALL() { pythonVersion=$(python -c 'import sys; print(str(sys.version_info[0]) + "." + str(sys.version_info[1]))') vendorPackagesPath="$libDir/python$pythonVersion/vendor-packages" mkdir -p "$vendorPackagesPath" scons --disable-opengl --disable-githash --local-tinyxml $jobArgs \ --python-prefix="$vendorPackagesPath" install-python }