source: trunk/dports/science/gerris/Portfile

Last change on this file was 115603, checked in by jmr@…, 4 years ago

gerris: disable parallel build

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1# $Id: Portfile 115603 2014-01-06 19:10:43Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            gerris
6version         0.9.2
7categories      science
8license         GPL-2+
9platforms       darwin
10maintainers     nomaintainer
11description     The Gerris Flow Solver
12long_description        \
13                Gerris is an Open Source Free Software library          \
14                for the solution of the partial differential            \
15                equations describing fluid flow.
16
17homepage        http://gfs.sourceforge.net/
18master_sites    sourceforge:gfs
19
20checksums       md5 94e0fe2089052a3e6c689f85148388bc
21
22depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2    \
23                port:gts
24
25patchfiles      patch-Makefile.in
26
27use_parallel_build      no
28
29post-destroot   { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
30                  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples/boussinesq
31                  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples/cylinder
32                  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples/cylinder/heated
33                  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples/rt
34                  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples/shear
35
36                  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/faq
37                  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/html
38                  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/tutorial
39
40                  xinstall -m 644 ${worksrcpath}/doc/examples/boussinesq/boussinesq.gfs ${destroot}${prefix}/share/doc/${name}/examples/boussinesq/
41                  xinstall -m 644 ${worksrcpath}/doc/examples/boussinesq/boussinesq.gfv ${destroot}${prefix}/share/doc/${name}/examples/boussinesq/
42                  xinstall -m 644 ${worksrcpath}/doc/examples/boussinesq/cylinder.gts ${destroot}${prefix}/share/doc/${name}/examples/boussinesq/
43
44                  xinstall -m 644 ${worksrcpath}/doc/examples/cylinder/cylinder.gfs ${destroot}${prefix}/share/doc/${name}/examples/cylinder/
45                  xinstall -m 644 ${worksrcpath}/doc/examples/cylinder/cylinder.gts ${destroot}${prefix}/share/doc/${name}/examples/cylinder/
46                  xinstall -m 644 ${worksrcpath}/doc/examples/cylinder/heated/heated.gfs ${destroot}${prefix}/share/doc/${name}/examples/cylinder/heated/
47
48                  xinstall -m 644 ${worksrcpath}/doc/examples/shear/shear.gfs ${destroot}${prefix}/share/doc/${name}/examples/shear/
49                  xinstall -m 644 ${worksrcpath}/doc/examples/shear/circle.gts ${destroot}${prefix}/share/doc/${name}/examples/shear/
50
51                  xinstall -m 644 ${worksrcpath}/doc/examples/rt/rt.gfs ${destroot}${prefix}/share/doc/${name}/examples/rt/
52                  xinstall -m 644 ${worksrcpath}/doc/examples/rt/rt.gfv ${destroot}${prefix}/share/doc/${name}/examples/rt/
53
54                  xinstall -m 644 ${worksrcpath}/doc/faq/faq.pdf     ${destroot}${prefix}/share/doc/${name}/faq/
55
56                  foreach fn [ glob ${worksrcpath}/doc/html/* ] {
57                        xinstall -m 644 ${fn} ${destroot}${prefix}/share/doc/${name}/html/
58                  }
59
60                  xinstall -m 644 ${worksrcpath}/doc/tutorial/tutorial.pdf ${destroot}${prefix}/share/doc/${name}/tutorial/
61                  xinstall -m 644 ${worksrcpath}/doc/tutorial/half-cylinder.gts ${destroot}${prefix}/share/doc/${name}/tutorial/
62                  xinstall -m 644 ${worksrcpath}/doc/tutorial/gfs2D.net ${destroot}${prefix}/share/doc/${name}/tutorial/
63                }
Note: See TracBrowser for help on using the repository browser.