# -*- 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/kevinburke/go-bindata 4.0.2 v
go.package          ${go.package}/v4
revision            0

description         A small utility which generates Go code from any file. \
                    Useful for embedding binary data in a Go program.

long_description    {*}${description} The file data is optionally gzip \
                    compressed before being converted to a raw byte slice.

categories          devel

# Creative Commons Zero v1.0 Universal
license             public-domain

checksums           rmd160  ca8267448bed55b9449e1f873e4e4204aed54e3b \
                    sha256  ac343c4b316b234b8ea354d86eb3c7ded2da4fe8f40d45f60391d289c66cd950 \
                    size    16475980

maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

build.pre_args-append \
                    -o ./_bin/${name}
build.args          ./${name}

installs_libs       no

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