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

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

version bump, change mailaddress

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.5 2004/05/13 11:03:56 mww Exp $
2
3PortSystem 1.0
4
5name            wesnoth
6version         0.7.6
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 9e5be4ca1420b4c4f6e3fdc2b981aaef
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
27use_autoconf    yes
28
29configure.env   CFLAGS=-I${prefix}/include \
30                LDFLAGS=-L${prefix}/lib
31configure.args  --disable-sdltest \
32                --enable-server
33
34variant darwin  {
35        pre-destroot    {
36                file mkdir ${destroot}/Applications/DarwinPorts/Wesnoth.app/Contents/MacOS
37                system "ln -s ${prefix}/bin/wesnoth \
38                        ${destroot}/Applications/DarwinPorts/Wesnoth.app/Contents/MacOS/Wesnoth"
39        }
40}
Note: See TracBrowser for help on using the repository browser.