# -*- 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/packwiz/packwiz 0626c00149a8d9a5e9f76e5640e7b8b95c064350
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
go.offline_build    no

version             20241014
maintainers         {johnlindop.com:git @JLindop} openmaintainer
revision            0

description         Command line tool for creating Minecraft modpacks

long_description    packwiz is a command line tool for creating Minecraft modpacks. \
                    Instead of managing JAR files directly, packwiz creates TOML files \
                    that can be easily version-controlled and shared with git. You can then \
                    export to a CurseForge or Modrinth modpack.

categories          games
license             MIT

checksums           ${distname}${extract.suffix} \
                        rmd160  93f481a3f18e71a4690422542e4061448e5ebbd5 \
                        sha256  7eb5243d25891a36953d19435ca173a540465adbe5352c4c6f189c7d2f61f4b6 \
                        size    90277

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