[83995] trunk/dports/science/root/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Sep 14 11:43:53 PDT 2011
Revision: 83995
http://trac.macports.org/changeset/83995
Author: ryandesign at macports.org
Date: 2011-09-14 11:43:53 -0700 (Wed, 14 Sep 2011)
Log Message:
-----------
root: maintainer update to 5.30.01, and add python27 variant; see #31247
Modified Paths:
--------------
trunk/dports/science/root/Portfile
Modified: trunk/dports/science/root/Portfile
===================================================================
--- trunk/dports/science/root/Portfile 2011-09-14 17:55:07 UTC (rev 83994)
+++ trunk/dports/science/root/Portfile 2011-09-14 18:43:53 UTC (rev 83995)
@@ -4,8 +4,8 @@
PortSystem 1.0
name root
-version 5.30.00
-revision 3
+version 5.30.01
+revision 0
categories science
maintainers gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc
license LGPL-2.1+
@@ -19,8 +19,8 @@
master_sites http://root.cern.ch/download/ \
ftp://root.cern.ch/root/
-checksums sha1 9549bd357e85bb3855abd78c7183c26dbd247fbb \
- rmd160 027558ac9b0d294fd26437ff31cb4e149f4dd7e7
+checksums sha1 d5297bbdcdb1df5a00520b82eda59577b25c53c8 \
+ rmd160 bc68936ac58dedd3138921d7d6fdab8097b4edb5
worksrcdir root
@@ -146,7 +146,7 @@
depends_lib-append port:glew
}
-variant python26 description {Builds port with python 2.6 support} {
+variant python26 conflicts python27 description {Builds port with python 2.6 support} {
configure.args-delete --disable-python
configure.args-append --enable-python \
--with-python-incdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6" \
@@ -164,6 +164,24 @@
}
}
+variant python27 conflicts python26 description {Builds port with python 2.7 support} {
+ configure.args-delete --disable-python
+ configure.args-append --enable-python \
+ --with-python-incdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7" \
+ --with-python-libdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config"
+ depends_lib-append port:python27
+
+ post-destroot {
+ file mkdir ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
+ move ${destroot}${prefix}/lib/root/ROOT.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
+ move ${destroot}${prefix}/lib/root/ROOT.pyc ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
+ move ${destroot}${prefix}/lib/root/ROOT.pyo ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
+ move ${destroot}${prefix}/lib/root/ROOTwriter.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
+ move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
+ move ${destroot}${prefix}/lib/root/writer.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
+ }
+}
+
variant ssl description {Builds port with ssl support} {
configure.args-delete --disable-ssl
configure.args-append --enable-ssl \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110914/402c4ce0/attachment-0001.html>
More information about the macports-changes
mailing list