[116978] trunk/dports/science/root/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Tue Feb 11 13:30:15 PST 2014
Revision: 116978
https://trac.macports.org/changeset/116978
Author: macsforever2000 at macports.org
Date: 2014-02-11 13:30:14 -0800 (Tue, 11 Feb 2014)
Log Message:
-----------
root: Update to version 5.34.15. Make cocoa variant default on 10.8+. (#42456)
Modified Paths:
--------------
trunk/dports/science/root/Portfile
Modified: trunk/dports/science/root/Portfile
===================================================================
--- trunk/dports/science/root/Portfile 2014-02-11 19:37:10 UTC (rev 116977)
+++ trunk/dports/science/root/Portfile 2014-02-11 21:30:14 UTC (rev 116978)
@@ -4,8 +4,7 @@
PortSystem 1.0
name root
-version 5.34.14
-revision 1
+version 5.34.15
categories science
maintainers gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc
@@ -20,8 +19,8 @@
master_sites http://root.cern.ch/download/ \
ftp://root.cern.ch/root/
-checksums rmd160 6d316e47835d91597131d501cf3c1ef8f9dd4773 \
- sha256 d5347ba1b614eb083cf08050b784d66a93c125ed89938708da1adb33323dee2b
+checksums rmd160 bac74c87947028353399450da53cd83556d598b4 \
+ sha256 d1dcddd17084de4001847841835cf56dcd5affcfa28d46d2516928efd97b71ae
worksrcdir root
@@ -137,6 +136,11 @@
default_variants +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion
+# Since ROOT 5.34.15 the cocoa backend is default on OSX 10.8 or newer, so do the same
+if {${os.major} > 11} {
+ default_variants-append +cocoa
+}
+
post-destroot {
reinplace "s|lib/python/genreflex|lib/root/python/genreflex|g" ${destroot}${prefix}/bin/genreflex
}
@@ -265,7 +269,7 @@
foreach ver ${python_versions} {
set ver_no_dot [join [split ${ver} "."] ""]
if {[variant_isset python${ver_no_dot}]} {
- set active_python_variant ${ver}
+ set active_python_variant ${ver}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140211/789cfbc7/attachment.html>
More information about the macports-changes
mailing list