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 | PortSystem 1.0 |
---|
4 | PortGroup cmake 1.0 |
---|
5 | |
---|
6 | name gmsh |
---|
7 | conflicts gmsh-devel |
---|
8 | version 3.0.6 |
---|
9 | categories science |
---|
10 | platforms darwin |
---|
11 | license GPL-2+ |
---|
12 | maintainers nomaintainer |
---|
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 | distname gmsh-${version}-source |
---|
24 | extract.suffix .tgz |
---|
25 | |
---|
26 | checksums rmd160 b81978ff2e32b0cf99aa810912773c37156937d4 \ |
---|
27 | sha256 9700bcc440d7a6b16a49cbfcdcdc31db33efe60e1f5113774316b6fa4186987b |
---|
28 | |
---|
29 | patchfiles patch-CMakeLists.txt.diff |
---|
30 | |
---|
31 | cmake.out_of_source yes |
---|
32 | build.post_args |
---|
33 | |
---|
34 | configure.args-append \ |
---|
35 | -DENABLE_BUILD_SHARED=ON \ |
---|
36 | -DENABLE_OS_SPECIFIC_INSTALL=OFF \ |
---|
37 | -DENABLE_NATIVE_FILE_CHOOSER=ON \ |
---|
38 | -DENABLE_OCC=OFF \ |
---|
39 | -DENABLE_FLTK=ON \ |
---|
40 | -DENABLE_GRAPHICS=ON \ |
---|
41 | -DENABLE_METIS=OFF \ |
---|
42 | -DENABLE_TAUCS=OFF \ |
---|
43 | -DCMAKE_VERBOSE_MAKEFILE=OFF |
---|
44 | |
---|
45 | depends_lib \ |
---|
46 | path:lib/libfltk.dylib:fltk \ |
---|
47 | port:gmp \ |
---|
48 | port:libpng \ |
---|
49 | port:jpeg \ |
---|
50 | port:texinfo \ |
---|
51 | port:zlib |
---|
52 | |
---|
53 | variant mesa description {Build with experimental OSMesa support} { |
---|
54 | depends_lib-append \ |
---|
55 | port:mesa |
---|
56 | |
---|
57 | configure.args-append \ |
---|
58 | -DENABLE_OSMESA=ON |
---|
59 | } |
---|
60 | |
---|
61 | subport gmsh-devel { |
---|
62 | conflicts gmsh |
---|
63 | |
---|
64 | fetch.type svn |
---|
65 | fetch.user gmsh |
---|
66 | fetch.password gmsh |
---|
67 | svn.url https://geuz.org/svn/gmsh/trunk |
---|
68 | svn.revision 18724 |
---|
69 | version 2.8.4.${svn.revision} |
---|
70 | svn.method export |
---|
71 | svn.post_args --username ${fetch.user} --password ${fetch.password} |
---|
72 | worksrcdir trunk |
---|
73 | } |
---|