Files
Aaron Madlon-KayandAaron Madlon-Kay 0a9437e290 golang ports: specify github.tarball_from archive in portgroup
For the main distfile only. Vendors will need a bigger, separate migration.

Ports that don't specify are set to `tarball`.
2025-03-07 07:03:15 +09:00

31 lines
1.0 KiB
Tcl

# -*- 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/ginuerzh/gost 2.12.0 v
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
revision 0
categories net
license MIT
maintainers {judaew @judaew} openmaintainer
description GO Simple Tunnel - a simple tunnel written in golang.
long_description ${description}
homepage https://docs.ginuerzh.xyz/gost/en
checksums rmd160 55e6628753d2d311e1cf4caf34f28a57deea002e \
sha256 8e96a75fac7d49e52206ed8890fd796ce3230769c86999c73d0e9069616bea31 \
size 184935
# FIXME: This port currently can't be built without allowing go mod to fetch
go.offline_build no
build.args -o ${name} ./cmd/gost
destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}