# -*- 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/lindell/multi-gitter 0.63.0 v
go.offline_build    no
revision            0

description         A CLI to update multiple Git repositories in bulk

long_description    {*}${description}. ${name} allows you to make changes in \
                    multiple repositories simultaneously. This is achieved by \
                    running a script or program in the context of multiple \
                    repositories. If any changes are made, a pull request is \
                    created that can be merged manually by the set reviewers, \
                    or automatically by multi-gitter when CI pipelines has \
                    completed successfully.

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

checksums           rmd160  c5c63ddae4e427ad0690da240f6e2bc92f862d08 \
                    sha256  cbc52f249e89bfb435de934cf1d38b263770f0aa67f8635d7ef84b3dc4e4d5fa \
                    size    333275

build.pre_args-append \
                    -ldflags \"-X main.version=${github.tag_prefix}${version} \
                     -X main.commit=2d807f49c5a3156b6c0555bac1cb4ed43ff47806 \
                     -X main.date=2026-03-24T16:49:00.0000000Z\"

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