mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
52 lines
1.6 KiB
Tcl
52 lines
1.6 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name avt
|
|
version 0.2
|
|
categories science
|
|
platforms any
|
|
maintainers nomaintainer
|
|
license GPL-2+
|
|
supported_archs noarch
|
|
|
|
description Aviation Tools (metar, taf, decode airline, geo info)
|
|
|
|
long_description Aviation Tools: \
|
|
\n* gets metar \
|
|
\n* gets taf \
|
|
\n* decode iata / icao airports \
|
|
\n* gets sunrise / sunset \
|
|
\n* gets geo info \
|
|
\n* decode airline codes \
|
|
\n* decode aircraft tail codes \
|
|
\n* decode aircraft names
|
|
|
|
homepage https://github.com/elboza/avt
|
|
master_sites http://www.autistici.org/0xFE/software/releases/avt/
|
|
|
|
checksums md5 aefca34db3fea738019dbfb402cf9f18 \
|
|
sha1 54fc9a0085dd0a372b2af81b7f3c60f042a85898 \
|
|
rmd160 1ba76e714eaa02246d40064574a35c3b3940ebb8
|
|
|
|
worksrcdir ${name}
|
|
|
|
set libdir ${prefix}/share/avt/
|
|
|
|
patchfiles patch-Makefile.diff
|
|
|
|
post-patch {
|
|
reinplace "s|/usr/share/avt/|${libdir}|g" ${worksrcpath}/avt.rb
|
|
}
|
|
|
|
use_configure no
|
|
|
|
build {}
|
|
|
|
destroot.destdir DEST_DIR=${destroot}${prefix}/bin/ \
|
|
LIB_DIR=${destroot}${libdir}
|
|
|
|
livecheck.type regex
|
|
livecheck.url [lindex ${master_sites} 0]
|
|
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
|