Ticket #43917: root6.diff
File root6.diff, 4.5 KB (added by cjones051073 (Chris Jones), 10 years ago) |
---|
-
Portfile
9 9 PortGroup github 1.0 10 10 PortGroup select 1.0 11 11 12 # TODO: 13 # - try to figure out if one could also build root6 on < 10.9 14 # - version 5.99.06-beta is broken also on 10.9 15 #if {${os.major} < 13 } { 16 github.setup root-mirror root e3dec6e203 17 version 5.99.05-beta 18 checksums rmd160 69f6a99413908eed7789bc30939a621f45eac7a2 \ 19 sha256 10f2956cd821471477a351c01355c2eb802c01e046764d18865e7416dfa810f8 20 #} else { 21 # github.setup root-mirror root 5-99-06 v 22 # version 5.99.06-beta 23 # checksums rmd160 b8b5ae705aae185c0d6ed097a5efa6fbeb961bfb \ 24 # sha256 c873d536769ff06616c0a9981e7f1db2414eaca0a1bcab045d4073b36644981a 25 #} 12 # The official 6.00.00 release 13 #github.setup root-mirror root 6-00-00 v 14 #version 6.00.00 15 #checksums rmd160 d6c67868a2f4a4dcb649b45b8c959abca27da11a \ 16 # sha256 4bc0f98b7dff32099e2844dd12bb8ec05b76ba899fdeb0848d9c013416606586 26 17 18 # Essentially 6.00.00, but with some bug fixes to the build system... 19 github.setup root-mirror root aaf9b65 20 version 6.00.00 21 checksums rmd160 e0b7080d897469f421dd5ee44ca570a4774dc5d4 \ 22 sha256 58692b7e2c970df5eac0dd298ab7d1ac5352e4ed549d61c29578d71915e831be 23 27 24 name root6 28 25 set version_major 6 29 26 categories science … … 33 30 description ROOT is a data analysis framework from CERN 34 31 long_description The ROOT system provides a set of frameworks with all \ 35 32 the functionality needed to handle and analyze large amounts \ 36 of data in a very efficient way. This version provides a build \ 37 of a snapshot of the ROOT 6 development version. \ 38 For a stable release install the root port instead. 33 of data in a very efficient way. ROOT6 is a development release, \ 34 for a more stable release install the ROOT5 port instead. 39 35 40 36 homepage http://root.cern.ch/ 41 37 platforms darwin … … 168 164 ln -s ${install_prefix}/etc/root ${destroot}${prefix}/etc/root${version_major} 169 165 # share dir 170 166 ln -s ${install_prefix}/share ${destroot}${prefix}/share/root${version_major} 171 # 'Fix' genreflex172 #reinplace "s|lib/python/genreflex|lib/root${version_major}/python/genreflex|g" ${destroot}${install_prefix}/bin/genreflex173 167 # Compress manpages in custom location (borrowed from mariadb) 174 168 set manpath ${install_prefix}/share/man 175 169 set gzip [findBinary gzip ${portutil::autoconf::gzip_path}] … … 219 213 } 220 214 221 215 # TODO - Doesn't seem to work. To be reported upstream.. 222 #variant xrootd description {Build with XRootD support} {223 #system "export XRDSYS=${prefix}/lib"224 #configure.args-replace -Dxrootd=OFF -Dxrootd=ON225 ##configure.args-append -Dbuiltin_xrootd=ON226 #configure.args-append -DXROOTD_INCLUDE_DIR="${prefix}/include/xrootd"227 #depends_lib-append port:xrootd228 #}216 variant xrootd description {Build with XRootD support} { 217 #system "export XRDSYS=${prefix}/lib" 218 configure.args-replace -Dxrootd=OFF -Dxrootd=ON 219 #configure.args-append -Dbuiltin_xrootd=ON 220 configure.args-append -DXROOTD_INCLUDE_DIR="${prefix}/include/xrootd" 221 depends_lib-append port:xrootd 222 } 229 223 230 224 variant soversion description {Build with soversion support} { 231 225 configure.args-replace -Dsoversion=OFF -Dsoversion=ON … … 431 425 # depends_lib-append port:oracle-instantclient 432 426 # } 433 427 434 # TODO - Doesn't seem to work. To be reported upstream.. 435 # variant pythia description {Pythia 8 support for root} { 436 # configure.args-replace -Dpythia8=OFF -Dpythia8=ON 437 # configure.args-append -DPYTHIA8_INCLUDE_DIR=${prefix}/include \ 438 # -DPYTHIA8_LIBRARY=${prefix}/lib/libpythia8.dylib 439 # depends_lib-append port:pythia 440 # } 428 variant pythia description {Enables Pythia 8 support} { 429 configure.args-replace -Dpythia8=OFF -Dpythia8=ON 430 configure.args-append -DPYTHIA8_INCLUDE_DIR=${prefix}/include/pythia \ 431 -DPYTHIA8_LIBRARY=${prefix}/lib/libpythia8.dylib 432 depends_lib-append port:pythia 433 } 441 434 442 435 variant cocoa conflicts x11 description {Enables native OSX graphical backend} { 443 436 # Enable cocoa support in configure