Ticket #56373: Portfile.diff
File Portfile.diff, 1.3 KB (added by jwhowarth, 7 years ago) |
---|
-
Portfile
old new 7 7 8 8 name pymol 9 9 version 2.1.0 10 revision 1 10 11 categories science chemistry 11 12 license PSF 12 13 maintainers {gmail.com:howarth.at.macports @jwhowarth} openmaintainer … … 67 68 patchfiles pymol_shell.diff \ 68 69 pmg_tk_platform.patch \ 69 70 apbs-psize.patch \ 70 pdb2pqr.patch 71 pdb2pqr.patch \ 72 clang_opt_fix.diff 71 73 72 74 require_active_variants tcl "" corefoundation 73 75 require_active_variants tk "" quartz 74 76 75 77 post-patch { 76 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py ${worksrcpath}/modules/pmg_tk/startup/apbs_tools.py 78 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/modules/pmg_tk/startup/apbs_tools.py 79 reinplace "s|'/sw', '/opt/local'|'${prefix}'|g" ${worksrcpath}/setup.py 77 80 reinplace "s|@@PYTHON_PKGDIR@@|${python.pkgd}|g" ${worksrcpath}/setup/pymol_macports 78 81 reinplace "s|@@PYTHON_BINARY@@|${python.bin}|g" ${worksrcpath}/setup/pymol_macports 79 reinplace "s|\"-O3\",|\"-O3\", \"-g\",|g" ${worksrcpath}/setup.py80 82 reinplace "s|cxx + \' \' + cxxflags|\'${configure.cxx} \' + cxxflags|g" ${worksrcpath}/monkeypatch_distutils.py 81 83 } 82 84