source: trunk/dports/math/ngsolve/Portfile @ 120744

Last change on this file since 120744 was 120744, checked in by sean@…, 6 years ago

ngsolve: add new port; closes #42057

File size: 1.8 KB
Line 
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
4PortSystem          1.0
5PortGroup           compilers 1.0
6
7compilers.setup
8
9name                ngsolve
10version             5.1
11platforms           darwin
12categories          math
13license             LGPL-2
14maintainers         nomaintainer
15description         NGSolve Finite Element Library
16long_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
22homepage            http://sourceforge.net/apps/mediawiki/ngsolve/
23master_sites        sourceforge:ngsolve
24
25checksums           rmd160  0e0638b91b81fa1d6dbf7baf76794b225b6b7f8c \
26                    sha256  5c3a035345cdcf526c1b6b3f1ec12b37a3c856c82c8d31e22ef87d1477f2eb82
27
28depends_lib         port:tcl port:tk port:tix port:Togl port:netgen
29
30# configure.ldflags-append -lcblas -lf77blas -latlas -llapack -lgfortran
31configure.ldflags-append -lnglib -linterface -lgeom2d -lmesh -lstl -lcsg -lcsgvis -lz
32
33configure.args      --mandir=${prefix}/share/man \
34                    --with-tcl=${prefix}/lib \
35                    --with-netgen=${prefix} \
36                    --disable-shared \
37                    --with-lapack="-framework Accelerate"
38
39patchfiles          patch-l2hofe-template.diff \
40                    patch-extern-netgen.diff
41
42test.run            yes
43test.target         test
44
45post-destroot {
46    reinplace -W ${destroot}${prefix}/bin "s,libngsolve,${prefix}/lib/libngsolve,g" ngsolve.tcl
47    delete ${destroot}${prefix}/include/clapack.h
48}
Note: See TracBrowser for help on using the repository browser.