# -*- 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           github 1.0
PortGroup           cargo 1.0

github.setup        dutchcoders cloudman 0.1.7
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            1

categories          sysutils net
license             MIT

description         Textual user interface to manage ec2 instances.

long_description    Cloudman is a textual user interface (heavily inspired by \
                    htop) to manage your Amazon EC2 fleet instantly. By using \
                    Cloudman you'll find an overview of your instances, \
                    navigate through regions, retrieve instance details, show \
                    console outputs and connect to instance terminal using SSM.

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

checksums           ${distname}${extract.suffix} \
                    rmd160  9a142925bdfd9ef3c0e108686e8977cfc7fced37 \
                    sha256  5c9c4443094ed00796420ffc6f5ebda4f149368ddc41653642eecb96fffbc073 \
                    size    507921

build.pre_args      --release -v -j${build.jobs}

destroot {
    xinstall -m 755 ${worksrcpath}/target/[cargo.rust_platform]/release/${name} ${destroot}${prefix}/bin/
}