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

Last change on this file since 5615 was 5615, checked in by blb, 16 years ago

Submitted by: blb@
Approved by: mww@
Port: CrimsonFields
Version: 0.4.0

Update port games/CrimsonFields
Version bump, add libsdl_ttf as a dependency

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.5 2004/02/26 08:18:15 blb Exp $
2
3PortSystem 1.0
4
5name            CrimsonFields
6version         0.4.0
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 fb28a27632e8f0697f2daf7c1e473c54
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        #rename binary to avoid potential conflicts with other programs...
33        file rename ${destroot}${prefix}/bin/crimson \
34                ${destroot}${prefix}/bin/crimsonfields
35}
36
37variant editor  {
38        configure.args-append   --enable-cfed
39}
40
41variant comet requires editor   {
42        configure.args-append   --enable-comet
43}
44
45variant darwin  {
46        pre-destroot    {
47                file mkdir ${destroot}/Applications/DarwinPorts/CrimsonFields.app/Contents/MacOS
48                system "ln -s ${prefix}/bin/crimsonfields \
49                        ${destroot}/Applications/DarwinPorts/CrimsonFields.app/Contents/MacOS/CrimsonFields"
50        }
51}
Note: See TracBrowser for help on using the repository browser.