# -*- 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/mitchellh/gox 1.0.1 v
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
revision            0

description         A dead simple, no frills Go cross compile tool

long_description    Gox is a simple, no-frills tool for Go cross compilation \
                    that behaves a lot like standard go build. Gox will \
                    parallelize builds for multiple platforms. Gox will also \
                    build the cross-compilation toolchain for you.

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

categories          devel
license             MPL-2
installs_libs       no

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

checksums           ${distname}${extract.suffix} \
                        rmd160  dd1ef2725cf1a619c2f1d7adbd59fd6d84531796 \
                        sha256  aa4779812939c9e7acd8ac3560bbc3777c2026ebf52fb587fe21fc7813e17909 \
                        size    30821 \

go.vendors          github.com/mitchellh/iochan \
                        lock    v1.0.0 \
                        rmd160  be2fc1cedf89e42ce64bd5b3ded3399ba590d602 \
                        sha256  4addfc9399f6bfc568743b715283e45f1c8e58c52418be548680cfd6129c3547 \
                        size    1823 \
                    github.com/hashicorp/go-version \
                        lock    v1.0.0 \
                        rmd160  89721c5fa4054bef051dfe78d6835be0df47f659 \
                        sha256  433fa481e75eded046dd1787fcd8a5119e800d25324c48c40b87d699100f3731 \
                        size    12487
