# -*- 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: Portfile 144260 2016-01-05 18:27:38Z dstrubbe@macports.org $ PortSystem 1.0 PortGroup compilers 1.0 name ngsolve version 5.1 platforms darwin categories math license LGPL-2 maintainers nomaintainer description NGSolve Finite Element Library long_description NGSolve is a general purpose Finite Element Library \ on top of Netgen. With the basic library one can solve \ heat flow equations, Maxwell equations, and solid \ mechanical problems. Several add-ons are available for \ particular application classes. homepage http://sourceforge.net/apps/mediawiki/ngsolve/ master_sites sourceforge:project/ngsolve/ngsolve/${version}/ checksums rmd160 0e0638b91b81fa1d6dbf7baf76794b225b6b7f8c \ sha256 5c3a035345cdcf526c1b6b3f1ec12b37a3c856c82c8d31e22ef87d1477f2eb82 compilers.setup depends_lib port:tcl port:tk port:tix port:Togl port:netgen # configure.ldflags-append -lcblas -lf77blas -latlas -llapack -lgfortran configure.ldflags-append -lnglib -linterface -lgeom2d -lmesh -lstl -lcsg -lcsgvis -lz configure.args --mandir=${prefix}/share/man \ --with-tcl=${prefix}/lib \ --with-netgen=${prefix} \ --disable-shared \ --with-lapack="-framework Accelerate" patchfiles patch-l2hofe-template.diff \ patch-extern-netgen.diff test.run yes test.target test post-destroot { reinplace -W ${destroot}${prefix}/bin "s,libngsolve,${prefix}/lib/libngsolve,g" ngsolve.tcl delete ${destroot}${prefix}/include/clapack.h }