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

Last change on this file since 7117 was 7117, checked in by mww, 16 years ago

version bump

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.6 2004/05/20 08:02:51 mww Exp $
2
3PortSystem 1.0
4
5name            wesnoth
6version         0.7.7
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 4216a6ac54274589d00858d49f7609aa
19homepage        http://www.wesnoth.org
20master_sites    ${homepage}/files/
21depends_lib     bin:sdl-config:libsdl \
22                lib:libSDL_image:libsdl_image \
23                lib:libSDL_mixer:libsdl_mixer \
24                lib:libSDL_ttf:libsdl_ttf \
25                lib:libSDL_net:libsdl_net
26
27configure.env   CFLAGS=-I${prefix}/include \
28                LDFLAGS=-L${prefix}/lib
29configure.args  --disable-sdltest \
30                --enable-server
31
32variant darwin  {
33        pre-destroot    {
34                file mkdir ${destroot}/Applications/DarwinPorts/Wesnoth.app/Contents/MacOS
35                system "ln -s ${prefix}/bin/wesnoth \
36                        ${destroot}/Applications/DarwinPorts/Wesnoth.app/Contents/MacOS/Wesnoth"
37        }
38}
Note: See TracBrowser for help on using the repository browser.