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

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

minor version update

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.6 2004/03/31 16:28:02 mww Exp $
2
3PortSystem 1.0
4
5name            CrimsonFields
6version         0.4.1
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 28cef75cc9a871421cf34ed487921c3f
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
30post-destroot   {
31        file delete -force ${destroot}${prefix}/share/pixmap
32}
33
34variant editor  {
35        configure.args-append   --enable-cfed
36}
37
38variant comet requires editor   {
39        configure.args-append   --enable-comet
40}
41
42variant darwin  {
43        pre-destroot    {
44                xinstall -d -m 755 ${destroot}/Applications/DarwinPorts/CrimsonFields.app/Contents/MacOS
45                system "ln -s ${prefix}/bin/crimson \
46                        ${destroot}/Applications/DarwinPorts/CrimsonFields.app/Contents/MacOS/CrimsonFields"
47        }
48}
Note: See TracBrowser for help on using the repository browser.