[150626] trunk/dports/www/lynx/Portfile

larryv at macports.org larryv at macports.org
Sun Jul 24 16:01:43 PDT 2016


Revision: 150626
          https://trac.macports.org/changeset/150626
Author:   larryv at macports.org
Date:     2016-07-24 16:01:43 -0700 (Sun, 24 Jul 2016)
Log Message:
-----------
lynx: Fix livecheck

Modified Paths:
--------------
    trunk/dports/www/lynx/Portfile

Modified: trunk/dports/www/lynx/Portfile
===================================================================
--- trunk/dports/www/lynx/Portfile	2016-07-24 23:01:41 UTC (rev 150625)
+++ trunk/dports/www/lynx/Portfile	2016-07-24 23:01:43 UTC (rev 150626)
@@ -59,5 +59,6 @@
 }
 
 livecheck.type      regex
-livecheck.url       http://lynx.isc.org/current/
-livecheck.regex     "${name}(\\d+(?:\\.\\d+)*rel\\.\[0-9a-z\]*)${extract.suffix}"
+livecheck.url       [lindex ${master_sites} 0]
+livecheck.regex     [format {href="%s(\d+(?:\.\d+)*rel\.\d+)%s"} \
+                        ${name} ${extract.suffix}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160724/04dccd37/attachment-0001.html>


More information about the macports-changes mailing list