# $Id$ PortSystem 1.0 PortGroup app 1.0 PortGroup cmake 1.0 name wesnoth version 1.10.6 set branch [join [lrange [split ${version} .] 0 1] .] categories games platforms darwin maintainers nodetwo.com:jordan 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 91af40c2a94dcedbd1b5c72629f0e44316300aa9 \ sha256 05f3b47dcec4d2c3e2aaa05be270bc1505948d0311f2508d2bf8ece5741d2081 depends_build-append port:pkgconfig depends_lib port:xorg-libX11 \ port:boost \ path:lib/pkgconfig/sdl.pc: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}