[125198] trunk/dports/devel/libyaml/Portfile

devans at macports.org devans at macports.org
Tue Sep 9 15:36:59 PDT 2014


Revision: 125198
          https://trac.macports.org/changeset/125198
Author:   devans at macports.org
Date:     2014-09-09 15:36:59 -0700 (Tue, 09 Sep 2014)
Log Message:
-----------
libyaml: fix livecheck.

Modified Paths:
--------------
    trunk/dports/devel/libyaml/Portfile

Modified: trunk/dports/devel/libyaml/Portfile
===================================================================
--- trunk/dports/devel/libyaml/Portfile	2014-09-09 22:13:32 UTC (rev 125197)
+++ trunk/dports/devel/libyaml/Portfile	2014-09-09 22:36:59 UTC (rev 125198)
@@ -4,6 +4,7 @@
 PortSystem      1.0
 
 name            libyaml
+set dname       yaml
 version         0.1.6
 maintainers     nomaintainer
 categories      devel
@@ -16,7 +17,7 @@
 
 homepage        http://pyyaml.org/wiki/LibYAML
 master_sites    http://pyyaml.org/download/libyaml
-distname        yaml-${version}
+distname        ${dname}-${version}
 
 checksums       rmd160  c37f04eb6d8c3c587bf241c2f3daf74b6d24f513 \
                 sha256  7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749
@@ -25,5 +26,5 @@
 test.target     check
 
 livecheck.type  regex
-livecheck.url   ${homepage}
-livecheck.regex "The current release of LibYAML: <strong>(\\d+(\\.\\d+)*) "
+livecheck.url   ${master_sites}
+livecheck.regex "${dname}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140909/00e8514d/attachment.html>


More information about the macports-changes mailing list