Ticket #31247: root-v5.30.01.diff

File root-v5.30.01.diff, 3.3 KB (added by cjones051073 (Chris Jones), 13 years ago)
  • Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    2 # $Id: Portfile 83451 2011-09-01 16:46:06Z macsforever2000@macports.org $
     2# $Id: Portfile 82401 2011-08-13 03:37:54Z ryandesign@macports.org $
    33
    44PortSystem          1.0
    55
    66name                root
    7 version             5.30.00
    8 revision            3
     7version             5.30.01
     8revision            0
    99categories          science
    1010maintainers         gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc
    1111license             LGPL-2.1+
     
    1919master_sites        http://root.cern.ch/download/ \
    2020                    ftp://root.cern.ch/root/
    2121
    22 checksums           sha1    9549bd357e85bb3855abd78c7183c26dbd247fbb \
    23                     rmd160  027558ac9b0d294fd26437ff31cb4e149f4dd7e7
     22checksums           sha1    d5297bbdcdb1df5a00520b82eda59577b25c53c8 \
     23                    rmd160  bc68936ac58dedd3138921d7d6fdab8097b4edb5
    2424
    2525worksrcdir          root
    2626
     
    146146    depends_lib-append      port:glew
    147147}
    148148
    149 variant python26 description {Builds port with python 2.6 support} {
     149variant python26 conflicts python27 description {Builds port with python 2.6 support} {
    150150    configure.args-delete   --disable-python
    151151    configure.args-append   --enable-python \
    152152                            --with-python-incdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6" \
     
    164164    }
    165165}
    166166
     167variant python27 conflicts python26 description {Builds port with python 2.7 support} {
     168    configure.args-delete   --disable-python
     169    configure.args-append   --enable-python \
     170                            --with-python-incdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7" \
     171                            --with-python-libdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config"
     172    depends_lib-append      port:python27
     173   
     174    post-destroot {
     175        file mkdir  ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
     176        move ${destroot}${prefix}/lib/root/ROOT.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
     177        move ${destroot}${prefix}/lib/root/ROOT.pyc ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
     178        move ${destroot}${prefix}/lib/root/ROOT.pyo ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
     179        move ${destroot}${prefix}/lib/root/ROOTwriter.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
     180        move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
     181        move ${destroot}${prefix}/lib/root/writer.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
     182    }
     183}
     184
    167185variant ssl description {Builds port with ssl support} {
    168186    configure.args-delete   --disable-ssl
    169187    configure.args-append   --enable-ssl \