# $Id$ PortSystem 1.0 PortGroup app 1.0 PortGroup cmake 1.0 name wesnoth version 1.10.7 set branch [join [lrange [split ${version} .] 0 1] .] categories games platforms darwin maintainers nomaintainer license GPL-2+ homepage http://www.wesnoth.org/ master_sites sourceforge:project/wesnoth/wesnoth-${branch}/wesnoth-${version} use_bzip2 yes use_parallel_build yes description A fantasy turn-based strategy game long_description Battle for Wesnoth is a fantasy turn-based strategy \ game. Battle for control of villages, using variety of \ units which have advantages and disadvantages in \ different types of terrains and against different \ types of attacks. Units gain experience and advance \ levels, and are carried over from one scenario to the \ next campaign. checksums rmd160 0d4b320833957fe67a9b5967083068a9d33b5889 \ sha256 8a3b5a3409a57b646536e547094e1bb8bcd87797e00cd63184152222e377253e depends_build-append port:pkgconfig depends_lib port:xorg-libX11 \ port:boost \ port:libsdl \ port:libsdl_image \ port:libsdl_mixer \ port:libsdl_ttf \ port:libsdl_net \ port:libiconv \ port:lua \ path:lib/pkgconfig/pango.pc:pango \ port:fontconfig \ port:freetype \ port:fribidi \ port:gettext \ port:zlib patchfiles patch-cmake-FindFriBiDi.cmake.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/cmake/FindFriBiDi.cmake } app.icon icons/wesnoth-icon-Mac.png livecheck.type sourceforge livecheck.regex /${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}