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

sourcehut.setup     gpanders ijq 1.2.0 v
revision            0

description         Interactive jq tool. Like jqplay for the commandline.

long_description    {*}${description}

categories          textproc devel sysutils
installs_libs       no
license             GPL-3
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

depends_build-append \
                    port:go \
                    port:scdoc

build.cmd           make
build.target        all

depends_run         port:jq

checksums           rmd160  aa6ce89e4f36fe1b04899dad34894793846b9efc \
                    sha256  11ac7f233bac6dd8fa97399c90bcf4ffb311367eb31a95ddcf5f36708561a0f0 \
                    size    3332310

use_configure       no

destroot {
    system -W ${worksrcpath} \
        "make DESTDIR=${destroot} prefix=${prefix} install"
}
