source: trunk/dports/math/netgen/Portfile

Last change on this file was 143431, checked in by devans@…, 22 months ago

netgen: add missing dependencies to fix build, set svn properties on Portfile.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 143431 2015-12-12 14:56:31Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           compilers 1.0
6
7name                netgen
8version             5.3.1
9set branch          [join [lrange [split ${version} .] 0 1] .]
10revision            1
11platforms           darwin
12categories          math
13license             LGPL-2
14maintainers         nomaintainer
15description         NETGEN is an automatic 3d tetrahedral mesh generator
16long_description    ${description}. It accepts input from constructive \
17                    solid geometry (CSG) or boundary representation (BRep) \
18                    from STL file format. The connection to a geometry kernel \
19                    allows the handling of IGES and STEP files. NETGEN contains \
20                    modules for mesh optimization and hierarchical mesh \
21                    refinement.
22
23homepage            http://www.hpfem.jku.at/netgen/
24master_sites        sourceforge:project/netgen-mesher/netgen-mesher/${branch}/
25
26checksums           rmd160  1516ded2576a1ff31bc848e3af966aa444cb84ea \
27                    sha256  cb97f79d8f4d55c00506ab334867285cde10873c8a8dc783522b47d2bc128bf9
28
29compilers.choose    cc cxx
30compilers.setup
31
32depends_lib         port:tcl port:tk port:tix port:Togl port:mesa port:libGLU
33
34patchfiles          patch-ng-ng.tcl.diff
35
36configure.args      --mandir=${prefix}/share/man \
37                    --with-tcl=${prefix}/lib \
38                    --with-tk=${prefix}/lib \
39                    --disable-shared
40
41# there do not seem to be any tests include with this port. 'make check' does nothing.
42
43# Other options that could be considered here:
44#--enable-occ            compile with OpenCascade geometry kernel
45#--enable-nglib          generate shared library nglib
46#--enable-parallel       enable mpi parallelization
47#--enable-jpeglib        enable snapshots using library libjpeg
48#--enable-ffmpeg         enable video recording with FFmpeg, uses libavcodec
49#--enable-mkl            link Intel's mkl library, necessary for ngsolve and mkl 11.x
50#
51#Optional Packages:
52#--with-occ=dir          use OpenCascade installed in directory dir
53#--with-togl=dir         directory containing libTogl1.7
54#--with-metis=dir        path to metis 5.x
Note: See TracBrowser for help on using the repository browser.