# -*- 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.1 v
go.offline_build    no
go.toolchain_min    1.26
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  dd51761eb8ae26583f52f1164fb2332cc06f9052 \
                    sha256  44114005fd83484a9a3f066aff58cc5d75607a6af14796eeb3c90ab45a70c211 \
                    size    334251

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/
}
