# -*- 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.1.2 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  58297a302c67769f50bd7a15ebc36ec181997145 \
                    sha256  dd5055e7a740c54a32043b744f061b1a00a4d2f97f6c6214c2109fd22491b9f3 \
                    size    3332140

use_configure       no

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