# -*- 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/orangekame3/stree 0.0.21 v
go.offline_build    no
revision            0

description         List the directory trees of an AWS S3 Bucket

long_description    \
    ${name} is a CLI tool designed to visualize the directory tree structure \
    of an S3 bucket. By inputting an S3 bucket/prefix and utilizing various \
    flags to customize your request, you can obtain a colorized or \
    non-colorized directory tree right in your terminal.

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

checksums           rmd160  0514848d8449e8534c471e41918481b0bf110b40 \
                    sha256  1edce8b1aa86a22a7ce4f8e1781eebf44ee838a70925eeaf45c7b35b3c22c03b \
                    size    379951

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

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