Ticket #27906: Portfile.diff

File Portfile.diff, 1.9 KB (added by howarth@…, 13 years ago)

Portfile changes for apbs-1.3.0

  • Portfile

    old new  
    55PortGroup           python26 1.0
    66
    77name                apbs
    8 version             1.2.0
     8version             1.3.0
    99revision            1
    1010set branch          [join [lrange [split ${version} .] 0 1] .]
    1111categories          science
     
    2222master_sites        sourceforge
    2323distname            apbs-${branch}-source
    2424
    25 checksums           md5     ba32bb323b25307204436eaac1ff877b \
    26                     sha1    43e766a8c6166288c25229e0615a72dca5e8a3b5 \
    27                     rmd160  62cb82da9ca5276c3d7127a4d1f9737747dac315
     25checksums           md5     f99a505365f07f6853979cfe2ef23365 \
     26                    sha1    1494f36e35f2e4b1a18d4b22516fad4948c6391f \
     27                    rmd160  c075a747dc28f382f3a383a0944a1b20e0c8a9f1
    2828
    29 depends_lib         port:gcc44 \
     29depends_lib         port:gcc45 \
    3030                    port:readline \
    3131                    port:py26-zsi
    3232patchfiles          apbs.diff
     
    3737
    3838build.cmd           make
    3939build.target        all
    40 configure.env       py_path=${python.bin} F77=gfortran-mp-4.4
     40configure.env       py_path=${python.bin} F77=gfortran-mp-4.5
    4141configure.args      --enable-python --with-python=${python.bin} --with-blas="-L/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A -lblas -Wl,-framework -Wl,vecLib -Wl,-undefined -Wl,dynamic_lookup" FFLAGS="-O3"
    4242
    4343post-patch {
    4444    reinplace  "s|@PYTHON_PKGD@|${python.pkgd}|g" ${worksrcpath}/configure
    4545    reinplace  "s|/usr/bin/python|${python.bin}|g" ${worksrcpath}/bin/ApbsClient.py.in
    46     reinplace  "s|/usr/local/apbs-1.1.0|${prefix}|g" ${worksrcpath}/bin/ApbsClient.py.in
     46    reinplace  "s|/usr/local/apbs-1.3.0|${prefix}|g" ${worksrcpath}/bin/ApbsClient.py.in
    4747    reinplace  "s|python2.5|python2.6|g" ${worksrcpath}/bin/ApbsClient.py.in
    4848}
    4949