[141867] trunk/dports/science/gate/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 03:20:44 PST 2015


Revision: 141867
          https://trac.macports.org/changeset/141867
Author:   mojca at macports.org
Date:     2015-10-30 04:31:22 -0700 (Fri, 30 Oct 2015)
Log Message:
-----------
gate: update (now works with geant4.10.1.p02), enable optical tracking of photons, 'fix' the regex

Modified Paths:
--------------
    trunk/dports/science/gate/Portfile

Modified: trunk/dports/science/gate/Portfile
===================================================================
--- trunk/dports/science/gate/Portfile	2015-10-30 11:17:14 UTC (rev 141866)
+++ trunk/dports/science/gate/Portfile	2015-10-30 11:31:22 UTC (rev 141867)
@@ -6,27 +6,18 @@
 PortSystem          1.0
 PortGroup           app 1.0
 PortGroup           cmake 1.0
+PortGroup           github 1.0
 PortGroup           active_variants 1.1
 
-set git_sha         e657ed0c
-set git_date        20150512
+set git_sha         0be152cf
+set git_date        20151007
 
-# set git_sha         096dbc63
-# set git_date        20150812
-
-# Using GitHub just for the sake of downloadable zips
-PortGroup           github 1.0
 github.setup        OpenGATE Gate ${git_sha}
 name                gate
 version             7.1
-revision            4
+revision            5
 # version           7.1-git-${git_date}-${git_sha}
 
-## official repository
-# fetch.type        git
-# git.url           http://git.opengatecollaboration.org/git/opengate-public.git
-# git.branch        ${git_sha}
-
 categories          science
 maintainers         mojca openmaintainer
 license             LGPL
@@ -37,12 +28,9 @@
 homepage            http://www.opengatecollaboration.org
 platforms           darwin
 
-checksums           rmd160  ee946cd1a0962660566ad7eb71a60cd2420fac32 \
-                    sha256  bde3ab7bd747f11d3ade0149ef2371a6077a0546120fd98a61ca2c044bef7558
+checksums           rmd160  8e5316fa5984541c6afa11f6194b970cdf74ab9b \
+                    sha256  4fcab7083b675804397fdf91e4a79ebcb185dbb3a7ff98c8430e8a8ec0d57911
 
-# checksums           rmd160  29824142b32b82e7b6096f4148238e7561410d3c \
-#                     sha256  dc09de04356b9c5173f50fb326fd437f5bb914622e4a953fc6859a0be82786d7
-
 # TODO: take this data from a geant4 portgroup
 set geant.data_versions_10.1 {
     G4NDL              4.5   G4NDL                G4NEUTRONHPDATA
@@ -83,6 +71,7 @@
 patchfiles-append   patch-addmenu.diff
 
 configure.args-append \
+                    -DGATE_USE_OPTICAL=ON \
                     -DGATE_USE_SYSTEM_CLHEP=OFF \
                     -DROOT_CONFIG_EXECUTABLE=${prefix}/libexec/root5/bin/root-config
                     # ROOT is optional: we could make a variant if needed
@@ -208,3 +197,6 @@
         require_active_variants geant4.10.0 qt5
     }
 }
+
+livecheck.version   ${version}
+livecheck.regex     archive/\[v\](\[^"\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/15cfbeca/attachment.html>


More information about the macports-changes mailing list