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 cmake 1.0 |
---|
6 | |
---|
7 | name gmsh |
---|
8 | version 2.5.1~beta2~svn11845 |
---|
9 | categories science |
---|
10 | platforms darwin |
---|
11 | maintainers ujf-grenoble.fr:Christophe.Prudhomme |
---|
12 | description Finite element mesh generator in 1D, 2D and 3D |
---|
13 | long_description \ |
---|
14 | Gmsh is an automatic 3D finite element mesh generator (primarily \ |
---|
15 | Delaunay) with build-in CAD and post-processing facilities. Its \ |
---|
16 | design goal is to provide a simple meshing tool for academic test \ |
---|
17 | cases with parametric input and up to date visualization \ |
---|
18 | capabilities. |
---|
19 | |
---|
20 | homepage http://www.geuz.org/gmsh/ |
---|
21 | master_sites http://ftp.de.debian.org/debian/pool/main/g/gmsh/ |
---|
22 | #distname gmsh-nightly-source |
---|
23 | distname gmsh_2.5.1~beta2~svn11845~dfsg.orig |
---|
24 | extract.suffix .tar.xz |
---|
25 | worksrcdir gmsh-2.5.1~beta2~svn11845~dfsg |
---|
26 | |
---|
27 | checksums \ |
---|
28 | sha1 b1d005841ed72a30ccf5077bdd79f289f87dd261\ |
---|
29 | rmd160 9ef320a0e737060982c3fcdc40fdfeaae2a0c1c1 |
---|
30 | |
---|
31 | extract.cmd xz |
---|
32 | |
---|
33 | # https://trac.macports.org/ticket/33925 |
---|
34 | if {${configure.compiler} == "clang"} { |
---|
35 | configure.compiler llvm-gcc-4.2 |
---|
36 | } |
---|
37 | |
---|
38 | configure.args-append \ |
---|
39 | -DENABLE_NATIVE_FILE_CHOOSER:BOOL=OFF\ |
---|
40 | -DENABLE_OCC:BOOL=OFF \ |
---|
41 | -DENABLE_FLTK:BOOL=ON\ |
---|
42 | -DENABLE_GRAPHICS:BOOL=ON\ |
---|
43 | -DENABLE_APP_BUNDLE=OFF \ |
---|
44 | -DENABLE_METIS=OFF \ |
---|
45 | -DENABLE_TAUCS=OFF |
---|
46 | |
---|
47 | post-build { |
---|
48 | # lib and shared targets are not handled by default target |
---|
49 | system "cd ${worksrcpath} && make lib shared" |
---|
50 | } |
---|
51 | |
---|
52 | depends_lib \ |
---|
53 | port:mesa \ |
---|
54 | port:libpng \ |
---|
55 | port:fltk-devel\ |
---|
56 | port:jpeg \ |
---|
57 | port:zlib \ |
---|
58 | port:texinfo |
---|