[149200] trunk/dports/games/frozenbubble2

ryandesign at macports.org ryandesign at macports.org
Sat Jun 4 21:37:32 PDT 2016


Revision: 149200
          https://trac.macports.org/changeset/149200
Author:   ryandesign at macports.org
Date:     2016-06-04 21:37:32 -0700 (Sat, 04 Jun 2016)
Log Message:
-----------
frozenbubble2: update to 2.212 (#45569); fixes launch failure (#51560); use perl 5.24; use app portgroup

Modified Paths:
--------------
    trunk/dports/games/frozenbubble2/Portfile

Removed Paths:
-------------
    trunk/dports/games/frozenbubble2/files/

Modified: trunk/dports/games/frozenbubble2/Portfile
===================================================================
--- trunk/dports/games/frozenbubble2/Portfile	2016-06-05 02:48:36 UTC (rev 149199)
+++ trunk/dports/games/frozenbubble2/Portfile	2016-06-05 04:37:32 UTC (rev 149200)
@@ -2,15 +2,15 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           app 1.0
 PortGroup           perl5 1.0
 
 name                frozenbubble2
+perl5.branches      5.24
+perl5.setup         Games-FrozenBubble 2.212
 categories          games
-version             2.2.0
-revision            4
-perl5.branches      5.22
 platforms           darwin
-maintainers         nomaintainer
+maintainers         ryandesign openmaintainer
 license             GPL-2
 
 description         Frozen Bubble 2
@@ -21,50 +21,41 @@
                     effects, 8 unique graphical transition effects, 8 unique \
                     logo eye-candies.
 
-homepage            http://www.frozen-bubble.org
-master_sites        ${homepage}/data
-distname            frozen-bubble-${version}
-checksums           rmd160  1bbe0163c28421c497979c85a98f64a98174c780 \
-                    sha256  dada92322ef3adb75df7a4270b2e76c572c3f8e42006ed3a5aaeefa68fcaa5b7
-use_bzip2           yes
+homepage            http://www.frozen-bubble.org/
+dist_subdir         ${name}
 
-depends_build       port:pkgconfig
-depends_lib         port:libsdl \
+checksums           rmd160  f9f4e64e0a9ee0c5dd1d81c702d6787714430b6a \
+                    sha256  721e04ff69c5233060656bfbf4002aa1aeadd96c95351f0c57bb85b6da35a305
+
+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:perl${perl5.major} \
+                    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
-depends_run         port:p${perl5.major}-locale-gettext
 
-livecheck.type      regex
-livecheck.url       http://www.frozen-bubble.org/downloads/
-livecheck.regex     {<h3>(\d(?:\.\d)+)</h3>}
+# https://trac.macports.org/ticket/38483
+universal_variant   no
 
-# uses nested functions
-# http://clang.llvm.org/docs/UsersManual.html#gcc-extensions-not-implemented-yet
-compiler.blacklist  *clang*
-
-patchfiles          patch-c_stuff-Makefile.PL.diff \
-                    patch-Makefile.diff \
-                    patch-c_stuff-Makefile.diff
-
 post-patch {
-    foreach file [glob ${worksrcpath}/frozen-bubble*] {
-        reinplace "s|/usr/bin/perl|${perl5.bin}|g" ${file}
-    }
-    reinplace "s|__PERL__|${perl5.bin}|" ${worksrcpath}/Makefile \
-        ${worksrcpath}/c_stuff/Makefile
+    reinplace "s|/usr/bin/perl|${perl5.bin}|g" {*}[glob ${worksrcpath}/bin/*]
 }
 
-use_configure       no
+perl5.use_module_build
+perl5.link_binaries no
 
-build.args          PREFIX="${prefix}" \
-                    CC="${configure.cc}" \
-                    LD="${configure.cc}"
+app.name            Frozen Bubble 2
+app.executable      ${perl5.bindir}/frozen-bubble
+app.icon            share/icons/frozen-bubble-icon-64x64.png
 
-destroot.args       PREFIX="${prefix}"
-
 post-destroot {
     fs-traverse f ${destroot}${prefix} {
         if {[file isfile ${f}]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160604/fa303d28/attachment.html>


More information about the macports-changes mailing list