[111740] trunk/dports/science/geant4/Portfile
mojca at macports.org
mojca at macports.org
Mon Sep 30 07:19:33 PDT 2013
Revision: 111740
https://trac.macports.org/changeset/111740
Author: mojca at macports.org
Date: 2013-09-30 07:19:33 -0700 (Mon, 30 Sep 2013)
Log Message:
-----------
geant4: fix checksums of a stealth update (#32320), use notes-append instead of ui_msg, minor cosmetic changes
Modified Paths:
--------------
trunk/dports/science/geant4/Portfile
Modified: trunk/dports/science/geant4/Portfile
===================================================================
--- trunk/dports/science/geant4/Portfile 2013-09-30 14:18:46 UTC (rev 111739)
+++ trunk/dports/science/geant4/Portfile 2013-09-30 14:19:33 UTC (rev 111740)
@@ -63,11 +63,13 @@
G4EMLOW 6.23 G4EMLOW G4LEDATA 98cdca1024bf168c8f8ca1deb40f43b9 84529979894ed5e35ade27201fee67884d7b381d 6452215d9a0acbd35c71eed47f3581fd0276d7088b1a1a8588c003d9072aed3e
PhotonEvaporation 2.2 G4PhotonEvaporation G4LEVELGAMMADATA 8010e7ce8a92564e38dd3418e6040563 8efc16c40b4755d209f83f31f2d251bbef52ccb8 9db02ef8e5b065c1b7f7d1becd1b72dde2b8fc617bcedde97788040418f239c0
RadioactiveDecay 3.4 G4RadioactiveDecay G4RADIOACTIVEDATA a5b681048584631608ab0965b33c7959 378c237cd5857b4205980815a3c47cdb654506d4 1ecfb477ca3c3966dd128193d8e11e24d6c3dc29cc188c8c9b0b21b941f9c30c
- G4ABLA 3.0 G4ABLA G4ABLADATA d7049166ef74a592cb97df0ed4b757bd 656b10fc9d8022e89e99a728576d0b502161aa69 99fd4dcc9b4949778f14ed8364088e45fa4ff3148b3ea36f9f3103241d277014
+ G4ABLA 3.0 G4ABLA G4ABLADATA d2d4e99b14f7a5057f4c10d9c2d647dd 5a032ee8e90d00f39b67114fe257ec47001f347b ff0b77be6b36204eeeba71099f6b7530edd80b79eb015994535bc4334bc821eb
G4NEUTRONXS 1.1 G4NEUTRONXS G4NEUTRONXSDATA 61ef3a05b56525db04e11820e3f603f1 a4cd8791219f0df856da39295e7f913a537bde1a d477a377aee229bf9d75d3c9cc4b7cd48b414285a246449e4e44a72bf037472b
G4PII 1.3 G4PII G4PIIDATA 05f2471dbcdf1a2b17cbff84e8e83b37 313a2615903b0682b8aabc344bedde82c345704b 6225ad902675f4381c98c6ba25fc5a06ce87549aa979634d3d03491d6616e926
RealSurface 1.0 RealSurface G4REALSURFACEDATA 0dde95e00fcd3bcd745804f870bb6884 030513fe340e0cccbfe0b9ae9acb3ba6b5291ebb 3e2d2506600d2780ed903f1f2681962e208039329347c58ba1916740679020b1
}
+# new file (stealth-updated; the file above needs to be fetched from a MacPorts mirror):
+# G4ABLA 3.0 G4ABLA G4ABLADATA d7049166ef74a592cb97df0ed4b757bd 656b10fc9d8022e89e99a728576d0b502161aa69 99fd4dcc9b4949778f14ed8364088e45fa4ff3148b3ea36f9f3103241d277014
foreach {geant.version geant.revision geant.datarevision geant.patchlevel geant.version_full geant.rmd160 geant.sha256} ${geant.versions_info} {
@@ -96,8 +98,8 @@
if {${geant.version} == "9.5" } {
set geant.data_versions ${geant.data_versions_9.5}
}
- # Is it possible to make the distfiles list empty in some way?
- distfiles-delete ${name}-${version}${extract.suffix}
+ # make the distfiles list empty
+ distfiles
foreach {data.name data.version data.filename data.envvariable data.md5 data.rmd160 data.sha256} ${geant.data_versions} {
set filename ${data.filename}.${data.version}${extract.suffix}
distfiles-append ${filename}
@@ -229,11 +231,11 @@
move ${destroot}${prefix}/bin ${destroot}${prefix}/libexec/Geant4/Geant${geant.version_simple}/examples
}
}
- post-activate {
- ui_msg "NOTE: Use 'sudo port select geant4 ${subport}'"
- ui_msg " if you need geant4-config or geant4.(c)sh in PATH."
- ui_msg " Otherwise source ${prefix}/libexec/Geant4/Geant${geant.version_simple}/geant4.(c)sh"
- }
+ notes-append "
+NOTE: Use 'sudo port select geant4 ${subport}'
+ if you need geant4-config or geant4.(c)sh in PATH.
+ Otherwise source ${prefix}/libexec/Geant4/Geant${geant.version_simple}/geant4.(c)sh
+"
variant qt description {Build with Qt support} {
depends_lib-append port:qt4-mac
@@ -298,7 +300,7 @@
}
# stub port
-if {$subport == $name || $subport == ""} {
+if {$subport eq $name} {
# default replacement for geant4 which used to provide geant4.9.4
# other users should install geant4.9.6 directly
depends_lib port:geant4.9.6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130930/afa2fe4f/attachment.html>
More information about the macports-changes
mailing list