Ticket #27910: pdb2pqr-ryandesign.diff
File pdb2pqr-ryandesign.diff, 2.2 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
Portfile
5 5 PortGroup python26 1.0 6 6 7 7 name pdb2pqr 8 version 1. 58 version 1.7 9 9 categories science 10 10 maintainers bromo.med.uc.edu:howarth 11 11 description automate Poisson-Boltzmann electrostatics calculations … … 16 16 homepage http://pdb2pqr.sourceforge.net/ 17 17 platforms darwin 18 18 master_sites sourceforge 19 checksums md5 942d08e17b3987f756e3085f6ce83fbe\20 sha1 5249064cf4ebfb2291a382121ecea4d457e65e6a\21 rmd160 543545513811bae058e23cfe1f24e02eaa094b8719 checksums md5 058622cb2ca6ca12af04d4f11b272951 \ 20 sha1 df2bf4303dbc64b69a20d48331386d8c08c234f1 \ 21 rmd160 df95763ab1be44b14f07d351eb6d79f1153043d4 22 22 use_parallel_build no 23 23 use_configure yes 24 24 build.cmd make 25 25 build.target all 26 depends_lib port:gcc4 4\26 depends_lib port:gcc45 \ 27 27 port:py26-numeric 28 28 post-patch { 29 reinplace "s|fort xlf95 lf95 g95|gfortran-mp-4. 4|g" ${worksrcpath}/propka/configure30 reinplace "s|/usr/bin/ python|${python.bin}|g" ${worksrcpath}/pdb2pka/pka.py \31 29 reinplace "s|fort xlf95 lf95 g95|gfortran-mp-4.5|g" ${worksrcpath}/propka/configure 30 reinplace "s|/usr/bin/env python|${python.bin}|g" ${worksrcpath}/pdb2pka/pka.py 31 reinplace "s|/usr/bin/python|${python.bin}|g" ${worksrcpath}/src/psize.py 32 32 reinplace "s|-Wl,-framework -Wl,Python -bundle|${python.lib} -bundle|g" \ 33 33 ${worksrcpath}/configure \ 34 34 ${worksrcpath}/propka/configure 35 35 delete ${worksrcpath}/contrib 36 36 } 37 37 configure.args --with-max-atoms="1000000" --without-url --with-python=${python.bin} \ 38 -with-f77=gfortran-mp-4. 438 -with-f77=gfortran-mp-4.5 39 39 destroot { 40 40 system "find ${worksrcpath} -name '*.o' -delete" 41 41 file mkdir ${destroot}${prefix}/share/{name}