# -*- 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           cargo   1.0
PortGroup           github  1.0

github.setup        jqnatividad qsv 0.132.0
github.tarball_from archive
revision            0

description         Ultra-fast CSV data-wrangling CLI toolkit

long_description    \
    qsv is a command line program for indexing, slicing, analyzing, \
    splitting, enriching, validating & joining CSV files.  Commands are \
    simple, fast and composable.

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

checksums           rmd160  105627c57ed3651f84025dddf2f4560978d243e2 \
                    sha256  bc7a1405a1543a6930d3478d80288d213acc3104a0510a7bceffc2bb32b972e0 \
                    size    10765186

build.args-append   --features=feature_capable --bin ${name}
cargo.offline_cmd

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
        ${destroot}${prefix}/bin/
}
