Files

37 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/anchore/quill 0.7.1 v
revision 0
description Simple macOS binary signing from any platform
long_description {*}${description}
categories security sysutils
installs_libs no
license Apache-2
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
checksums rmd160 51809a1d499b0c257ad3f24599a46033b872c516 \
sha256 f38ce238f8d0b8cac42f87fbbae2b1c106f96885af3e53624f5af4003eef1586 \
size 186591
go.offline_build no
build.pre_args-append \
-ldflags \" \
-w -s \
-X main.version=v${version} \
\" \
-o _bin/${name}
build.args ./cmd/${name}
destroot {
xinstall -m 0755 ${worksrcpath}/_bin/${name} ${destroot}${prefix}/bin/
}