You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
43 lines
1.4 KiB
Tcl
43 lines
1.4 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/securego/gosec 2.24.7 v
|
|
go.package github.com/securego/gosec/v2
|
|
go.offline_build no
|
|
revision 0
|
|
|
|
homepage https://securego.io
|
|
|
|
description Golang security checker. Inspects source code for \
|
|
security problems by scanning the Go AST.
|
|
|
|
long_description {*}${description}
|
|
|
|
categories security
|
|
installs_libs no
|
|
license Apache-2
|
|
maintainers {gmail.com:herby.gillot @herbygillot} \
|
|
openmaintainer
|
|
|
|
checksums rmd160 4d8bc4373bdef0913ac6cf7463333d29c4110b80 \
|
|
sha256 0d5509b17bb89ca1fa8f135ff88e498400a81bbb4c6fad19cb6aa34654249db8 \
|
|
size 351192
|
|
|
|
build.cmd make
|
|
build.pre_args-append \
|
|
BUILD_DATE= \
|
|
GIT_TAG=${github.tag_prefix}${version}
|
|
build.args build-${goos}
|
|
|
|
patch {
|
|
reinplace -E "s|build-linux|build-${goos}|g" ${worksrcpath}/Makefile
|
|
reinplace -E "s|GOOS=linux|GOOS=${goos}|g" ${worksrcpath}/Makefile
|
|
reinplace -E "s|GOARCH=amd64|GOARCH=${goarch}|g" ${worksrcpath}/Makefile
|
|
}
|
|
|
|
destroot {
|
|
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
|
|
}
|