1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup compilers 1.0 |
---|
6 | |
---|
7 | compilers.setup |
---|
8 | |
---|
9 | name ngsolve |
---|
10 | version 5.1 |
---|
11 | platforms darwin |
---|
12 | categories math |
---|
13 | license LGPL-2 |
---|
14 | maintainers nomaintainer |
---|
15 | description NGSolve Finite Element Library |
---|
16 | long_description NGSolve is a general purpose Finite Element Library \ |
---|
17 | on top of Netgen. With the basic library one can solve \ |
---|
18 | heat flow equations, Maxwell equations, and solid \ |
---|
19 | mechanical problems. Several add-ons are available for \ |
---|
20 | particular application classes. |
---|
21 | |
---|
22 | homepage http://sourceforge.net/apps/mediawiki/ngsolve/ |
---|
23 | master_sites sourceforge:ngsolve |
---|
24 | |
---|
25 | checksums rmd160 0e0638b91b81fa1d6dbf7baf76794b225b6b7f8c \ |
---|
26 | sha256 5c3a035345cdcf526c1b6b3f1ec12b37a3c856c82c8d31e22ef87d1477f2eb82 |
---|
27 | |
---|
28 | depends_lib port:tcl port:tk port:tix port:Togl port:netgen |
---|
29 | |
---|
30 | # configure.ldflags-append -lcblas -lf77blas -latlas -llapack -lgfortran |
---|
31 | configure.ldflags-append -lnglib -linterface -lgeom2d -lmesh -lstl -lcsg -lcsgvis -lz |
---|
32 | |
---|
33 | configure.args --mandir=${prefix}/share/man \ |
---|
34 | --with-tcl=${prefix}/lib \ |
---|
35 | --with-netgen=${prefix} \ |
---|
36 | --disable-shared \ |
---|
37 | --with-lapack="-framework Accelerate" |
---|
38 | |
---|
39 | patchfiles patch-l2hofe-template.diff \ |
---|
40 | patch-extern-netgen.diff |
---|
41 | |
---|
42 | test.run yes |
---|
43 | test.target test |
---|
44 | |
---|
45 | post-destroot { |
---|
46 | reinplace -W ${destroot}${prefix}/bin "s,libngsolve,${prefix}/lib/libngsolve,g" ngsolve.tcl |
---|
47 | delete ${destroot}${prefix}/include/clapack.h |
---|
48 | } |
---|