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 | |
---|
6 | name terra |
---|
7 | version 0.7 |
---|
8 | |
---|
9 | categories gis science |
---|
10 | maintainers gmail.com:tlockhart1976 openmaintainer |
---|
11 | |
---|
12 | description Generate polygonal approximations of terrains and other height fields. |
---|
13 | |
---|
14 | long_description \ |
---|
15 | Generate polygonal approximations of terrains and other height fields. \ |
---|
16 | Terra is based on algorithms described in: \ |
---|
17 | Fast Polygonal Approximation of Terrains and Height Fields \ |
---|
18 | by Michael Garland and Paul Heckbert (Technical Report CMU-CS-95-181). |
---|
19 | |
---|
20 | license Public Domain |
---|
21 | platforms darwin |
---|
22 | |
---|
23 | homepage http://mgarland.org/software/scape.html |
---|
24 | master_sites http://mgarland.org/dist/ |
---|
25 | |
---|
26 | checksums rmd160 885639282ffe5244f5289ef3f453390c8acdb30f \ |
---|
27 | sha256 22470e13e1f0659d23dbf7e0ecbfd8f6490bcd1d0a953537c1dfec18f4df3bd7 |
---|
28 | |
---|
29 | depends_lib port:freeglut |
---|
30 | |
---|
31 | worksrcdir ${name} |
---|
32 | patch.pre_args -p1 |
---|
33 | patchfiles patch-compiler.diff patch-opengl.diff |
---|
34 | use_configure no |
---|
35 | |
---|
36 | destroot { |
---|
37 | xinstall -m 755 ${worksrcpath}/terra ${destroot}${prefix}/bin/terra |
---|
38 | xinstall -m 755 ${worksrcpath}/xterra ${destroot}${prefix}/bin/xterra |
---|
39 | |
---|
40 | # documentation |
---|
41 | xinstall -m 755 -d ${destroot}${prefix}/share/${name} |
---|
42 | xinstall -m 644 ${worksrcpath}/README.html ${destroot}${prefix}/share/${name} |
---|
43 | xinstall -m 644 ${worksrcpath}/crater.pgm ${destroot}${prefix}/share/${name} |
---|
44 | } |
---|