1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name avt |
---|
6 | version 0.2 |
---|
7 | categories science |
---|
8 | platforms darwin linux |
---|
9 | license GPL-2+ |
---|
10 | revision 1 |
---|
11 | maintainers gmail.com:fernando.iazeolla |
---|
12 | description Aviation Tools (metar, taf, decode airline, geo info) |
---|
13 | long_description \ |
---|
14 | Aviation Tools: \ |
---|
15 | * gets metar \ |
---|
16 | * gets taf \ |
---|
17 | * decode iata / icao airports \ |
---|
18 | * gets sunrise / sunset \ |
---|
19 | * gets geo info \ |
---|
20 | * decode airline codes \ |
---|
21 | * decode aircraft tail codes \ |
---|
22 | * decode aircraft names \ |
---|
23 | |
---|
24 | homepage http://github.com/elboza/avt |
---|
25 | master_sites http://www.autistici.org/0xFE/software/releases/avt |
---|
26 | |
---|
27 | checksums md5 aefca34db3fea738019dbfb402cf9f18 \ |
---|
28 | sha1 54fc9a0085dd0a372b2af81b7f3c60f042a85898 \ |
---|
29 | rmd160 1ba76e714eaa02246d40064574a35c3b3940ebb8 |
---|
30 | |
---|
31 | worksrcdir ${name} |
---|
32 | use_configure no |
---|
33 | patch { |
---|
34 | reinplace "s|/usr/share/avt/|${prefix}/share/avt/|g" ${worksrcpath}/avt.rb |
---|
35 | } |
---|
36 | build {} |
---|
37 | destroot.destdir prefix=/usr |
---|
38 | destroot { |
---|
39 | xinstall -m 755 ${worksrcpath}/avt.rb ${destroot}${prefix}/bin/avt |
---|
40 | xinstall -d ${destroot}${prefix}/share/avt/ |
---|
41 | eval xinstall -m 644 [glob ${worksrcpath}/*.avt] ${destroot}${prefix}/share/avt/ |
---|
42 | #xinstall -m 644 ${worksrcpath}/ssv.avt ${destroot}${prefix}/share/avt/ |
---|
43 | #xinstall -m 644 ${worksrcpath}/tail_codes.avt ${destroot}${prefix}/share/avt/ |
---|
44 | #xinstall -m 644 ${worksrcpath}/geo_iata.avt ${destroot}${prefix}/share/avt/ |
---|
45 | #xinstall -m 644 ${worksrcpath}/icao_iata.avt ${destroot}${prefix}/share/avt/ |
---|
46 | #xinstall -m 644 ${worksrcpath}/aircraft_type_decode.avt ${destroot}${prefix}/share/avt/ |
---|
47 | } |
---|
48 | |
---|
49 | |
---|