[120007] users/mojca/ports/science/gate

mojca at macports.org mojca at macports.org
Mon May 12 18:04:50 PDT 2014


Revision: 120007
          https://trac.macports.org/changeset/120007
Author:   mojca at macports.org
Date:     2014-05-12 18:04:49 -0700 (Mon, 12 May 2014)
Log Message:
-----------
mojca/gate: version 7.0, change source, no dependency on clhep

Modified Paths:
--------------
    users/mojca/ports/science/gate/Portfile
    users/mojca/ports/science/gate/files/patch-addmenu.diff

Modified: users/mojca/ports/science/gate/Portfile
===================================================================
--- users/mojca/ports/science/gate/Portfile	2014-05-13 00:03:59 UTC (rev 120006)
+++ users/mojca/ports/science/gate/Portfile	2014-05-13 01:04:49 UTC (rev 120007)
@@ -8,20 +8,20 @@
 PortGroup           cmake 1.0
 PortGroup           active_variants 1.1
 
-set                 git_sha e86c0082fe
-set                 git_date 20140317
+set                 git_sha f97fe6c0a0
+set                 git_date 20140507
 
 # TODO: temporary - if checksums are desired
 PortGroup           github 1.0
-github.setup        mojca gate ${git_sha}
+github.setup        OpenGATE Gate ${git_sha}
 
 ## official repository
 # fetch.type          git
 # git.url             http://git.opengatecollaboration.org/git/opengate-public.git
-# git.branch          e86c0082fe617d1cad13ac3d35ae759bcf4e27f4
+# git.branch          <sha>
 
 name                gate
-version             6.99-git-${git_date}-${git_sha}
+version             7.0-git-${git_date}-${git_sha}
 categories          science
 maintainers         mojca
 license             LGPL
@@ -32,8 +32,8 @@
 homepage            http://www.opengatecollaboration.org
 platforms           darwin
 
-checksums           rmd160  4211aa4db0f2ab44934535848397dd932c6d14d8 \
-                    sha256  4235aab2d341cb6361ae7502e9429e03d6f0aa43cd478c5f49836b8d373f06c1
+checksums           rmd160  01e29ed24c6eebaad73ff4a74afc481e618804ff \
+                    sha256  ca1cdac09686407fb3890c3ae162772409d8527a3c46b9997dc2edf91a86f270
 
 set geant.data_versions_10.0 {
     G4NDL              4.4   G4NDL                G4NEUTRONHPDATA
@@ -82,9 +82,8 @@
 }
 configure.post_args ${worksrcpath}
 
-depends_lib         port:clhep \
-                    port:qt4-mac \
-                    port:root
+depends_lib         port:qt4-mac \
+                    port:root5
 
 # Geant4.9.5 probably doesn't support icon bars
 if {![variant_isset geant495]} {
@@ -181,4 +180,6 @@
     default_variants +geant496
 }
 
-configure.args-append -DGATE_USE_SYSTEM_CLHEP=ON
+configure.args-append \
+                    -DGATE_USE_SYSTEM_CLHEP=OFF \
+                    -DROOT_CONFIG_EXECUTABLE=${prefix}/libexec/root5/bin/root-config

Modified: users/mojca/ports/science/gate/files/patch-addmenu.diff
===================================================================
--- users/mojca/ports/science/gate/files/patch-addmenu.diff	2014-05-13 00:03:59 UTC (rev 120006)
+++ users/mojca/ports/science/gate/files/patch-addmenu.diff	2014-05-13 01:04:49 UTC (rev 120007)
@@ -1,7 +1,7 @@
---- Gate.cc
+--- Gate.cc.orig
 +++ Gate.cc
-@@ -377,6 +377,7 @@ int main( int argc, char* argv[] )
-   else {
+@@ -382,6 +382,7 @@ int main( int argc, char* argv[] )
+ 
      if (ui) // Launching interactive mode // Qt
        {
 +        UImanager->ApplyCommand("/gate/control/execute gui.mac");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140512/ac7af468/attachment.html>


More information about the macports-changes mailing list