[142213] trunk/dports/games/frozenbubble2/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 04:48:30 PST 2015


Revision: 142213
          https://trac.macports.org/changeset/142213
Author:   mojca at macports.org
Date:     2015-11-06 09:49:51 -0800 (Fri, 06 Nov 2015)
Log Message:
-----------
frozenbubble2: use perl5.22 (#48365)

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

Modified: trunk/dports/games/frozenbubble2/Portfile
===================================================================
--- trunk/dports/games/frozenbubble2/Portfile	2015-11-06 17:43:02 UTC (rev 142212)
+++ trunk/dports/games/frozenbubble2/Portfile	2015-11-06 17:49:51 UTC (rev 142213)
@@ -2,12 +2,13 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                frozenbubble2
 categories          games
 version             2.2.0
-revision            3
-set perl_version    5.16
+revision            4
+perl5.branches      5.22
 platforms           darwin
 maintainers         nomaintainer
 license             GPL-2
@@ -32,9 +33,9 @@
                     port:libsdl_image \
                     port:libsdl_mixer \
                     port:libsdl_pango \
-                    port:perl${perl_version} \
-                    port:p${perl_version}-sdl
-depends_run         port:p${perl_version}-locale-gettext
+                    port:perl${perl5.major} \
+                    port:p${perl5.major}-sdl
+depends_run         port:p${perl5.major}-locale-gettext
 
 livecheck.type      regex
 livecheck.url       http://www.frozen-bubble.org/downloads/
@@ -50,9 +51,9 @@
 
 post-patch {
     foreach file [glob ${worksrcpath}/frozen-bubble*] {
-        reinplace "s|/usr/bin/perl|${prefix}/bin/perl${perl_version}|g" ${file}
+        reinplace "s|/usr/bin/perl|${perl5.bin}|g" ${file}
     }
-    reinplace "s|__PERL__|${prefix}/bin/perl${perl_version}|" ${worksrcpath}/Makefile \
+    reinplace "s|__PERL__|${perl5.bin}|" ${worksrcpath}/Makefile \
         ${worksrcpath}/c_stuff/Makefile
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/c7df330e/attachment-0001.html>


More information about the macports-changes mailing list