# -*- 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.26 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  b6bd442215e73028bbd614a90a0a199f896ad69f \
                    sha256  d59a4f25c2ad4478699585aff16d3b99b9b1fddfb894bdf072705d6342aee59a \
                    size    1235704

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

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