<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7ba3c9d8723720aed747453f69da669f4ad16ac1">https://github.com/macports/macports-ports/commit/7ba3c9d8723720aed747453f69da669f4ad16ac1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7ba3c9d8723720aed747453f69da669f4ad16ac1
</span>Author: Mojca Miklavec <mojca@macports.org>
AuthorDate: Sat Jan 12 19:17:05 2019 +0100
<span style='display:block; white-space:pre;color:#404040;'> geant4: fix distributability
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Make the main package distributable again (conflict with cmake's dependency).
</span><span style='display:block; white-space:pre;color:#404040;'> Make data package non-distributable as it makes no sense to store it on the server.
</span>---
science/geant4/Portfile | 6 ++++++
1 file changed, 6 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/geant4/Portfile b/science/geant4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 01e56ed..29f1515 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/geant4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/geant4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,6 +12,8 @@ categories science
</span> maintainers {mojca @mojca} openmaintainer
license Restrictive/Distributable
# http://geant4.web.cern.ch/geant4/license/LICENSE.html
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# CMake dependency should not conflict with this port
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license_noconflict lz4
</span> 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. \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -137,6 +139,8 @@ foreach {geant.version geant.revision geant.datarevision geant.patchlevel geant.
</span> supported_archs noarch
description Data files for Geant${version}
long_description ${description}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Not a restrictive licence in itself, but we would like to prevent storing the archives
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ license Restrictive
</span>
# TODO: use an array (hash) to implement this without if-else
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -220,6 +224,8 @@ foreach {geant.version geant.revision geant.datarevision geant.patchlevel geant.
</span> revision ${geant.revision}
distfiles ${geant.distfilename}
checksums ${geant.distfilename} rmd160 ${geant.rmd160} sha256 ${geant.sha256} size ${geant.size}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ license_noconflict-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${name}.${geant.version}-data
</span>
cmake.out_of_source yes
worksrcdir geant${version}
</pre><pre style='margin:0'>
</pre>