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

Last change on this file since 10006 was 10006, checked in by toby, 15 years ago

Fix fetching by pointing it at opendarwin first.

  • Property svn:eol-style set to native
File size: 1.2 KB
RevLine 
[10006]1# $Id: Portfile,v 1.7 2004/12/28 10:21:20 toby Exp $
[4493]2
3PortSystem 1.0
4
5name            wesnoth
[7117]6version         0.7.7
[4493]7categories      games
8platforms       darwin
[6980]9maintainers     phw@opendarwin.org
[4493]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.
[7117]18checksums       md5 4216a6ac54274589d00858d49f7609aa
[4493]19homepage        http://www.wesnoth.org
[10006]20master_sites    opendarwin ${homepage}/files/
[4493]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
[5042]26
[5933]27configure.env   CFLAGS=-I${prefix}/include \
28                LDFLAGS=-L${prefix}/lib
[6980]29configure.args  --disable-sdltest \
30                --enable-server
[5042]31
[4493]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.