source: trunk/dports/math/ngsolve/Portfile

Last change on this file was 144260, checked in by dstrubbe@…, 21 months ago

multiple: Set missing svn:keywords property.

  • Property svn:keywords set to Id
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: Portfile 144260 2016-01-05 18:27:38Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           compilers 1.0
6
7name                ngsolve
8version             5.1
9platforms           darwin
10categories          math
11license             LGPL-2
12maintainers         nomaintainer
13description         NGSolve Finite Element Library
14long_description    NGSolve is a general purpose Finite Element Library \
15                    on top of Netgen. With the basic library one can solve \
16                    heat flow equations, Maxwell equations, and solid \
17                    mechanical problems. Several add-ons are available for \
18                    particular application classes.
19
20homepage            http://sourceforge.net/apps/mediawiki/ngsolve/
21master_sites        sourceforge:project/ngsolve/ngsolve/${version}/
22
23checksums           rmd160  0e0638b91b81fa1d6dbf7baf76794b225b6b7f8c \
24                    sha256  5c3a035345cdcf526c1b6b3f1ec12b37a3c856c82c8d31e22ef87d1477f2eb82
25
26compilers.setup
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.