# -*- 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/alajmo/mani 0.25.0 v
github.tarball_from archive
revision            0

homepage            https://manicli.com

description         CLI tool to help you manage repositories

long_description    \
    ${name} is a CLI tool that helps you manage multiple repositories. It's \
    useful when you are working with microservices, multi-project systems, \
    many libraries or just a bunch of repositories and want a central place \
    for pulling all repositories and running commands over them. You specify \
    repository and commands in a config file and then run the commands over \
    all or a subset of the repositories.

categories          devel
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  deae08127e720251b58f75ddb17c1a4c9adfa5f2 \
                    sha256  15e89341e6323f428acec9108eb09453475c4c6d73cc1a15472c53e51779eea6 \
                    size    438545

# Allow Go to fetch deps at build time
build.env-delete    GO111MODULE=off GOPROXY=off

build.cmd           make
build.pre_args      DATE=""
build.args          build

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