Ticket #27906: Portfile.diff
File Portfile.diff, 1.9 KB (added by howarth@…, 14 years ago) |
---|
-
Portfile
old new 5 5 PortGroup python26 1.0 6 6 7 7 name apbs 8 version 1. 2.08 version 1.3.0 9 9 revision 1 10 10 set branch [join [lrange [split ${version} .] 0 1] .] 11 11 categories science … … 22 22 master_sites sourceforge 23 23 distname apbs-${branch}-source 24 24 25 checksums md5 ba32bb323b25307204436eaac1ff877b\26 sha1 43e766a8c6166288c25229e0615a72dca5e8a3b5\27 rmd160 62cb82da9ca5276c3d7127a4d1f9737747dac31525 checksums md5 f99a505365f07f6853979cfe2ef23365 \ 26 sha1 1494f36e35f2e4b1a18d4b22516fad4948c6391f \ 27 rmd160 c075a747dc28f382f3a383a0944a1b20e0c8a9f1 28 28 29 depends_lib port:gcc4 4\29 depends_lib port:gcc45 \ 30 30 port:readline \ 31 31 port:py26-zsi 32 32 patchfiles apbs.diff … … 37 37 38 38 build.cmd make 39 39 build.target all 40 configure.env py_path=${python.bin} F77=gfortran-mp-4. 440 configure.env py_path=${python.bin} F77=gfortran-mp-4.5 41 41 configure.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" 42 42 43 43 post-patch { 44 44 reinplace "s|@PYTHON_PKGD@|${python.pkgd}|g" ${worksrcpath}/configure 45 45 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.in46 reinplace "s|/usr/local/apbs-1.3.0|${prefix}|g" ${worksrcpath}/bin/ApbsClient.py.in 47 47 reinplace "s|python2.5|python2.6|g" ${worksrcpath}/bin/ApbsClient.py.in 48 48 } 49 49