source: trunk/dports/games/xmoto/Portfile

Last change on this file was 115019, checked in by ryandesign@…, 4 years ago

revbump ports depending on libpng following libpng 1.6.x update (#41842)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 115019 2013-12-22 09:29:46Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup app 1.0
5
6name            xmoto
7version         0.5.10
8revision        3
9categories      games
10platforms       macosx
11maintainers     nomaintainer
12
13description     X-Moto is a challenging 2D motocross platform game
14long_description \
15                X-Moto is a challenging 2D motocross platform game, where \
16                physics plays an all important role in the gameplay. You need \
17                to control your bike to its limits, if you want to have a \
18                chance to finish the most difficult challenges.
19
20homepage        http://xmoto.tuxfamily.org/
21master_sites    http://download.tuxfamily.org/xmoto/xmoto/${version}/xmoto-${version}-src.tar.gz
22
23checksums       rmd160  9fdbe46ffe5a8e050970d88910bc9d5a3336f1e0 \
24                sha256  2d2438e4685aa5fc1aa9f73bfbe26893d7fc97fadd6e1cc9fdb09c8d16df9e1e
25
26depends_build   bin:grep:grep
27
28depends_lib     port:libpng \
29                port:jpeg \
30                port:libsdl \
31                port:libsdl_mixer \
32                port:libsdl_ttf \
33                port:libsdl_net \
34                port:lua \
35                port:ode \
36                port:sqlite3 \
37                port:bzip2 \
38                port:curl \
39                port:libxdg-basedir
40
41post-patch {
42    # libpng 1.4 compatibility
43    reinplace "s/png_set_gray_1_2_4_to_8/png_set_expand_gray_1_2_4_to_8/" \
44        ${worksrcpath}/src/image/tim_png.cpp
45}
46
47configure.args-append --with-apple-opengl-framework --disable-sdltest
48
49# xmoto does not pick up flags for ode correctly, so we do this manually
50# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521013
51configure.cflags-append  -DdDOUBLE
52configure.cxxflags-append -DdDOUBLE
53
54app.icon ${filespath}/xmoto.png
55
56livecheck.type  regex
57livecheck.regex {XMoto ([\d.]+) released}
Note: See TracBrowser for help on using the repository browser.