112 | | variant kerberos5 description {Builds port with kerberos5 support} { |
113 | | configure.args-delete --disable-krb5 |
114 | | configure.args-append --enable-krb5 \ |
115 | | --with-krb5-incdir="${prefix}/include/" \ |
116 | | --with-krb5-libdir="${prefix}/lib" |
117 | | depends_lib-append port:kerberos5 |
118 | | } |
| 110 | # Build issues. Under discussion with ROOT team. |
| 111 | # variant kerberos5 description {Builds port with kerberos5 support} { |
| 112 | # configure.args-delete --disable-krb5 |
| 113 | # configure.args-append --enable-krb5 \ |
| 114 | # --with-krb5-incdir="${prefix}/include" \ |
| 115 | # --with-krb5-libdir="${prefix}/lib" |
| 116 | # depends_lib-append port:kerberos5 |
| 117 | # } |
159 | | file mkdir ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ |
160 | | move ${destroot}${prefix}/lib/root/ROOT.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ |
161 | | move ${destroot}${prefix}/lib/root/ROOT.pyc ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ |
162 | | move ${destroot}${prefix}/lib/root/ROOT.pyo ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ |
163 | | move ${destroot}${prefix}/lib/root/ROOTwriter.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ |
164 | | move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ |
165 | | move ${destroot}${prefix}/lib/root/writer.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ |
| 156 | set mypysitedir ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ |
| 157 | file mkdir ${mypysitedir} |
| 158 | foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${mypysitedir} } |
| 159 | move ${destroot}${prefix}/lib/root/python/genreflex ${mypysitedir} |
177 | | file mkdir ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ |
178 | | move ${destroot}${prefix}/lib/root/ROOT.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ |
179 | | move ${destroot}${prefix}/lib/root/ROOT.pyc ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ |
180 | | move ${destroot}${prefix}/lib/root/ROOT.pyo ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ |
181 | | move ${destroot}${prefix}/lib/root/ROOTwriter.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ |
182 | | move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ |
183 | | move ${destroot}${prefix}/lib/root/writer.py ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ |
| 169 | set mypysitedir ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ |
| 170 | file mkdir ${mypysitedir} |
| 171 | foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${mypysitedir} } |
| 172 | move ${destroot}${prefix}/lib/root/python/genreflex ${mypysitedir} |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | variant python31 conflicts python27 python26 description {Builds port with python 3.1 support} { |
| 177 | set mypydir ${prefix}/Library/Frameworks/Python.framework/Versions/3.1 |
| 178 | configure.args-delete --disable-python |
| 179 | configure.args-append --enable-python --with-python-incdir="${mypydir}/Headers" --with-python-libdir="${mypydir}" |
| 180 | depends_lib-append port:python31 |
| 181 | post-destroot { |
| 182 | set mypysitedir ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-packages/ |
| 183 | file mkdir ${mypysitedir} |
| 184 | foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${mypysitedir} } |
| 185 | move ${destroot}${prefix}/lib/root/python/genreflex ${mypysitedir} |