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

32 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/rakyll/statik 0.1.7 v
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
description Embed files into a Go executable
long_description statik allows you to embed a directory of static files \
into your Go binary to be later served from an \
http.FileSystem.
categories devel
license Apache-2
checksums rmd160 9263c6a794ace45c4314bd0c4c6629dda03436ae \
sha256 1441248897eb6351a1647e341d7be8deb8cd42a910496630d757619492987828 \
size 178426
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
installs_libs no
destroot {
xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}