# -*- 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.15.0 v
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  180414c5eab11414e6027c60b0c5846058ce0017 \
                        sha256  a07c843768743b50a52885b0b1540b8d9f11e5696eebaa0dc651b0126a3945b6 \
                        size    18767

go.vendors          golang.org/x/tools \
                        lock    v0.35.0 \
                        rmd160  f641a0c533636881b41db3106263b65a3b67c7ee \
                        sha256  5601271113c190141213deb95f556e268a35aeb10bc54388adb64ffac933031a \
                        size    9068675 \
                    golang.org/x/sys \
                        lock    v0.34.0 \
                        rmd160  a87df453351955262c3e67ec823f0176b317f87d \
                        sha256  6f5791e51a2e6926432b508bcf89141356307d1b378a5b3ca9663df4f462c7a6 \
                        size    1531356 \
                    golang.org/x/sync \
                        lock    v0.16.0 \
                        rmd160  68d9738ce548abe5fee7f08d9a7ce87c6a3c56a8 \
                        sha256  490f41af712f24ebdd058f7b66666645800c32c66697c3f3878bc985a2cdac16 \
                        size    18193 \
                    golang.org/x/mod \
                        lock    v0.27.0 \
                        rmd160  d107a15de342de7f82c0aef7baf7ca37ad619a73 \
                        sha256  55309b486af125932eb81bca8f40d148da7cabba8d7310f3adef18a9f9532d5a \
                        size    126585 \
                    github.com/rogpeppe/go-internal \
                        lock    v1.14.1 \
                        rmd160  73e6c350ebee85f1124b04a1d0efecfa724a8835 \
                        sha256  32749548af3fe11d55ec86ce24a089e1611224a0e302058695961498e73cac8a \
                        size    116406
