# $Id: Portfile,v 1.9 2005/07/26 20:59:03 mww Exp $ PortSystem 1.0 name wesnoth version 0.9.4 categories games platforms darwin maintainers phw@opendarwin.org 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 md5 b27115df93298a8ee192a85499f26ef2 homepage http://www.wesnoth.org/ master_sites ${homepage}/files/ depends_lib port:libsdl \ port:libsdl_image \ port:libsdl_mixer \ port:libsdl_ttf \ port:libsdl_net configure.env CFLAGS=-I${prefix}/include \ LDFLAGS=-L${prefix}/lib configure.args --mandir=${prefix}/share/man \ --disable-sdltest \ --disable-server variant darwin { pre-destroot { file mkdir ${destroot}/Applications/DarwinPorts/Wesnoth.app/Contents/MacOS system "ln -s ${prefix}/bin/wesnoth \ ${destroot}/Applications/DarwinPorts/Wesnoth.app/Contents/MacOS/Wesnoth" } }