[105235] trunk/dports/perl/p5-eperl/Portfile

cal at macports.org cal at macports.org
Sun Apr 14 15:51:28 PDT 2013


Revision: 105235
          https://trac.macports.org/changeset/105235
Author:   cal at macports.org
Date:     2013-04-14 15:51:28 -0700 (Sun, 14 Apr 2013)
Log Message:
-----------
p5-eperl: fix livecheck

Modified Paths:
--------------
    trunk/dports/perl/p5-eperl/Portfile

Modified: trunk/dports/perl/p5-eperl/Portfile
===================================================================
--- trunk/dports/perl/p5-eperl/Portfile	2013-04-14 22:39:36 UTC (rev 105234)
+++ trunk/dports/perl/p5-eperl/Portfile	2013-04-14 22:51:28 UTC (rev 105235)
@@ -60,6 +60,7 @@
         subport p${v}-${rootname} {
             depends_lib port:perl${v}
             perl5.major ${v}
+            livecheck.type none
         }
     }
 
@@ -76,6 +77,11 @@
             xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
             system "echo $name is a stub port > ${destroot}${prefix}/share/doc/${name}/README"
         }
+
+        livecheck.type      regex
+        livecheck.version   ${version}
+        livecheck.url       ${homepage}
+        livecheck.regex     {class="heavy">(\d+(?:\.\d+)*)<}
     }
 }
 
@@ -89,4 +95,3 @@
                         mandir=${destroot}${prefix}/share/man
 
 test.run                yes
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130414/68010b17/attachment-0001.html>


More information about the macports-changes mailing list