Ticket #44678: root6.diff

File root6.diff, 3.7 KB (added by cjones051073 (Chris Jones), 10 years ago)
  • science/root6/Portfile

     
    1313# don't forget to update both the git tag and the version
    1414github.setup        root-mirror root 6-00-02 v
    1515version             6.00.02
    16 revision            1
     16revision            2
    1717# this could be a better way to set the version (unless we use a sha sum for the git tag ;)
    1818# version           [string map {- .} $version]
    1919set version_major   [lindex [split ${version} .] 0]
     
    116116                    -Dunuran=ON \
    117117                    -Dtable=ON \
    118118                    -Dgdml=ON \
     119                    -Dhttp=OFF \
     120                    -Dvc=OFF \
    119121                    -DPNG_LIBRARY=${prefix}/lib/libpng.dylib \
    120122                    -DPNG_PNG_INCLUDE_DIR=${prefix}/include
    121123
     
    213215
    214216universal_variant   no
    215217
    216 default_variants    +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion
     218default_variants    +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion +http
    217219
    218220# Since ROOT 5.34.15 the cocoa backend is default on OSX 10.8 or newer
    219221# We also make it default on 10.7
     
    223225    set default_gui_variant +x11
    224226}
    225227
     228variant valgrind description {Build internal LLVM library with valgrind support} {
     229    depends_lib-append      port:valgrind
     230}
     231
     232variant http description {Build with HTTP Server library support} {
     233    configure.args-replace -Dhttp=OFF -Dhttp=ON
     234}
     235
     236variant vc description {Build with Vc library support} {
     237    configure.args-replace -Dvc=OFF -Dvc=ON
     238}
     239
     240variant debug description {Enable a debug build} {
     241    configure.args-append -DCMAKE_BUILD_TYPE=Debug
     242}
     243
    226244variant xrootd description {Build with XRootD support} {
    227245    configure.args-replace  -Dxrootd=OFF -Dxrootd=ON
    228246#   configure.args-append   -Dbuiltin_xrootd=ON
     
    312330# Setup various python variants
    313331# ========================================================================================
    314332
    315 # List of possible python versions ( Versions 3.x do not seem to work yet )
    316 set python_versions { 2.6 2.7 }
     333# List of possible python versions
     334set python_versions { 2.6 2.7 3.1 3.2 3.3 3.4 }
    317335set default_python_variant +python27
    318336
    319337# Define the available variants
     
    362380        set mypydir ${prefix}/Library/Frameworks/Python.framework/Versions/${py_ver}
    363381        configure.args-replace  -Dpython=OFF -Dpython=ON
    364382        configure.args-append   -DPYTHON_INCLUDE_DIR="${mypydir}/Headers" \
    365                                 -DPYTHON_LIBRARY="${prefix}/lib/libpython${py_ver}.dylib" \
    366                                 -DPYTHON_EXECUTABLE="${prefix}/bin/python${py_ver}"
     383                                -DPYTHON_EXECUTABLE="${mypydir}/bin/python${py_ver}"
     384        # Explicitly set python library
     385        if       { [ file exists "${mypydir}/lib/libpython${py_ver}.dylib" ] } {
     386            configure.args-append -DPYTHON_LIBRARY="${mypydir}/lib/libpython${py_ver}.dylib"
     387        } elseif { [ file exists "${prefix}/lib/libpython${py_ver}.dylib" ] } {
     388            configure.args-append -DPYTHON_LIBRARY="${prefix}/lib/libpython${py_ver}.dylib"
     389        }
    367390        depends_lib-append      port:python${py_ver_no_dot}
    368391       
    369392        post-destroot {
  • science/root6/files/root6

     
    7070libexec/root6/share/man/man1/xpdtest.1.gz
    7171libexec/root6/share/man/man1/xproofd.1.gz
    7272libexec/root6/share/man/man1/rootcling.1.gz
     73libexec/root6/etc/root
     74libexec/root6/include/root
     75libexec/root6/share