source: trunk/dports/science/avt/Portfile

Last change on this file was 111504, checked in by ryandesign@…, 4 years ago

remove use of [suffix] proc because it is thought to be confusing (#40529)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
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# $Id: Portfile 111504 2013-09-24 04:34:48Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                avt
7version             0.2
8categories          science
9platforms           darwin linux
10maintainers         gmail.com:fernando.iazeolla
11license             GPL-2+
12supported_archs     noarch
13
14description         Aviation Tools (metar, taf, decode airline, geo info)
15
16long_description    Aviation Tools: \
17                    \n* gets metar \
18                    \n* gets taf \
19                    \n* decode iata / icao airports \
20                    \n* gets sunrise / sunset \
21                    \n* gets geo info \
22                    \n* decode airline codes \
23                    \n* decode aircraft tail codes \
24                    \n* decode aircraft names \
25
26homepage            http://github.com/elboza/avt
27master_sites        http://www.autistici.org/0xFE/software/releases/avt/
28
29checksums           md5     aefca34db3fea738019dbfb402cf9f18 \
30                    sha1    54fc9a0085dd0a372b2af81b7f3c60f042a85898 \
31                    rmd160  1ba76e714eaa02246d40064574a35c3b3940ebb8
32
33worksrcdir          ${name}
34
35set libdir          ${prefix}/share/avt/
36
37patchfiles          patch-Makefile.diff
38
39post-patch {
40    reinplace "s|/usr/share/avt/|${libdir}|g" ${worksrcpath}/avt.rb
41}
42
43use_configure       no
44
45build {}
46
47destroot.destdir    DEST_DIR=${destroot}${prefix}/bin/ \
48                    LIB_DIR=${destroot}${libdir}
49
50livecheck.type      regex
51livecheck.url       [lindex ${master_sites} 0]
52livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.