Ticket #55317: Portfile

File Portfile, 2.2 KB (added by seanfarley (Sean Farley), 6 years ago)

update to 3.0.6 -- errors with linking

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
3PortSystem          1.0
4PortGroup           cmake 1.0
5
6name                gmsh
7conflicts           gmsh-devel
8version             3.0.6
9categories          science
10platforms           darwin
11license             GPL-2+
12maintainers         nomaintainer
13description         Finite element mesh generator in 1D, 2D and 3D
14long_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
21homepage            http://www.geuz.org/gmsh/
22master_sites        http://www.geuz.org/gmsh/src/
23distname            gmsh-${version}-source
24extract.suffix      .tgz
25
26checksums           rmd160  b81978ff2e32b0cf99aa810912773c37156937d4 \
27                    sha256  9700bcc440d7a6b16a49cbfcdcdc31db33efe60e1f5113774316b6fa4186987b
28
29patchfiles          patch-CMakeLists.txt.diff
30
31cmake.out_of_source yes
32build.post_args
33
34configure.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
45depends_lib  \
46    path:lib/libfltk.dylib:fltk \
47    port:gmp \
48    port:libpng \
49    port:jpeg \
50    port:texinfo \
51    port:zlib
52
53variant 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
61subport 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}