Ticket #50011: root.3.diff
File root.3.diff, 11.7 KB (added by cjones051073 (Chris Jones), 9 years ago) |
---|
-
science/root5/Portfile
10 10 11 11 github.setup root-mirror root 5-34-34 v 12 12 version 5.34.34 13 revision 113 revision 2 14 14 15 15 set version_major [lindex [split ${version} .] 0] 16 16 -
science/root5/files/root5
28 28 libexec/root5/bin/thisroot.sh 29 29 libexec/root5/bin/xpdtest 30 30 - 31 - 32 - 33 - 34 - 35 - 36 - 37 - 38 - 31 39 libexec/root5/share/man/man1/cint.1.gz 32 40 libexec/root5/share/man/man1/g2root.1.gz 33 41 libexec/root5/share/man/man1/g2rootold.1.gz -
science/root6/Portfile
8 8 PortGroup compiler_blacklist_versions 1.0 9 9 PortGroup github 1.0 10 10 PortGroup select 1.0 11 PortGroup xcodeversion 1.0 11 12 12 13 # don't forget to update both the git tag and the version 13 14 #github.setup root-mirror root <sha> 14 github.setup root-mirror root 6-0 4-12v15 version 6.0 4.1215 github.setup root-mirror root 6-06-00 v 16 version 6.06.00 16 17 17 18 # this could be a better way to set the version (unless we use a sha sum for the git tag ;) 18 19 # version [string map {- .} $version] 19 20 set version_major [lindex [split ${version} .] 0] 20 21 21 checksums rmd160 a607eb11c3e84c8e61c1c7dcdad5de7daa0c998c\22 sha256 140de60f190970453dd0c53aa27b33fa73fe1c8a6e863620a4c6fb9ac9a975a222 checksums rmd160 84ce0e3b637e2cc81cc4d6c598118e50d5f18125 \ 23 sha256 90416cd4d836b8ca48c2e31cc7774a5e35ee21f0748596487e39fa0af2cf2324 23 24 24 25 name root${version_major} 25 26 categories science … … 60 61 select.file ${filespath}/${name} 61 62 62 63 # Force a compatible compiler 64 #compiler.blacklist-append *gcc* {clang < 602} macports-clang-3.4 macports-clang-3.3 65 #compiler.fallback-append macports-clang-3.7 macports-clang-3.6 macports-clang-3.5 63 66 compiler.blacklist-append *gcc* {clang < 500} macports-clang-3.3 64 compiler.fallback-append macports-clang-3.7 macports-clang-3.6 macports-clang-3.5 \ 65 macports-clang-3.4 67 compiler.fallback-append macports-clang-3.7 macports-clang-3.6 macports-clang-3.5 macports-clang-3.4 66 68 67 69 # port specific location 68 70 set install_prefix ${prefix}/libexec/root${version_major} … … 124 126 -Dvc=OFF \ 125 127 -Dastiff=ON \ 126 128 -Dgeocad=OFF \ 129 -Dr=OFF \ 127 130 -DPNG_LIBRARY=${prefix}/lib/libpng.dylib \ 128 131 -DPNG_PNG_INCLUDE_DIR=${prefix}/include 129 132 … … 169 172 } 170 173 171 174 post-destroot { 172 # create versioned symlinks for the content of libexec 173 # bin dir 175 # Temporary - Set execute flag on binaries (broken in 6.06.00) 174 176 foreach f [glob -directory ${destroot}${install_prefix}/bin *] { 177 system "chmod +x $f" 178 } 179 # create versioned symlinks for the content of libexec bin dir 180 foreach f [glob -directory ${destroot}${install_prefix}/bin *] { 175 181 set filename [file tail $f] 176 182 set extension [file extension $filename] 177 183 set base [file rootname $filename] … … 222 228 ui_msg "======================================================================================" 223 229 } 224 230 225 universal_variant 231 universal_variant no 226 232 227 default_variants 233 default_variants +cocoa +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion +http 228 234 229 # Since ROOT 5.34.15 the cocoa backend is default on OSX 10.8 or newer 230 # We also make it default on 10.7 231 if {${os.major} > 10} { 232 set default_gui_variant +cocoa 233 } else { 234 set default_gui_variant +x11 235 # Enable C++14 by default when Xcode allows (Xcode 6.3 onwards) 236 if { [vercmp $xcodeversion "6.3"] >= 0 } { 237 default_variants-append +cxx14 235 238 } 236 239 237 # variant geocad description {Enable CAD Interface} {238 # configure.args-replace -Dgeocad=OFF -Dgeocad=ON239 # depends_lib-append port:oce240 # configure.args-append -DOCC_INCLUDE_DIR="${prefix}/include/oce"241 # }242 243 240 variant qt4 description {Enable QT4 support} { 244 241 configure.args-replace -Dqt=OFF -Dqt=ON 245 242 PortGroup qt4 1.0 … … 247 244 248 245 variant cxx14 description {Enable c++14 compiler support} { 249 246 configure.args-replace -Dcxx14=OFF -Dcxx14=ON 247 # Update compiler blacklist to force use of MP's Clang 3.7 when required 248 compiler.blacklist-append {clang < 602} macports-clang-3.4 250 249 } 251 250 252 251 variant valgrind description {Build internal LLVM library with valgrind support} { … … 423 422 foreach f [ exec find ${destroot}${install_prefix} -type f -and -name "*.py" ] { 424 423 reinplace "s|${pystringtoreplace}|${prefix}/bin/python${active_python_version}|g" $f 425 424 } 425 foreach f [ exec find ${destroot}${install_prefix}/bin -type f | xargs grep -Il ${pystringtoreplace} ] { 426 reinplace "s|${pystringtoreplace}|${prefix}/bin/python${active_python_version}|g" $f 427 } 426 428 } 427 429 428 430 } … … 487 489 variant postgresql90 conflicts postgresql92 description {Build with PostgreSQL 9.0 support} { 488 490 configure.args-replace -Dpgsql=OFF -Dpgsql=ON 489 491 configure.args-append -DPOSTGRESQL_INCLUDE_DIR="${prefix}/include/postgresql90"\ 490 -DPOSTGRESQL_LIBRAR IES="${prefix}/lib/postgresql90/libpq.dylib"492 -DPOSTGRESQL_LIBRARY="${prefix}/lib/postgresql90/libpq.dylib" 491 493 depends_lib-append port:libpqxx port:postgresql90 492 494 } 493 495 … … 494 496 variant postgresql92 conflicts postgresql90 description {Build with PostgreSQL 9.2 support} { 495 497 configure.args-replace -Dpgsql=OFF -Dpgsql=ON 496 498 configure.args-append -DPOSTGRESQL_INCLUDE_DIR="${prefix}/include/postgresql92" \ 497 -DPOSTGRESQL_LIBRAR IES="${prefix}/lib/postgresql92/libpq.dylib"499 -DPOSTGRESQL_LIBRARY="${prefix}/lib/postgresql92/libpq.dylib" 498 500 depends_lib-append port:libpqxx port:postgresql92 499 501 } 500 502 … … 540 542 -DOPENGL_glu_LIBRARY=${prefix}/lib/libGLU.dylib 541 543 } 542 544 543 # If neither graphical variant is set, use default544 if { ![variant_isset cocoa] && ![variant_isset x11] } {545 default_variants-append ${default_gui_variant}546 }547 548 545 # ======================================================================================== 549 546 # Setup various clang variants, to provide alternative C++ compilers that support cocoa 550 547 # ======================================================================================== 551 548 552 549 # List of possible clang versions that work 553 set clang_versions { 3. 4 3.5 3.6 3.7}550 set clang_versions { 3.5 3.6 3.7 3.8 } 554 551 555 552 # Define the available variants 556 553 foreach clang_ver ${clang_versions} { … … 567 564 568 565 # make sure that the proper variant is automatically selected 569 566 # (ROOT crashes if the compiler it was built with doesn't exist) 570 if { ![variant_isset clang33] && ![variant_isset clang34] && 571 ![variant_isset clang35] && ![variant_isset clang36] && 572 ![variant_isset clang37] } { 573 if { ${configure.compiler} eq "macports-clang-3.3" } { 574 default_variants-append +clang33 575 } elseif { ${configure.compiler} eq "macports-clang-3.4" } { 576 default_variants-append +clang34 577 } elseif { ${configure.compiler} eq "macports-clang-3.5" } { 567 if { ![variant_isset clang35] && 568 ![variant_isset clang36] && 569 ![variant_isset clang37] && 570 ![variant_isset clang38] } { 571 if { ${configure.compiler} eq "macports-clang-3.5" } { 578 572 default_variants-append +clang35 579 573 } elseif { ${configure.compiler} eq "macports-clang-3.6" } { 580 574 default_variants-append +clang36 581 575 } elseif { ${configure.compiler} eq "macports-clang-3.7" } { 582 576 default_variants-append +clang37 577 } elseif { ${configure.compiler} eq "macports-clang-3.8" } { 578 default_variants-append +clang38 583 579 } 584 580 } 585 581 … … 655 651 656 652 # ======================================================================================== 657 653 658 # Problems finding includes ... 654 # Various variants etc. with problems. Work in progress... 655 659 656 # variant ruby description {Build with ruby support} { 660 657 # configure.args-replace -Druby=OFF -Druby=ON 661 658 # depends_lib-append port:ruby … … 665 662 # livecheck.type regex 666 663 # livecheck.url http://root.cern.ch/svn/root/trunk 667 664 # livecheck.regex ${name}_v(\[0-9a-z.\]+)\\.source 665 666 # variant geocad description {Enable CAD Interface} { 667 # configure.args-replace -Dgeocad=OFF -Dgeocad=ON 668 # depends_lib-append port:oce 669 # configure.args-append -DOCC_INCLUDE_DIR="${prefix}/include/oce" 670 # } 671 672 # variant r description {Enable R support} { 673 # configure.args-replace -Dr=OFF -Dr=ON 674 # depends_lib-append port:R 675 # } -
science/root6/files/root6
28 28 libexec/root6/bin/thisroot.sh 29 29 - 30 30 libexec/root6/bin/rootcling 31 libexec/root6/bin/rootbrowse 32 libexec/root6/bin/rootcp 33 libexec/root6/bin/rooteventselector 34 libexec/root6/bin/rootls 35 libexec/root6/bin/rootmkdir 36 libexec/root6/bin/rootmv 37 libexec/root6/bin/rootprint 38 libexec/root6/bin/rootrm 31 39 - 32 40 libexec/root6/share/man/man1/g2root.1.gz 33 41 libexec/root6/share/man/man1/g2rootold.1.gz 34 42 libexec/root6/share/man/man1/genmap.1.gz 35 libexec/root6/share/man/man1/genreflex-rootcint.1.gz 36 libexec/root6/share/man/man1/genreflex.1.gz 43 - 44 - 37 45 libexec/root6/share/man/man1/h2root.1.gz 38 46 libexec/root6/share/man/man1/hadd.1.gz 39 47 libexec/root6/share/man/man1/hist2workspace.1.gz … … 54 62 libexec/root6/share/man/man1/proofd.1.gz 55 63 libexec/root6/share/man/man1/proofserv.1.gz 56 64 libexec/root6/share/man/man1/proofserva.1.gz 57 libexec/root6/share/man/man1/rlibmap.1.gz 65 - 58 66 libexec/root6/share/man/man1/rmkdepend.1.gz 59 67 libexec/root6/share/man/man1/root-config.1.gz 60 68 libexec/root6/share/man/man1/root.1.gz … … 69 77 libexec/root6/share/man/man1/system.rootdaemonrc.1.gz 70 78 libexec/root6/share/man/man1/xpdtest.1.gz 71 79 libexec/root6/share/man/man1/xproofd.1.gz 72 libexec/root6/share/man/man1/rootcling.1.gz 80 - 73 81 libexec/root6/etc/root 74 82 libexec/root6/include/root 75 83 libexec/root6/share -
sysutils/root_select/Portfile
5 5 PortGroup select 1.0 6 6 7 7 name root_select 8 version 1. 18 version 1.2 9 9 10 10 categories sysutils science 11 11 platforms darwin -
sysutils/root_select/files/base
28 28 bin/thisroot.sh 29 29 bin/xpdtest 30 30 bin/rootcling 31 bin/rootbrowse 32 bin/rootcp 33 bin/rooteventselector 34 bin/rootls 35 bin/rootmkdir 36 bin/rootmv 37 bin/rootprint 38 bin/rootrm 31 39 share/man/man1/cint.1.gz 32 40 share/man/man1/g2root.1.gz 33 41 share/man/man1/g2rootold.1.gz -
sysutils/root_select/files/none
73 73 - 74 74 - 75 75 - 76 - 77 - 78 - 79 - 80 - 81 - 82 - 83 -