source: trunk/dports/games/CrimsonFields/Portfile @ 8766

Last change on this file since 8766 was 8766, checked in by mww, 15 years ago

-update to v0.4.5

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.9 2004/10/15 11:30:07 mww Exp $
2
3PortSystem 1.0
4
5name                    CrimsonFields
6version                 0.4.5
7categories              games
8platforms               darwin
9maintainers             mww@opendarwin.org
10description             Tactical war game in the tradition of Battle Isle
11long_description        Crimson Fields is a tactical war game in the tradition \
12                                of Battle Isle, including a map editor and the \
13                                possibility to import the original History Line or \
14                                Battle Isle maps.
15
16homepage                http://crimson.seul.org
17master_sites    ${homepage}/files/
18distname                crimson-${version}
19checksums               md5 6e7b19859077a996797ac0d997728dcc
20
21use_bzip2               yes
22
23depends_lib             bin:sdl-config:libsdl \
24                                lib:libSDL_mixer:libsdl_mixer \
25                                lib:libSDL_ttf:libsdl_ttf \
26                                lib:libz:zlib
27
28configure.args  --disable-sdltest \
29                                --mandir=${prefix}/share/man
30
31post-destroot   {
32        file delete -force ${destroot}${prefix}/share/pixmaps
33}
34
35variant editor  {
36        configure.args-append   --enable-cfed
37}
38
39variant comet requires editor   {
40        configure.args-append   --enable-comet
41}
42
43variant darwin  {
44        pre-destroot    {
45                xinstall -d -m 755 ${destroot}/Applications/DarwinPorts/CrimsonFields.app/Contents/MacOS
46                system "ln -s ${prefix}/bin/crimson \
47                        ${destroot}/Applications/DarwinPorts/CrimsonFields.app/Contents/MacOS/CrimsonFields"
48        }
49}
Note: See TracBrowser for help on using the repository browser.