source: trunk/dports/games/gdash/Portfile @ 81868

Last change on this file since 81868 was 81868, checked in by ryandesign@…, 6 years ago

gdash: new port, version 20100212; suggested in #30604

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 81868 2011-08-06 08:34:46Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                gdash
7version             20100212
8categories          games
9platforms           darwin
10maintainers         ryandesign openmaintainer
11
12description         Emerald Mine-like game for GTK+ and SDL
13
14long_description    ${name} is an ${description}.
15
16homepage            http://jutas.eet.bme.hu/~cirix/gdash/
17master_sites        ${homepage}
18
19checksums           sha1    a9318249c0d471777c4ff8260d80d1cb0a6b37f9 \
20                    rmd160  17201f947ce76aa4deb01e525d41f8432c925bf5
21
22depends_build       port:pkgconfig
23
24depends_lib         port:gtk2 \
25                    path:lib/pkgconfig/sdl.pc:libsdl \
26                    port:libsdl_image \
27                    port:libsdl_mixer
28
29configure.args      --disable-glibtest \
30                    --disable-gtktest \
31                    --disable-sdltest
32
33platform macosx {
34    depends_build-append port:makeicns
35    post-destroot {
36        set app SDash
37        xinstall -d ${destroot}${applications_dir}/${app}.app/Contents/MacOS \
38            ${destroot}${applications_dir}/${app}.app/Contents/Resources
39        xinstall -m 644 ${filespath}/Info.plist.in ${destroot}${applications_dir}/${app}.app/Contents/Info.plist
40        reinplace "s|@VERSION@|${version}|g" ${destroot}${applications_dir}/${app}.app/Contents/Info.plist
41        ln -s ${prefix}/bin/sdash ${destroot}${applications_dir}/${app}.app/Contents/MacOS/${app}
42        system "cd ${worksrcpath} && ${prefix}/bin/makeicns -in ${worksrcpath}/docs/gdash.png -out ${destroot}${applications_dir}/${app}.app/Contents/Resources/${name}.icns"
43    }
44}
45
46livecheck.type      regex
47livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.