# -*- 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/abhimanyu003/sttr 0.2.30 v
go.offline_build    no
revision            0

description         Perform various operations on a string.

long_description    \
    ${name} is command line software that allows you to quickly run various \
    transformation operations on strings.

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

checksums           rmd160  f705cf240a0e4c7c31a3c1f2f8093ffe268ba520 \
                    sha256  64c4ddd6f84c99f197053e96c489dea48c0bd83a33dfdd69ab209653bc38b9c8 \
                    size    1251921

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

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