source: trunk/dports/science/gerris/Portfile @ 38077

Last change on this file since 38077 was 38077, checked in by ryandesign@…, 11 years ago

In all openmaintainer and nomaintainer ports and my ports, depend on glib2 via a path in ${prefix} so that either glib2 or glib2-devel can satisfy the dependency

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