# -*- 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/kubernetes/kompose 1.32.0 v
revision                0
maintainers             {emcrisostomo @emcrisostomo} \
                        openmaintainer
platforms               darwin
categories              devel
supported_archs         x86_64

description             Go from Docker Compose to Kubernetes

long_description        {*}${name} is a tool to help users who are \
                        familiar with docker-compose move to Kubernetes \
                        kompose takes a Docker Compose file and translates \
                        it into Kubernetes resources.
homepage                http://kompose.io/
license                 Apache-2

checksums               rmd160  307b6705b369c1a5a06a4fc87e9db1f78f994cf2 \
                        sha256  b61307de6b78a15fd490daf2d53c3653488742406a2c620c93cd074cb42e2d18 \
                        size    17995167

# Allow deps to fetched at build time
go.offline_build no

build.cmd               make
build.target            bin

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

test.run                yes
