[147839] trunk/dports/net/nss/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Sun Apr 17 10:09:01 PDT 2016
Revision: 147839
https://trac.macports.org/changeset/147839
Author: mcalhoun at macports.org
Date: 2016-04-17 10:09:01 -0700 (Sun, 17 Apr 2016)
Log Message:
-----------
nss: allow livecheck to work even without patch version
Modified Paths:
--------------
trunk/dports/net/nss/Portfile
Modified: trunk/dports/net/nss/Portfile
===================================================================
--- trunk/dports/net/nss/Portfile 2016-04-17 17:02:42 UTC (rev 147838)
+++ trunk/dports/net/nss/Portfile 2016-04-17 17:09:01 UTC (rev 147839)
@@ -105,5 +105,9 @@
livecheck.type regex
livecheck.url http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/
-livecheck.version "${NSS_VMAJOR}_${NSS_VMINOR}_${NSS_VPATCH}"
+if {${NSS_VPATCH} eq ""} {
+ livecheck.version "${NSS_VMAJOR}_${NSS_VMINOR}"
+} else {
+ livecheck.version "${NSS_VMAJOR}_${NSS_VMINOR}_${NSS_VPATCH}"
+}
livecheck.regex {(\d+_\d+(?:_\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160417/4fdf0c02/attachment.html>
More information about the macports-changes
mailing list