# -*- 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/icholy/gomajor 0.9.5 v
github.tarball_from archive
revision            0

description         Go tool for major version upgrades

long_description    \
    GoMajor is a tool for major version upgrades.  GoMajor finds the latest \
    version, rewrites your import paths, lets your ignore SIV in the command \
    line, and updates your module's major version.

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

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

checksums           ${distname}${extract.suffix} \
                        rmd160  3a69e75d071d8cd7d31343a5c3bbf4aa20667bb1 \
                        sha256  1fcc5b71090651e1e25eb6dc272f705fc9005c8c392fe5f8deef4231ef832bb3 \
                        size    12683

go.vendors          golang.org/x/sync \
                        lock    v0.1.0 \
                        rmd160  bf68702d961107a225cce561701852f129f16a3d \
                        sha256  50a67a11e715a61c022f218604adc63e61684de5f5db2330741077439c4ce68f \
                        size    19355 \
                    golang.org/x/mod \
                        lock    v0.7.0 \
                        rmd160  73707d2727c71807c01e4673f48cddd583acfe58 \
                        sha256  b7b055dc13c077857b321b825dbf606526beb399341894adbe48640d953471a4 \
                        size    120276