# -*- 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 # $Id$ PortSystem 1.0 PortGroup github 1.0 set githash bb418303c7e0 github.setup tools godep ${githash} revision 1 categories devel platforms darwin freebsd linux license BSD maintainers nomaintainer description Dependency tool for go long_description $description checksums rmd160 c071dc3c1dca0490a8f9f0403a056a9d1c989352 \ sha256 8db44a46c70a2b5fa8f4dc6e39f57a87107f006d9ed6c52c27371d60abd8eedf depends_build port:go depends_lib port:go-tools universal_variant no use_configure no build.cmd go build.target install build.env GOPATH=${worksrcpath} \ GOBIN=${worksrcpath}/bin # what kind of tool does this? post-extract { file mkdir ${worksrcpath}/src/github.com/tools ln -sf ${worksrcpath} ${worksrcpath}/src/github.com/tools/${name} } destroot { xinstall -d ${destroot}${prefix}/bin xinstall -m 755 ${worksrcpath}/bin/${name}-${githash} ${destroot}${prefix}/bin/${name} } livecheck.type none