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