source: trunk/dports/games/openmortal/Portfile @ 6562

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

add fancy icon to app

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1# $Id: Portfile,v 1.9 2004/04/19 21:51:20 mww Exp $
2
3PortSystem 1.0
4
5name            openmortal
6version         0.6
7categories      games
8platforms       darwin
9maintainers     mww@opendarwin.org
10description     Mortal Szombat is a parody of the coin-up game Mortal Kombat
11long_description        Mortal Szombat is a parody of the popular coin-up \
12                        game, Mortal Kombat. It is currently playable (maybe \
13                        even enjoyable), although it is still under \
14                        development. Only two-player game is supported, \
15                        single-player games against computer opponent is not \
16                        planned yet. There are currently 9 playable \
17                        characters, and 8 more in the making!
18
19homepage        http://openmortal.sourceforge.net/
20master_sites    sourceforge
21checksums       md5 50ff59fdfc1a7679abbc25a9b892e2d0
22use_bzip2       yes
23
24depends_lib     bin:sdl-config:libsdl \
25                lib:libSDL_mixer:libsdl_mixer \
26                lib:libSDL_image:libsdl_image \
27                lib:libSDL_ttf:libsdl_ttf \
28                lib:libSDL_net:libsdl_net \
29                lib:libfreetype:freetype \
30                bin:perl:perl
31
32variant darwin  {
33        patchfiles      patch-gfx.cpp.diff \
34                        patch-sge_tt_text.cpp.diff
35        post-destroot   {
36                xinstall -d -m 755 \
37                        ${destroot}/Applications/DarwinPorts/OpenMortal.app/Contents/MacOS \
38                        ${destroot}/Applications/DarwinPorts/OpenMortal.app/Resources
39                system "ln -s ${prefix}/bin/openmortal \
40                        ${destroot}/Applications/DarwinPorts/OpenMortal.app/Contents/MacOS/OpenMortal"
41                xinstall -m 644 ${filespath}/OpenMortal.icns \
42                        ${destroot}/Applications/DarwinPorts/OpenMortal.app/Resources/
43        }
44}
45
46configure.env   LDFLAGS="-L${prefix}/lib" \
47                CPPFLAGS="-I${prefix}/include"
48configure.args  --enable-main \
49                --enable-characters \
50                --enable-additional \
51                --enable-thirdparty \
52                --disable-sdltest
Note: See TracBrowser for help on using the repository browser.