# -*- 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 PortSystem 1.0 PortGroup app 1.0 PortGroup perl5 1.0 name frozenbubble2 perl5.setup Games-FrozenBubble 2.212 revision 3 categories games maintainers ryandesign openmaintainer license GPL-2 description Frozen Bubble 2 long_description Colorful 3D rendered penguin animations, 100 levels of 1p \ game, hours and hours of 2p game, nights and nights of \ 2p/3p/4p/5p game over LAN or Internet, a level-editor, 3 \ professional quality digital soundtracks, 15 stereo sound \ effects, 8 unique graphical transition effects, 8 unique \ logo eye-candies. homepage http://www.frozen-bubble.org/ dist_subdir ${name} checksums rmd160 f9f4e64e0a9ee0c5dd1d81c702d6787714430b6a \ sha256 721e04ff69c5233060656bfbf4002aa1aeadd96c95351f0c57bb85b6da35a305 perl5.major 5.34 depends_build-append \ port:p${perl5.major}-file-slurp \ port:pkgconfig depends_lib-append port:libsdl \ port:libsdl_image \ port:libsdl_mixer \ port:libsdl_pango \ port:p${perl5.major}-compress-bzip2 \ port:p${perl5.major}-file-sharedir \ port:p${perl5.major}-file-which \ port:p${perl5.major}-ipc-system-simple \ port:p${perl5.major}-locale-maketext-lexicon \ port:p${perl5.major}-sdl # https://trac.macports.org/ticket/38483 universal_variant no post-patch { reinplace "s|/usr/bin/perl|${perl5.bin}|g" {*}[glob ${worksrcpath}/bin/*] } perl5.use_module_build perl5.link_binaries no app.name Frozen Bubble 2 app.executable ${perl5.bindir}/frozen-bubble app.icon share/icons/frozen-bubble-icon-64x64.png post-destroot { fs-traverse f ${destroot}${prefix} { if {[file isfile ${f}]} { switch [file tail ${f}] { .packlist - perllocal.pod { delete ${f} } } } } }