Modified: trunk/dports/databases/mysql-zrm/Portfile (144277 => 144278)
--- 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.]+)}