Ticket #33295: Portfile.diff

File Portfile.diff, 2.2 KB (added by howarth@…, 12 years ago)

Portfile diff to update pdb2pqr to the 1.8 release

  • Portfile

    old new  
    55PortGroup           python26 1.0
    66
    77name                pdb2pqr
    8 version             1.7
     8version             1.8
    99categories          science
    1010maintainers         bromo.med.uc.edu:howarth
    1111description         automate Poisson-Boltzmann electrostatics calculations
     
    1616homepage            http://pdb2pqr.sourceforge.net/
    1717platforms           darwin
    1818master_sites        sourceforge
    19 checksums           md5     058622cb2ca6ca12af04d4f11b272951 \
    20                     sha1    df2bf4303dbc64b69a20d48331386d8c08c234f1
     19checksums           md5     d34f8ee4690e1e25755f5c20e09883bb \
     20                    sha1    94d32c182587d887087b618b616a0f7a615fbdef
    2121use_parallel_build  no
    2222use_configure       yes
    2323build.cmd           make
    2424build.target        all
    2525depends_lib         port:gcc45 \
    26                     port:py26-numeric
     26                    port:py26-numpy
    2727post-patch {
    28     reinplace   "s|fort xlf95 lf95 g95|gfortran-mp-4.5|g" ${worksrcpath}/propka/configure
    2928    reinplace   "s|/usr/bin/env python|${python.bin}|g" ${worksrcpath}/pdb2pka/pka.py
    3029    reinplace   "s|/usr/bin/python|${python.bin}|g" ${worksrcpath}/src/psize.py
    3130    reinplace   "s|-Wl,-framework -Wl,Python -bundle|${python.lib}  -bundle|g" \
    32                                                     ${worksrcpath}/configure \
    33                                                     ${worksrcpath}/propka/configure
     31                                                    ${worksrcpath}/configure
    3432    delete      ${worksrcpath}/contrib
    3533}
    3634configure.args      --with-max-atoms="1000000" --without-url --with-python=${python.bin} \
     
    4240      system "echo '#!/bin/zsh -f' >| ${destroot}${prefix}/bin/pdb2pqr"
    4341      system "echo '${prefix}/share/${name}/pdb2pqr.py \"\$@\"' >> ${destroot}${prefix}/bin/pdb2pqr"
    4442      file attributes ${destroot}${prefix}/bin/pdb2pqr -permissions a+x
    45       system "echo '#!/bin/zsh -f' >| ${destroot}${prefix}/bin/propka"
    46       system "echo '${prefix}/share/${name}/propka/propka \"\$@\"' >> ${destroot}${prefix}/bin/propka"
    47       file attributes ${destroot}${prefix}/bin/propka -permissions a+x
    4843}