[136978] trunk/dports/net/torrentsniff/Portfile
devans at macports.org
devans at macports.org
Mon Jun 1 14:18:03 PDT 2015
Revision: 136978
https://trac.macports.org/changeset/136978
Author: devans at macports.org
Date: 2015-06-01 14:18:03 -0700 (Mon, 01 Jun 2015)
Log Message:
-----------
torrentsniff: add livecheck.
Modified Paths:
--------------
trunk/dports/net/torrentsniff/Portfile
Modified: trunk/dports/net/torrentsniff/Portfile
===================================================================
--- trunk/dports/net/torrentsniff/Portfile 2015-06-01 21:14:43 UTC (rev 136977)
+++ trunk/dports/net/torrentsniff/Portfile 2015-06-01 21:18:03 UTC (rev 136978)
@@ -41,3 +41,7 @@
xinstall -m 644 ${worksrcpath}/BitTorrent/BDecode.pm ${destroot}${prefix}/share/${name}/BitTorrent/
xinstall -m 755 ${worksrcpath}/torrentsniff ${destroot}${prefix}/bin/
}
+
+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150601/d1e15709/attachment.html>
More information about the macports-changes
mailing list