# -*- 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 PortGroup perl5 1.0 name metar version 0.2 revision 4 categories science platforms any maintainers nomaintainer license GPL-2+ supported_archs noarch description a simple command line metar and taf. long_description {*}${description} homepage https://github.com/elboza/metar master_sites https://www.autistici.org/0xFE/software/releases/metar/ checksums rmd160 28644bc6b2507352236b2e2cf8e0975724678b77 \ sha256 194b17dc559f91c45847b5fdecceb0d8f71b97ce77b989a728a7416406edfdfa \ size 1625 perl5.require_variant yes perl5.conflict_variants yes perl5.branches 5.28 5.30 5.32 5.34 perl5.default_branch 5.34 perl5.create_variants ${perl5.branches} depends_lib-append port:p${perl5.major}-libwww-perl worksrcdir ${name} use_configure no build {} destroot.destdir DEST_DIR=${destroot}${prefix}/bin post-patch { reinplace "s|#!/usr/bin/perl|#!${perl5.bin}|g" ${worksrcpath}/${name}.pl } post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} \ README.md \ ${destroot}${docdir} } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}