mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
39 lines
1.2 KiB
Tcl
39 lines
1.2 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 github 1.0
|
|
|
|
github.setup kardianos govendor 1.0.9 v
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 0
|
|
categories devel
|
|
license BSD
|
|
maintainers nomaintainer
|
|
description Go vendor tool that works with the standard vendor file
|
|
long_description {*}${description}
|
|
|
|
checksums rmd160 bafc32d0e59321047df5f6d8f7c93c249b6402dc \
|
|
sha256 53a283a15e6df3d6041120765228e212ec91e6f0743208d202ed3a70c5a440b8
|
|
|
|
depends_lib port:go
|
|
|
|
universal_variant no
|
|
|
|
use_configure no
|
|
|
|
build.cmd go
|
|
build.target install
|
|
build.env GOPATH=${worksrcpath} \
|
|
GOBIN=${worksrcpath}/bin
|
|
|
|
post-extract {
|
|
xinstall -d ${worksrcpath}/src/github.com/${github.author}
|
|
ln -sf ${worksrcpath} ${worksrcpath}/src/github.com/${github.author}/${name}
|
|
}
|
|
|
|
destroot {
|
|
xinstall -d ${destroot}${prefix}/bin
|
|
xinstall -m 755 ${worksrcpath}/bin/${name}-${github.version} ${destroot}${prefix}/bin/${name}
|
|
}
|