[MacPorts] #32716: geant4: update to 9.5

MacPorts noreply at macports.org
Thu Nov 8 20:31:16 PST 2012


#32716: geant4: update to 9.5
---------------------------+---------------------------------
  Reporter:  ryandesign@…  |      Owner:  cristiano.fontana@…
      Type:  update        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  geant4        |
---------------------------+---------------------------------

Comment (by mojca.miklavec.lists@…):

 This is the current state of the port (not yet finished):
 {{{
 PortSystem          1.0
 PortGroup           cmake 1.0

 name                geant4
 version             4.9.5.p02
 categories          science
 maintainers         pd.infn.it:cristiano.fontana
 license             Geant4
 description         Geant4 is a toolkit for the simulation of the passage
 of particles through matter.
 long_description    Geant4 is a toolkit for the simulation of the passage
 of particles through matter. \
                     Its areas of application include high energy, nuclear
 and accelerator physics, as well as studies in medical and space science.
 \
                     The two main reference papers for Geant4 are published
 in Nuclear Instruments and Methods in Physics Research A 506 (2003)
 250-303, \
                     and IEEE Transactions on Nuclear Science 53 No. 1
 (2006) 270-278.
 homepage            http://geant4.web.cern.ch/
 platforms           darwin

 # list of files from cmake/Modules/Geant4InstallData.cmake

 # G4NDL/4.0/G4NDL/tar.gz/G4NEUTRONHPDATA
 # G4EMLOW/6.23/G4EMLOW/tar.gz/G4LEDATA
 # PhotonEvaporation/2.2/PhotonEvaporation/tar.gz/G4LEVELGAMMADATA
 # RadioactiveDecay/3.4/G4RadioactiveDecay/tar.gz/G4RADIOACTIVEDATA
 # G4ABLA/3.0/G4ABLA/tar.gz/G4ABLADATA
 # G4NEUTRONXS/1.1/G4NEUTRONXS/tar.gz/G4NEUTRONXSDATA
 # G4PII/1.3/G4PII/tar.gz/G4PIIDATA
 # RealSurface/1.0/RealSurface/tar.gz/G4REALSURFACEDATA

 set G4NDL_v             4.0
 set G4EMLOW_v           6.23
 set PhotonEvaporation_v 2.2
 set RadioactiveDecay_v  3.4
 set G4ABLA_v            3.0
 set G4NEUTRONXS_v       1.1
 set G4PII_v             1.3
 set RealSurface_v       1.0

 distfiles           geant${version}.tar.gz:cern \
                     G4NDL.${G4NDL_v}.tar.gz:cern \
                     G4EMLOW.${G4EMLOW_v}.tar.gz:cern \
                     PhotonEvaporation.${PhotonEvaporation_v}.tar.gz:cern \
                     G4RadioactiveDecay.${RadioactiveDecay_v}.tar.gz:cern \
                     G4ABLA.${G4ABLA_v}.tar.gz:cern \
                     G4NEUTRONXS.${G4NEUTRONXS_v}.tar.gz:cern \
                     G4PII.${G4PII_v}.tar.gz:cern \
                     RealSurface.${RealSurface_v}.tar.gz:cern
 extract.only        geant${version}.tar.gz

 master_sites        http://geant4.cern.ch/support/source/:cern

 checksums           geant${version}.tar.gz \
                     rmd160  33413f6233b75c003254af5888f4af32d17f515d \
                     sha256
 adb04fce9472228bb10d78cbc7f40493bfb37454beee22e7c80d630646cd3777 \
                     G4NDL.${G4NDL_v}.tar.gz \
                     rmd160  602d209009ee93d792cb67fe592aa37de6bab7c2 \
                     sha256
 cef4fab143d8dcb8eae4c6e5c095af01d735bb36334b9958e00e30bcec9827ed \
                     G4EMLOW.${G4EMLOW_v}.tar.gz \
                     rmd160  84529979894ed5e35ade27201fee67884d7b381d \
                     sha256
 6452215d9a0acbd35c71eed47f3581fd0276d7088b1a1a8588c003d9072aed3e \
                     PhotonEvaporation.${PhotonEvaporation_v}.tar.gz \
                     rmd160  5ced597a9bfd6095b08f29b780a38e91ea64c460 \
                     sha256
 74ac25290274f12f40d80f5b30a876aaff31acfa1ea64bea6034158e759c30dd \
                     G4RadioactiveDecay.${RadioactiveDecay_v}.tar.gz \
                     rmd160  378c237cd5857b4205980815a3c47cdb654506d4 \
                     sha256
 1ecfb477ca3c3966dd128193d8e11e24d6c3dc29cc188c8c9b0b21b941f9c30c \
                     G4ABLA.${G4ABLA_v}.tar.gz \
                     rmd160  656b10fc9d8022e89e99a728576d0b502161aa69 \
                     sha256
 99fd4dcc9b4949778f14ed8364088e45fa4ff3148b3ea36f9f3103241d277014 \
                     G4NEUTRONXS.${G4NEUTRONXS_v}.tar.gz \
                     rmd160  a4cd8791219f0df856da39295e7f913a537bde1a \
                     sha256
 d477a377aee229bf9d75d3c9cc4b7cd48b414285a246449e4e44a72bf037472b \
                     G4PII.${G4PII_v}.tar.gz \
                     rmd160  313a2615903b0682b8aabc344bedde82c345704b \
                     sha256
 6225ad902675f4381c98c6ba25fc5a06ce87549aa979634d3d03491d6616e926 \
                     RealSurface.${RealSurface_v}.tar.gz \
                     rmd160  030513fe340e0cccbfe0b9ae9acb3ba6b5291ebb \
                     sha256
 3e2d2506600d2780ed903f1f2681962e208039329347c58ba1916740679020b1

 worksrcdir          geant${version}
 configure.dir       ${workpath}/build
 build.dir           ${configure.dir}

 post-extract {
     file mkdir ${configure.dir}
 }

 patchfiles          patch-upstream-clang-detection.diff

 configure.post_args ${worksrcpath}

 depends_lib         port:clhep \
                     port:zlib


 variant qt description {Build with Qt support} {
     depends_lib-append  port:qt4-mac

     configure.args-append -DGEANT4_USE_QT=ON
 }

 # CLHEP as included in geant4 apparently doesn't offer enough
 functionality for Gate
 configure.args-append -DGEANT4_USE_SYSTEM_CLHEP=ON
 # TODO: don't fetch data on the fly (use MacPorts to fetch the files
 instead)
 # however that also skips installation of data & we need a fix for this
 configure.args-append -DGEANT4_INSTALL_DATA=OFF \
                       -DGEANT4_BUILD_EXAMPLES=OFF \
                       -DGEANT4_INSTALL_EXAMPLES=OFF \
                       -DGEANT4_USE_OPENGL_X11=ON

 default_variants +qt
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/32716#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list