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

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

version bump

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.4 2004/01/26 23:40:58 mww Exp $
2
3PortSystem 1.0
4
5name            CrimsonFields
6version         0.3.8
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 254bdbc182d0aeb6bb04fb1c56b77801
20
21use_bzip2       yes
22
23depends_lib     bin:sdl-config:libsdl \
24                lib:libSDL_mixer:libsdl_mixer \
25                lib:libz:zlib
26
27configure.args  --disable-sdltest
28
29post-destroot   {
30        file delete -force ${destroot}${prefix}/share/pixmap
31        #rename binary to avoid potential conflicts with other programs...
32        file rename ${destroot}${prefix}/bin/crimson \
33                ${destroot}${prefix}/bin/crimsonfields
34}
35
36variant editor  {
37        configure.args-append   --enable-cfed
38}
39
40variant comet requires editor   {
41        configure.args-append   --enable-comet
42}
43
44variant darwin  {
45        pre-destroot    {
46                file mkdir ${destroot}/Applications/DarwinPorts/CrimsonFields.app/Contents/MacOS
47                system "ln -s ${prefix}/bin/crimsonfields \
48                        ${destroot}/Applications/DarwinPorts/CrimsonFields.app/Contents/MacOS/CrimsonFields"
49        }
50}
Note: See TracBrowser for help on using the repository browser.