[78935] trunk/dports/science/root/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Fri May 27 08:41:09 PDT 2011
Revision: 78935
http://trac.macports.org/changeset/78935
Author: macsforever2000 at macports.org
Date: 2011-05-27 08:41:09 -0700 (Fri, 27 May 2011)
Log Message:
-----------
root: Update to version 5.28.00c. (#27962) Fix dependencies. Change python variant to python26 so other python variants can be added in the future. Partial fix for python26 variant. Fix gfortran variant.
Modified Paths:
--------------
trunk/dports/science/root/Portfile
Modified: trunk/dports/science/root/Portfile
===================================================================
--- trunk/dports/science/root/Portfile 2011-05-27 15:35:48 UTC (rev 78934)
+++ trunk/dports/science/root/Portfile 2011-05-27 15:41:09 UTC (rev 78935)
@@ -4,8 +4,7 @@
PortSystem 1.0
name root
-version 5.26.00b
-revision 9
+version 5.28.00c
categories science
maintainers gmail.com:mattiafrancescomoro
license LGPLv2.1
@@ -18,18 +17,23 @@
distname ${name}_v${version}.source
master_sites ftp://root.cern.ch/root/
-checksums md5 46d524a37f4c67cb4a6921d3d7721f8a \
- sha1 70db6f9cf6acc29bcf0060a4c2e1f9e24c26702a \
- rmd160 057ce1151a534f00a445ec69392e7a7a3bd55ca8
+checksums md5 0e997f14cb1c671987e1780d2b6375f8 \
+ sha1 d92569b06fd2b34bf44d077cca8b3b9ebc4d1dd5 \
+ rmd160 5ce591b1f67121f1e78aeb30ec4fbffcf0318b2d
worksrcdir root
depends_lib port:freetype \
port:pcre \
port:Xft2 \
+ port:xorg-libX11 \
port:xpm \
+ port:zlib \
+ port:gsl \
+ port:graphviz \
+ port:jpeg \
port:libpng \
- port:zlib
+ port:tiff
pre-configure {
build.args CC=${configure.cc} \
@@ -76,9 +80,12 @@
--disable-roofit \
--disable-ssl \
--disable-xml \
+ --disable-python \
--with-x11-libdir=${prefix}/lib \
--with-xpm-libdir=${prefix}/lib
+use_parallel_build no
+
universal_variant no
default_variants +ssl +builtin_ftgl +roofit +xml +opengl
@@ -130,9 +137,22 @@
depends_lib-append port:glew
}
-variant python description {Builds port with python support} {
+variant python26 description {Builds port with python 2.6 support} {
configure.args-delete --disable-python
- configure.args-append --enable-python
+ configure.args-append --enable-python \
+ --with-python-incdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6" \
+ --with-python-libdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config"
+ depends_lib-append port:python26
+
+ post-destroot {
+ file mkdir ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
+ move ${destroot}${prefix}/lib/root/ROOT.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
+ move ${destroot}${prefix}/lib/root/ROOT.pyc ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
+ move ${destroot}${prefix}/lib/root/ROOT.pyo ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
+ move ${destroot}${prefix}/lib/root/ROOTwriter.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
+ move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
+ move ${destroot}${prefix}/lib/root/writer.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
+ }
}
variant ssl description {Builds port with ssl support} {
@@ -226,6 +246,11 @@
depends_lib-append port:pythia
}
+variant gfortran description {Adds support for fortran compilation} {
+ configure.args-append --with-f77=gfortran-mp-4.4
+ depends_lib-append port:gcc44
+}
+
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${name}_v(\[0-9a-z.\]+)\\.source
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110527/27b3d244/attachment.html>
More information about the macports-changes
mailing list