# $Id: Portfile,v 1.7 2004/12/28 10:21:20 toby Exp $ PortSystem 1.0 name wesnoth version 0.7.7 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 4216a6ac54274589d00858d49f7609aa homepage http://www.wesnoth.org master_sites opendarwin ${homepage}/files/ depends_lib bin:sdl-config:libsdl \ lib:libSDL_image:libsdl_image \ lib:libSDL_mixer:libsdl_mixer \ lib:libSDL_ttf:libsdl_ttf \ lib:libSDL_net:libsdl_net configure.env CFLAGS=-I${prefix}/include \ LDFLAGS=-L${prefix}/lib configure.args --disable-sdltest \ --enable-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" } }