Ticket #32400: root-V2.diff
File root-V2.diff, 5.8 KB (added by cjones051073 (Chris Jones), 13 years ago) |
---|
-
science/root/Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name root 7 version 5.3 0.037 version 5.32.00 8 8 revision 0 9 9 categories science 10 10 maintainers gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc 11 11 license LGPL-2.1+ 12 description R oot cern data analysis framework12 description ROOT is a data analysis framework from CERN 13 13 long_description The ROOT system provides a set of frameworks with all \ 14 14 the functionality needed to handle and analyze large amounts \ 15 15 of data in a very efficient way … … 19 19 master_sites http://root.cern.ch/download/ \ 20 20 ftp://root.cern.ch/root/ 21 21 22 checksums sha1 d2cd2855905a7f2f63366e0fc38f15a49881b792\23 rmd160 b85ad6f248d94755aa9ce6a872ea6ce4d90d837322 checksums sha1 b7375d53dd845505196d12a7d66c3b2d8e1b0336 \ 23 rmd160 e8b0c9b4e60334fb9f01b4cf70cdaed518c62bae 24 24 25 25 worksrcdir root 26 26 … … 40 40 41 41 patchfiles patch-configure.diff 42 42 43 if {${configure.compiler} == "clang"} { 44 configure.compiler llvm-gcc-4.2 45 } 46 43 47 post-patch { 44 48 reinplace "s|-lfreetype| \`freetype-config --libs\`|g" ${worksrcpath}/config/root-config.in 45 49 reinplace "s|\"/usr/include\"|\"${prefix}/include/\" \"/usr/include\"|g" ${worksrcpath}/configure … … 108 112 109 113 universal_variant no 110 114 111 default_variants +ssl +xml + opengl +gsl +minuit2 +tmva +roofit115 default_variants +ssl +xml +gsl +minuit2 +tmva +roofit 112 116 113 117 variant fftw3 description {Builds port with fftw3 support} { 114 118 configure.args-delete --disable-fftw3 … … 156 160 depends_lib-append port:openldap 157 161 } 158 162 159 variant roofit description { 163 variant roofit description {Build the libRooFit advanced fitting package} { 160 164 configure.args-delete --disable-roofit 161 165 configure.args-append --enable-roofit 162 166 } 163 167 164 variant tmva description { 168 variant tmva description {Build the TMVA package} { 165 169 configure.args-delete --disable-tmva 166 170 configure.args-append --enable-tmva 167 171 } … … 181 185 depends_lib-append port:glew port:mesa 182 186 } 183 187 184 variant python26 conflicts python3 1 python27 description {Builds port with python 2.6 support} {188 variant python26 conflicts python32 python31 python27 description {Builds port with python 2.6 support} { 185 189 set mypydir ${prefix}/Library/Frameworks/Python.framework/Versions/2.6 186 190 configure.args-delete --disable-python 187 191 configure.args-append --enable-python --with-python-incdir="${mypydir}/Headers" --with-python-libdir="${mypydir}" … … 194 198 } 195 199 } 196 200 197 variant python27 conflicts python3 1 python26 description {Builds port with python 2.7 support} {201 variant python27 conflicts python32 python31 python26 description {Builds port with python 2.7 support} { 198 202 set mypydir ${prefix}/Library/Frameworks/Python.framework/Versions/2.7 199 203 configure.args-delete --disable-python 200 204 configure.args-append --enable-python --with-python-incdir="${mypydir}/Headers" --with-python-libdir="${mypydir}" … … 207 211 } 208 212 } 209 213 210 variant python31 conflicts python 27 python26 description {Builds port with python 3.1 support} {214 variant python31 conflicts python32 python27 python26 description {Builds port with python 3.1 support} { 211 215 set mypydir ${prefix}/Library/Frameworks/Python.framework/Versions/3.1 212 216 configure.args-delete --disable-python 213 217 configure.args-append --enable-python --with-python-incdir="${mypydir}/Headers" --with-python-libdir="${mypydir}" … … 220 224 } 221 225 } 222 226 227 variant python32 conflicts python31 python27 python26 description {Builds port with python 3.2 support} { 228 set mypydir ${prefix}/Library/Frameworks/Python.framework/Versions/3.2 229 configure.args-delete --disable-python 230 configure.args-append --enable-python --with-python-incdir="${mypydir}/Headers" --with-python-libdir="${mypydir}" 231 depends_lib-append port:python32 232 post-destroot { 233 set mypysitedir ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/ 234 file mkdir ${mypysitedir} 235 foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${mypysitedir} } 236 move ${destroot}${prefix}/lib/root/python/genreflex ${mypysitedir} 237 } 238 } 239 223 240 variant ruby description {Builds port with ruby support} { 224 241 configure.args-delete --disable-ruby 225 242 configure.args-append --enable-ruby … … 314 331 depends_lib-append port:pythia 315 332 } 316 333 317 variant gcc44 conflicts gcc45 description {Compile using MacPorts gcc 4.4} {334 variant gcc44 conflicts gcc45 gcc46 description {Compile using MacPorts gcc 4.4} { 318 335 configure.compiler macports-gcc-4.4 319 336 depends_lib-append port:gcc44 320 337 } 321 338 322 variant gcc45 conflicts gcc44 description {Compile using MacPorts gcc 4.5} {339 variant gcc45 conflicts gcc44 gcc46 description {Compile using MacPorts gcc 4.5} { 323 340 configure.compiler macports-gcc-4.5 324 341 depends_lib-append port:gcc45 325 342 } 326 343 327 # Build issues 328 #variant gcc46 conflicts gcc44 gcc45 description {Compile using MacPorts gcc 4.6} { 329 # configure.compiler macports-gcc-4.6 330 # depends_lib-append port:gcc46 331 #} 344 variant gcc46 conflicts gcc44 gcc45 description {Compile using MacPorts gcc 4.6} { 345 configure.compiler macports-gcc-4.6 346 depends_lib-append port:gcc46 347 } 332 348 333 349 # Build issues. 334 350 # variant kerberos5 description {Builds port with kerberos5 support} {