[134874] trunk/dports/science/geant4/Portfile
mojca at macports.org
mojca at macports.org
Thu Apr 9 04:51:37 PDT 2015
Revision: 134874
https://trac.macports.org/changeset/134874
Author: mojca at macports.org
Date: 2015-04-09 04:51:37 -0700 (Thu, 09 Apr 2015)
Log Message:
-----------
geant4: upgrade geant4.10.1 to version 4.10.01.p01, add livecheck
Modified Paths:
--------------
trunk/dports/science/geant4/Portfile
Modified: trunk/dports/science/geant4/Portfile
===================================================================
--- trunk/dports/science/geant4/Portfile 2015-04-09 11:34:40 UTC (rev 134873)
+++ trunk/dports/science/geant4/Portfile 2015-04-09 11:51:37 UTC (rev 134874)
@@ -35,7 +35,7 @@
9.5 2 0 2 4.9.5.p02 33413f6233b75c003254af5888f4af32d17f515d adb04fce9472228bb10d78cbc7f40493bfb37454beee22e7c80d630646cd3777
9.6 0 0 4 4.9.6.p04 3dd8f6ac2e79929d26519e83fce113691a670788 997220a5386a43ac8f533fc7d5a8360aa1fd6338244d17deeaa583fb3a0f39fd
10.0 0 0 4 4.10.00.p04 bfd11977b55f316f5c38d82f09dc37e7c0f60ea7 f4e1fc6d5ea4d9761ba44fd7e50921ff6276e25c2f640c7615460235d8c77d74
- 10.1 0 0 0 4.10.01 459981c575215d8572e3eb7cd41906e533ad39e5 d37400e96423fedfbf8dbe1f49e2ef0367317c3893ad99f28eed06bf97e1feb7
+ 10.1 0 0 1 4.10.01.p01 60b6f6dbfa0276cd5b006e3cbb0b49ce858218c5 b9ce23f635dcdeda9d6d6b3bb3ff1585b7eda01734ea7036a638ffde5a61cda5
}
set geant.data_versions_10.1 {
@@ -161,6 +161,7 @@
system "echo setenv ${data.envvariable} \\\"\\\$G4DATADIR/${data.name}${data.version}\\\" >> ${filename}.csh"
}
}
+ livecheck.type none
}
subport ${name}.${geant.version} {
@@ -339,6 +340,16 @@
}
default_variants +gdml +qt
+
+ set geant.version_full_no_patch [join [lrange [split ${geant.version_full} .] 0 2] \\.]
+ livecheck.type regex
+ if {${geant.version} == "10.1"} {
+ livecheck.url http://geant4.cern.ch/support/download.shtml
+ } else {
+ livecheck.url http://geant4.cern.ch/support/source_archive.shtml
+ }
+ # http://geant4.cern.ch/support/source/geant4.xx.xx[.pxx].tar.gz
+ livecheck.regex geant(${geant.version_full_no_patch}(\\.\[bp\]\[0-9\]+)?)\\.tar\\.gz
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150409/72b3f56f/attachment.html>
More information about the macports-changes
mailing list