Ticket #55756: Portfile

File Portfile, 1.5 KB (added by ForTozs, 6 years ago)

Portfile

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           compilers 1.0
5
6name                sixs2
7version             2.1
8categories          gis
9license             GPL-3
10maintainers         @ForTozs openmaintainer
11
12description         6SV - Second Simulation of a Satellite Signal in the Solar \
13                    Spectrum vector code
14long_description    The 6S code is a basic RT code used for calculation of \
15                    lookup tables in the MODIS atmospheric correction \
16                    algorithm. It enables accurate simulations of satellite \
17                    and plane observation, accounting for elevated targets, \
18                    use of anisotropic and lambertian surfaces and calculation \
19                    of gaseous absorption
20
21platforms           darwin
22homepage            http://6s.ltdri.org
23master_sites        http://6s.ltdri.org/files/update/
24distname            6SV${version}
25extract.suffix      .tar
26extract.cmd         tar
27extract.pre_args    -xvf
28extract.post_args
29
30checksums           rmd160  a10952b0a27f123147fcda097760273ac41bebcf \
31                    sha256  42422db29c095a49eaa98556b416405eb818be1ee30139d2a1913dbf3b0c7de1
32
33extract.mkdir       yes
34compilers.choose    f77
35use_configure       no
36build.target
37
38destroot {
39    copy ${worksrcpath}/sixsV${version} ${destroot}/${prefix}/bin
40    copy ${worksrcpath}/sixsV${version}-lutaero ${destroot}/${prefix}/bin
41}