source: trunk/dports/games/frozenbubble2/Portfile

Last change on this file was 149200, checked in by ryandesign@…, 18 months ago

frozenbubble2: update to 2.212 (#45569); fixes launch failure (#51560); use perl 5.24; use app portgroup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 149200 2016-06-05 04:37:32Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           app 1.0
6PortGroup           perl5 1.0
7
8name                frozenbubble2
9perl5.branches      5.24
10perl5.setup         Games-FrozenBubble 2.212
11categories          games
12platforms           darwin
13maintainers         ryandesign openmaintainer
14license             GPL-2
15
16description         Frozen Bubble 2
17long_description    Colorful 3D rendered penguin animations, 100 levels of 1p \
18                    game, hours and hours of 2p game, nights and nights of \
19                    2p/3p/4p/5p game over LAN or Internet, a level-editor, 3 \
20                    professional quality digital soundtracks, 15 stereo sound \
21                    effects, 8 unique graphical transition effects, 8 unique \
22                    logo eye-candies.
23
24homepage            http://www.frozen-bubble.org/
25dist_subdir         ${name}
26
27checksums           rmd160  f9f4e64e0a9ee0c5dd1d81c702d6787714430b6a \
28                    sha256  721e04ff69c5233060656bfbf4002aa1aeadd96c95351f0c57bb85b6da35a305
29
30depends_build-append \
31                    port:p${perl5.major}-file-slurp \
32                    port:pkgconfig
33
34depends_lib-append  port:libsdl \
35                    port:libsdl_image \
36                    port:libsdl_mixer \
37                    port:libsdl_pango \
38                    port:p${perl5.major}-compress-bzip2 \
39                    port:p${perl5.major}-file-sharedir \
40                    port:p${perl5.major}-file-which \
41                    port:p${perl5.major}-ipc-system-simple \
42                    port:p${perl5.major}-locale-maketext-lexicon \
43                    port:p${perl5.major}-sdl
44
45# https://trac.macports.org/ticket/38483
46universal_variant   no
47
48post-patch {
49    reinplace "s|/usr/bin/perl|${perl5.bin}|g" {*}[glob ${worksrcpath}/bin/*]
50}
51
52perl5.use_module_build
53perl5.link_binaries no
54
55app.name            Frozen Bubble 2
56app.executable      ${perl5.bindir}/frozen-bubble
57app.icon            share/icons/frozen-bubble-icon-64x64.png
58
59post-destroot {
60    fs-traverse f ${destroot}${prefix} {
61        if {[file isfile ${f}]} {
62            switch [file tail ${f}] {
63                .packlist -
64                perllocal.pod {
65                    delete ${f}
66                }
67            }
68        }
69    }
70}
Note: See TracBrowser for help on using the repository browser.