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 | |
---|
3 | # $Id$ |
---|
4 | |
---|
5 | PortSystem 1.0 |
---|
6 | PortGroup cmake 1.0 |
---|
7 | |
---|
8 | name gmsh |
---|
9 | version 2.5.0 |
---|
10 | categories science |
---|
11 | platforms macosx darwin freebsd |
---|
12 | maintainers ujf-grenoble.fr:Christophe.Prudhomme |
---|
13 | description Finite element mesh generator in 1D, 2D and 3D |
---|
14 | long_description \ |
---|
15 | Gmsh is an automatic 3D finite element mesh generator (primarily \ |
---|
16 | Delaunay) with build-in CAD and post-processing facilities. Its \ |
---|
17 | design goal is to provide a simple meshing tool for academic test \ |
---|
18 | cases with parametric input and up to date visualization \ |
---|
19 | capabilities. |
---|
20 | |
---|
21 | homepage http://www.geuz.org/gmsh/ |
---|
22 | master_sites http://www.geuz.org/gmsh/src/ |
---|
23 | distfiles gmsh-2.5.0-source.tgz |
---|
24 | |
---|
25 | checksums \ |
---|
26 | sha1 b541fd9f1aadf1df7bf6fdd97a68ca41966ffeb6 \ |
---|
27 | rmd160 49ab2054d546e4549250119cec0453cd1cdfffef |
---|
28 | |
---|
29 | patchfiles patch-cmakelists.diff |
---|
30 | |
---|
31 | worksrcdir ${name}-${version}-source |
---|
32 | #configure { system "mkdir -p ${worksrcpath} && cd ${worksrcpath} && cmake ${configure.args} ../" } |
---|
33 | |
---|
34 | configure.args-append \ |
---|
35 | -DENABLE_NATIVE_FILE_CHOOSER:BOOL=OFF\ |
---|
36 | -DENABLE_OCC:BOOL=OFF \ |
---|
37 | -DENABLE_FLTK:BOOL=ON\ |
---|
38 | -DENABLE_GRAPHICS:BOOL=ON |
---|
39 | |
---|
40 | # -DENABLE_CGNS:BOOL=ON |
---|
41 | # -DENABLE_MPI:BOOL=ON\ |
---|
42 | # -DMPI_COMPILER=/opt/local/lib/openmpi/bin/mpic++\ |
---|
43 | # -DMPI_LIBRARY="MPI_LIBRARY-NOTFOUND"\ |
---|
44 | |
---|
45 | #configure.args \ |
---|
46 | # -DCMAKE_INSTALL_PREFIX=/opt/local \ |
---|
47 | # -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON \ |
---|
48 | # -DENABLE_NATIVE_FILE_CHOOSER:BOOL=OFF\ |
---|
49 | # -DENABLE_OCC:BOOL=OFF \ |
---|
50 | # -DENABLE_FLTK:BOOL=OFF\ |
---|
51 | # -DENABLE_GRAPHICS:BOOL=ON\ |
---|
52 | # -DENABLE_CGNS:BOOL=ON |
---|
53 | |
---|
54 | post-build { |
---|
55 | # lib and shared targets are not handled by default target |
---|
56 | system "cd ${worksrcpath} && make lib shared" |
---|
57 | } |
---|
58 | |
---|
59 | depends_lib \ |
---|
60 | port:mesa \ |
---|
61 | port:libpng \ |
---|
62 | port:fltk-devel\ |
---|
63 | port:jpeg \ |
---|
64 | port:zlib \ |
---|
65 | port:texinfo |
---|
66 | |
---|
67 | # port:cgnslib |
---|
68 | |
---|
69 | |
---|
70 | |
---|