# -*- 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/apache/cloudstack-cloudmonkey 6.6.0
go.offline_build    no
go.toolchain_min    1.20
name                cloudmonkey
revision            0

description         CloudMonkey is a command line interface for Apache \
                    Cloudstack.

long_description    {*}${description} CloudMonkey can be used both as an \
                    interactive shell, and as a command line tool which \
                    simplifies Apache CloudStack configuration and management.

categories          sysutils
installs_libs       no
license             Apache-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  b27b59b35f1d0d4663f438c9571432325b319cee \
                    sha256  fdebc87604f8047d9b88ed03b6a9b50bf039242726e5e8e80b42e82fd7d326e7 \
                    size    2338446

build.cmd           make
build.target        all

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

github.livecheck.regex  {([0-9.]+)}
