source: trunk/dports/science/gmsh/Portfile

Last change on this file was 134173, checked in by larryv@…, 3 years ago

gmsh: Build out-of-source (#47197)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
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# $Id: Portfile 134173 2015-03-19 17:02:40Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                gmsh
8conflicts           gmsh-devel
9version             2.8.4
10categories          science
11platforms           darwin
12license             GPL-2+
13maintainers         nomaintainer
14description         Finite element mesh generator in 1D, 2D and 3D
15long_description    \
16        Gmsh is an automatic 3D finite element mesh generator (primarily   \
17        Delaunay) with build-in CAD and post-processing facilities. Its     \
18        design goal is to provide a simple meshing tool for academic test   \
19        cases with parametric input and up to date visualization            \
20        capabilities.
21
22homepage            http://www.geuz.org/gmsh/
23master_sites        http://www.geuz.org/gmsh/src/
24distname            gmsh-${version}-source
25extract.suffix      .tgz
26
27checksums           rmd160  d71b848eb36f079c7b11f3f88b19748436b3a340 \
28                    sha256  199e27cba3258976eddfd7767560ec52382702076bca5d4bcf067124e6f6624b
29
30patchfiles          patch-CMakeLists.txt.diff
31
32cmake.out_of_source yes
33
34configure.args-append \
35    -DENABLE_OS_SPECIFIC_INSTALL=OFF \
36    -DENABLE_NATIVE_FILE_CHOOSER=OFF \
37    -DENABLE_OCC=OFF \
38    -DENABLE_FLTK=ON \
39    -DENABLE_GRAPHICS=ON \
40    -DENABLE_APP_BUNDLE=OFF \
41    -DENABLE_METIS=OFF \
42    -DENABLE_TAUCS=OFF
43
44depends_lib  \
45    path:lib/libfltk.dylib:fltk \
46    port:libpng \
47    port:jpeg \
48    port:mesa \
49    port:texinfo \
50    port:zlib
51
52subport gmsh-devel {
53    conflicts           gmsh
54
55    fetch.type          svn
56    fetch.user          gmsh
57    fetch.password      gmsh
58    svn.url             https://geuz.org/svn/gmsh/trunk
59    svn.revision        18724
60    version             2.8.4.${svn.revision}
61    svn.method          export
62    svn.post_args       --username ${fetch.user} --password ${fetch.password}
63    worksrcdir          trunk
64}
Note: See TracBrowser for help on using the repository browser.