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

Last change on this file since 30227 was 30227, checked in by jmpp@…, 12 years ago

nomaintainer address abstraction in games category.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 30227 2007-10-22 22:55:58Z jmpp@macports.org $
2
3PortSystem 1.0
4
5name            wesnoth
6version         1.0.2
7categories      games
8platforms       darwin
9maintainers     nomaintainer
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 1d2a26062ce1c90cbf10845023f9435c
19homepage        http://www.wesnoth.org/
20master_sites    sourceforge
21depends_lib     port:libsdl \
22                port:libsdl_image \
23                port:libsdl_mixer \
24                port:libsdl_ttf \
25                port:libsdl_net \
26                port:libiconv \
27                port:freetype \
28                port:gettext
29
30configure.args  --mandir=${prefix}/share/man \
31                                --with-freetype-prefix=${prefix} \
32                                --with-libiconv-prefix=${prefix} \
33                                --disable-sdltest \
34                                --disable-server \
35                                --disable-gnome1 \
36                                --disable-gnome2
37
38platform darwin 8 {
39        configure.compiler      gcc-4.0
40}
41
42platform macosx {
43        pre-destroot    {
44                xinstall -m 755 -d ${destroot}/Applications/MacPorts/Wesnoth.app/Contents/MacOS
45                system "ln -sf ${prefix}/bin/wesnoth \
46                        ${destroot}/Applications/MacPorts/Wesnoth.app/Contents/MacOS/Wesnoth"
47        }
48}
49
Note: See TracBrowser for help on using the repository browser.