# -*- 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.4.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  ed76352c60ce29d7eb15c8da770939a794c4f689 \
                    sha256  ee654ac6c928f718fdd8b4102d994a89e9c81d5d711484dc98d17b085cd28cea \
                    size    3356486

use_configure       no

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