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

github.setup        nickgerace gfold 2025.2.1
github.tarball_from archive
revision            0

description         CLI tool to help keep track of your Git repositories
long_description    {*}${description}

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

checksums           ${distname}${extract.suffix} \
                    rmd160  d3f09aae16f0189fa172df7e236bee4bd29963fb \
                    sha256  f4bfb2c69da1f2e1a70713b316c2befef553039bc7248594f8f990115a66cc33 \
                    size    976260

cargo.offline_cmd

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

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