# -*- 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           github 1.0

github.setup        jqlang jq 1.8.2 jq-
github.tarball_from releases
revision            0

categories          sysutils
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

description         A lightweight and flexible command-line JSON processor
long_description\
    jq is like sed for JSON data – you can use it to slice and filter and \
    map and transform structured data with the same ease that sed, awk, \
    grep and friends let you play with text.

homepage            https://jqlang.github.io/jq/

checksums           rmd160  cb557191b2698d3f05b0a0166170d295dd085ea0 \
                    sha256  71b8d6e8f5fe81f6c6d0d110e3892251f6ce76ed095abd315e26e6e1193af3af \
                    size    1959950

depends_lib-append  port:oniguruma6

# The documentation requires some ruby dependencies which are not available as
# ports. However, the manpage is already distributed in compiled form and will
# be installed.
configure.args      --disable-docs \
                    --disable-silent-rules \
                    --with-oniguruma=${prefix} \
                    --disable-maintainer-mode

livecheck.type      regex
livecheck.regex     ${name}-(\\d+(\.\\d+)+)\.tar

test.run            yes
test.target         check
