# -*- 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.3.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  e8a4c514ccd8784ea4b8d7f5b4f45e2418a2ed0b \
                    sha256  b57a168d940f3681de2dc07bbf4c70e82924127e59bdd6930452d5c650f83f5c \
                    size    3351962

use_configure       no

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