Ticket #44678: root6.diff
File root6.diff, 3.7 KB (added by cjones051073 (Chris Jones), 10 years ago) |
---|
-
science/root6/Portfile
13 13 # don't forget to update both the git tag and the version 14 14 github.setup root-mirror root 6-00-02 v 15 15 version 6.00.02 16 revision 116 revision 2 17 17 # this could be a better way to set the version (unless we use a sha sum for the git tag ;) 18 18 # version [string map {- .} $version] 19 19 set version_major [lindex [split ${version} .] 0] … … 116 116 -Dunuran=ON \ 117 117 -Dtable=ON \ 118 118 -Dgdml=ON \ 119 -Dhttp=OFF \ 120 -Dvc=OFF \ 119 121 -DPNG_LIBRARY=${prefix}/lib/libpng.dylib \ 120 122 -DPNG_PNG_INCLUDE_DIR=${prefix}/include 121 123 … … 213 215 214 216 universal_variant no 215 217 216 default_variants +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion 218 default_variants +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion +http 217 219 218 220 # Since ROOT 5.34.15 the cocoa backend is default on OSX 10.8 or newer 219 221 # We also make it default on 10.7 … … 223 225 set default_gui_variant +x11 224 226 } 225 227 228 variant valgrind description {Build internal LLVM library with valgrind support} { 229 depends_lib-append port:valgrind 230 } 231 232 variant http description {Build with HTTP Server library support} { 233 configure.args-replace -Dhttp=OFF -Dhttp=ON 234 } 235 236 variant vc description {Build with Vc library support} { 237 configure.args-replace -Dvc=OFF -Dvc=ON 238 } 239 240 variant debug description {Enable a debug build} { 241 configure.args-append -DCMAKE_BUILD_TYPE=Debug 242 } 243 226 244 variant xrootd description {Build with XRootD support} { 227 245 configure.args-replace -Dxrootd=OFF -Dxrootd=ON 228 246 # configure.args-append -Dbuiltin_xrootd=ON … … 312 330 # Setup various python variants 313 331 # ======================================================================================== 314 332 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 334 set python_versions { 2.6 2.7 3.1 3.2 3.3 3.4 } 317 335 set default_python_variant +python27 318 336 319 337 # Define the available variants … … 362 380 set mypydir ${prefix}/Library/Frameworks/Python.framework/Versions/${py_ver} 363 381 configure.args-replace -Dpython=OFF -Dpython=ON 364 382 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 } 367 390 depends_lib-append port:python${py_ver_no_dot} 368 391 369 392 post-destroot { -
science/root6/files/root6
70 70 libexec/root6/share/man/man1/xpdtest.1.gz 71 71 libexec/root6/share/man/man1/xproofd.1.gz 72 72 libexec/root6/share/man/man1/rootcling.1.gz 73 libexec/root6/etc/root 74 libexec/root6/include/root 75 libexec/root6/share