[122357] trunk/dports/devel/libftdi/Portfile

snc at macports.org snc at macports.org
Mon Jul 21 08:16:47 PDT 2014


Revision: 122357
          https://trac.macports.org/changeset/122357
Author:   snc at macports.org
Date:     2014-07-21 08:16:46 -0700 (Mon, 21 Jul 2014)
Log Message:
-----------
libftdi: fix livecheck

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

Modified: trunk/dports/devel/libftdi/Portfile
===================================================================
--- trunk/dports/devel/libftdi/Portfile	2014-07-21 14:37:25 UTC (rev 122356)
+++ trunk/dports/devel/libftdi/Portfile	2014-07-21 15:16:46 UTC (rev 122357)
@@ -24,14 +24,15 @@
 master_sites        http://www.intra2net.com/en/developer/libftdi/download/
 depends_build-append    port:pkgconfig
 depends_lib-append  port:libusb-compat
-                    
 
+livecheck.url       http://www.intra2net.com/en/developer/libftdi/download.php
+livecheck.type      regex
 
 subport             libftdi0 {
     distname            libftdi-${version}
     checksums           rmd160  7406f831a6d7b3ccf8e246504f7275a5208f94e9 \
                         sha256  3176d5b5986438f33f5208e690a8bfe90941be501cc0a72118ce3d338d4b838e
-    livecheck.regex     "(?i)<title>libftdi (0(\\.\\d+)+)</title>"
+    livecheck.regex     ${name}-(0(\\.\\d+)+)
 }
 
 subport             libftdi1 {
@@ -45,6 +46,7 @@
 
     checksums           rmd160  185237715206743b3c4aeea1510137eca7c9042d \
                         sha256  c0b1af1a13e2c6682a1d8041e5b164a1e0d90267cd378bb51e059bd62f821e21
+    livecheck.regex     ${subport}-(1(\\.\\d+)+)
 }
 
 if {${subport} == ${name}} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140721/17757a90/attachment.html>


More information about the macports-changes mailing list