[144278] trunk/dports/databases/mysql-zrm/Portfile

mojca at macports.org mojca at macports.org
Tue Jan 5 14:01:13 PST 2016


Revision: 144278
          https://trac.macports.org/changeset/144278
Author:   mojca at macports.org
Date:     2016-01-05 14:01:13 -0800 (Tue, 05 Jan 2016)
Log Message:
-----------
mysql-zrm: switch to perl5.22 (#48365, #50234)

Modified Paths:
--------------
    trunk/dports/databases/mysql-zrm/Portfile

Modified: trunk/dports/databases/mysql-zrm/Portfile
===================================================================
--- trunk/dports/databases/mysql-zrm/Portfile	2016-01-05 21:40:54 UTC (rev 144277)
+++ trunk/dports/databases/mysql-zrm/Portfile	2016-01-05 22:01:13 UTC (rev 144278)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                mysql-zrm
 version             2.0
-revision            2
+revision            3
 categories          databases sysutils
 maintainers         bitwrangler.com:kmayer
 description         Zmanda Recovery Manager for MySQL
@@ -20,8 +21,11 @@
 distname            MySQL-zrm-${version}
 checksums           md5 13a82abeb181d265af553770d1db6718 \
                     sha1 fbc38a346755fb228296af2a447cb5fd74d5d246
-depends_lib         port:p5.16-dbi \
-                    port:p5.16-xml-parser
+
+perl5.branches      5.22
+# these are probably just runtime dependencies?
+depends_lib         port:p${perl5.major}-dbi \
+                    port:p${perl5.major}-xml-parser
 use_configure       no
 patchfiles          patch-mysql-zrm-backup-0 \
                     patch-mysql-zrm-verify-backup-1 \
@@ -35,7 +39,7 @@
     # Not the most efficient way to do this, but much more readable
     foreach f [exec find ${worksrcpath} -type f -print] {
         reinplace "s|/opt/csw/bin|${prefix}/bin|" ${f}
-        reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|" ${f}
+        reinplace "s|/usr/bin/perl|${perl5.bin}|" ${f}
         reinplace "s|/usr/bin/mysql-zrm|${prefix}/bin/mysql-zrm|" ${f}
         reinplace "s|/usr/lib/mysql-zrm|${prefix}/lib/mysql-zrm|" ${f}
         reinplace "s|/usr/share/mysql-zrm|${prefix}/share/mysql-zrm|" ${f}
@@ -95,3 +99,6 @@
     xinstall -m 755 -d ${destroot}${prefix}/var/lib/mysql-zrm
     xinstall -m 755 -d ${destroot}${prefix}/var/log/mysql-zrm
 }
+
+livecheck.url       http://www.zmanda.com/download-zrm.php
+livecheck.regex     {Release ([\d.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160105/63c97704/attachment-0001.html>


More information about the macports-changes mailing list