# -*- 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/jzelinskie/faq 0.0.7
go.offline_build    no
revision            0

description         Format Agnostic jQ -- process various formats with libjq

long_description    \
    faq is a tool intended to be a more flexible jq, supporting additional \
    formats. The additional formats are converted into JSON and processed \
    with libjq. Supported formats: \n\
    \n \
    - BSON\n \
    - Bencode\n \
    - JSON\n \
    - Property Lists\n \
    - TOML\n \
    - XML\n \
    - YAML

categories          textproc
license             Apache-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

build.cmd           make
build.pre_args      FAQ_BIN=faq
build.args          build

checksums           rmd160  f002dcd074ee94cbc8d13d1c10a9af47800ce9a9 \
                    sha256  92ea8718cb9734acf1feccfc9eaa8d54809cb7bd49561ee684fb5f60460dbb83 \
                    size    70481

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