Ticket #39701: root.diff
File root.diff, 3.2 KB (added by cjones051073 (Chris Jones), 11 years ago) |
---|
-
science/root/Portfile
old new 5 5 6 6 name root 7 7 version 5.34.09 8 revision 1 8 9 categories science 9 10 maintainers gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc 10 11 license LGPL-2.1+ … … 113 114 114 115 default_variants +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion 115 116 117 post-destroot { 118 reinplace "s|lib/python/genreflex|lib/root/python/genreflex|g" ${destroot}${prefix}/bin/genreflex 119 } 120 116 121 variant xrootd description {Build with XRootD support} { 117 122 configure.args-delete --disable-xrootd 118 123 configure.args-append --enable-xrootd \ … … 213 218 set mypysitedir ${mypylibdir}/site-packages/ 214 219 file mkdir ${destroot}${mypysitedir} 215 220 foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${destroot}${mypysitedir} } 216 move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${mypysitedir}217 reinplace "s|/opt/local/lib/root|${mypysitedir}|g" ${destroot}${prefix}/bin/genreflex218 reinplace "s|python/genreflex/genreflex.py|genreflex/genreflex.py|g" ${destroot}${prefix}/bin/genreflex219 221 ln -sf ${prefix}/lib/root/libPyROOT.so ${destroot}${mypylibdir}/ 220 222 } 221 223 } … … 232 234 set mypysitedir ${mypylibdir}/site-packages/ 233 235 file mkdir ${destroot}${mypysitedir} 234 236 foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${destroot}${mypysitedir} } 235 move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${mypysitedir}236 reinplace "s|/opt/local/lib/root|${mypysitedir}|g" ${destroot}${prefix}/bin/genreflex237 reinplace "s|python/genreflex/genreflex.py|genreflex/genreflex.py|g" ${destroot}${prefix}/bin/genreflex238 237 ln -sf ${prefix}/lib/root/libPyROOT.so ${destroot}${mypylibdir}/ 239 238 } 240 239 } … … 249 248 set mypysitedir ${mypylibdir}/site-packages/ 250 249 file mkdir ${destroot}${mypysitedir} 251 250 foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${destroot}${mypysitedir} } 252 move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${mypysitedir}253 reinplace "s|/opt/local/lib/root|${mypysitedir}|g" ${destroot}${prefix}/bin/genreflex254 reinplace "s|python/genreflex/genreflex.py|genreflex/genreflex.py|g" ${destroot}${prefix}/bin/genreflex255 251 ln -sf ${prefix}/lib/root/libPyROOT.so ${destroot}${mypylibdir}/ 256 252 } 257 253 } … … 268 264 set mypysitedir ${mypylibdir}/site-packages/ 269 265 file mkdir ${destroot}${mypysitedir} 270 266 foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${destroot}${mypysitedir} } 271 move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${mypysitedir}272 reinplace "s|/opt/local/lib/root|${mypysitedir}|g" ${destroot}${prefix}/bin/genreflex273 reinplace "s|python/genreflex/genreflex.py|genreflex/genreflex.py|g" ${destroot}${prefix}/bin/genreflex274 267 ln -sf ${prefix}/lib/root/libPyROOT.so ${destroot}${mypylibdir}/ 275 268 } 276 269 }