source: trunk/dports/games/openmortal/Portfile

Last change on this file was 114119, checked in by jmr@…, 4 years ago

libsdl dependents: use port: depspec - there's now only one port that provides sdl.pc, and most of these never worked with libsdl-devel in the first place

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 114119 2013-11-29 22:31:11Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               app 1.0
5
6name                    openmortal
7version                 0.7
8revision                1
9categories              games
10platforms               darwin
11maintainers             nomaintainer
12license                 GPL-2
13
14description             Mortal Szombat is a parody of the coin-up game Mortal Kombat
15long_description        Mortal Szombat is a parody of the popular coin-up \
16                        game, Mortal Kombat. It is currently playable (maybe \
17                        even enjoyable), although it is still under \
18                        development. Only two-player game is supported, \
19                        single-player games against computer opponent is not \
20                        planned yet. There are currently 9 playable \
21                        characters, and 8 more in the making!
22
23homepage                http://openmortal.sourceforge.net/
24master_sites            sourceforge:project/openmortal/openmortal/${version}
25use_bzip2               yes
26
27checksums               md5     95278382bb563906fce624d833a845cf \
28                        sha1    a7177012e1c0eb04f357aa9ff013e53c8f7b835c \
29                        rmd160  6a0fdd46445ed243db261227a93526b97c6f9d79
30
31depends_lib             port:libsdl \
32                        port:libsdl_mixer \
33                        port:libsdl_image \
34                        port:libsdl_ttf \
35                        port:libsdl_net \
36                        port:freetype \
37                        bin:perl:perl5
38
39patchfiles              openmortal-0.7-gcc41.patch
40
41configure.args          --enable-main \
42                        --enable-characters \
43                        --enable-additional \
44                        --enable-thirdparty \
45                        --disable-sdltest
46
47platform darwin {
48    post-extract {
49        # Convert files from DOS to UNIX linefeeds before patching.
50        reinplace "s/\r$//g" \
51            ${worksrcpath}/src/gfx.cpp
52    }
53    patchfiles-append   patch-gfx.cpp.diff \
54                        patch-sge_tt_text.cpp.diff
55}
56
57app.name                OpenMortal
58app.icon                ${filespath}/OpenMortal.icns
Note: See TracBrowser for help on using the repository browser.