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

go.setup            github.com/tomnomnom/gron 0.7.1 v
revision            0

description         Make JSON greppable!

long_description    gron transforms JSON into discrete assignments to make it \
                    easier to grep for what you want and see the absolute \
                    'path' to it. It eases the exploration of APIs that \
                    return large blobs of JSON but have terrible documentation.

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

build.pre_args      -ldflags \"-X main.gronVersion=${version}\"
build.args          .

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}

checksums           ${distname}${extract.suffix} \
                        rmd160  e7cd5d264d99859d6be3aad9054f2a4ef1d9d3cc \
                        sha256  1c98f2ef2ba03558864b1ab5e9c4b47a2e89d3ffaf24cfa0ac75cd38d775feb4 \
                        size    340819

go.vendors          golang.org/x/sys \
                        lock    33da011f77ad \
                        rmd160  73b15586a754ac5b9a6d768743bceb8ad02caac6 \
                        sha256  28a5f8af5b491ba6b01af7cadff04dff3895ab49cb77487b582fa7845d7aadb8 \
                        size    1292881 \
                    github.com/pkg/errors \
                        lock    v0.8.0 \
                        rmd160  762fc7077449a4f2467de5398bd50501ea2d7be4 \
                        sha256  3bb85e407ab7aaf2b1e3f23b7242ded175345000b55642dc286c481e8d32d970 \
                        size    11350 \
                    github.com/nwidger/jsoncolor \
                        lock    75a6de4340e5 \
                        rmd160  ba1121ab53cf0d7bfc9b7497e3ab0e2df9c5f16c \
                        sha256  3789933980052031160673000f40f7e530d67221a0391796e5ebc9b3c023fd07 \
                        size    4377 \
                    github.com/mattn/go-isatty \
                        lock    v0.0.4 \
                        rmd160  0a12014fd5fa0abaf40b622ae21db4e754b8b86c \
                        sha256  9795d007b5616de49307fb12a4d7e5363512ec3f1094a8ec6660ad4da8c03131 \
                        size    3379 \
                    github.com/mattn/go-colorable \
                        lock    v0.0.9 \
                        rmd160  7251bb6bf8e5651a52c8e3244d7117918e812f89 \
                        sha256  22ae6fdf63bccd195bf108013ba477c896a11fffdbb3398487914e32e1db9b2a \
                        size    7602 \
                    github.com/fatih/color \
                        lock    v1.7.0 \
                        rmd160  8a65cf00de5399f4498b41b0baed82da363f02d5 \
                        sha256  a553c1229fe10a6b0765cbbb90245bf3383a99ba52b9608052420b40ca30d148 \
                        size    816675
