source: trunk/dports/games/wesnoth/Portfile @ 13234

Last change on this file since 13234 was 13234, checked in by mww, 14 years ago

Submitted by: phw@
Reviewed by: mww@

update to 0.9.4

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.9 2005/07/26 20:59:03 mww Exp $
2
3PortSystem 1.0
4
5name            wesnoth
6version         0.9.4
7categories      games
8platforms       darwin
9maintainers     phw@opendarwin.org
10description     A fantasy turn-based strategy game
11long_description        Battle for Wesnoth is a fantasy turn-based strategy \
12                        game. Battle for control of villages, using variety of \
13                        units which have advantages and disadvantages in \
14                        different types of terrains and against different \
15                        types of attacks. Units gain experience and advance \
16                        levels, and are carried over from one scenario to the \
17                        next campaign.
18checksums       md5 b27115df93298a8ee192a85499f26ef2
19homepage        http://www.wesnoth.org/
20master_sites    ${homepage}/files/
21depends_lib     port:libsdl \
22                port:libsdl_image \
23                port:libsdl_mixer \
24                port:libsdl_ttf \
25                port:libsdl_net
26
27configure.env   CFLAGS=-I${prefix}/include \
28                                LDFLAGS=-L${prefix}/lib
29configure.args  --mandir=${prefix}/share/man \
30                                --disable-sdltest \
31                                --disable-server
32
33variant darwin  {
34        pre-destroot    {
35                file mkdir ${destroot}/Applications/DarwinPorts/Wesnoth.app/Contents/MacOS
36                system "ln -s ${prefix}/bin/wesnoth \
37                        ${destroot}/Applications/DarwinPorts/Wesnoth.app/Contents/MacOS/Wesnoth"
38        }
39}
Note: See TracBrowser for help on using the repository browser.