# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name apbs-mpi version 1.3.0 set branch [join [lrange [split ${version} .] 0 1] .] categories science maintainers bromo.med.uc.edu:howarth description APBS mpi version long_description APBS is a software package for the numerical solution \ of the Poisson-Boltzmann equation, a popular continuum \ model for describing electrostatic interactions between \ molecular solutes over a wide range of length scales. homepage http://apbs.sourceforge.net/ platforms darwin master_sites sourceforge master_sites.mirror_subdir apbs distname apbs-${branch}-source checksums md5 f99a505365f07f6853979cfe2ef23365 \ sha1 1494f36e35f2e4b1a18d4b22516fad4948c6391f depends_lib port:gcc45 \ port:readline \ port:openmpi depends_run port:apbs use_parallel_build no build.target-delete all configure.env F77=openmpif77 configure.cc openmpicc configure.cxx openmpicxx configure.cflags -O3 configure.args --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" -with-openmpi=${prefix} post-patch { reinplace "s|include/mpi.h|include/openmpi/mpi.h|g" ${worksrcpath}/configure } destroot { file mkdir ${destroot}${prefix}/bin copy ${worksrcpath}/bin/apbs ${destroot}${prefix}/bin/apbs-mpi file mkdir ${destroot}${prefix}/share/apbs-mpi system "cd ${worksrcpath}; cp -r examples tools doc ${destroot}${prefix}/share/apbs-mpi" }