source: trunk/dports/security/keybase/Portfile @ 147636

Last change on this file since 147636 was 146229, checked in by sean@…, 3 years ago

keybase: update to 1.0.14-1

File size: 1.4 KB
Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        keybase client 1.0.14-1 v
8name                keybase
9categories          devel
10platforms           darwin
11license             BSD
12maintainers         sean openmaintainer
13description         Command-line interface to Keybase.io
14long_description    $description
15
16depends_build       port:go
17depends_run         bin:gpg:gnupg
18
19checksums           rmd160  46a8e423188fee3cf2246b9c803dc5f465d3e3fd \
20                    sha256  2a7e1171765030467667b8da0f1c5732ef5c0701769f4c04c1a61889cd18aae9
21
22use_configure       no
23
24use_parallel_build  no
25build.cmd           go
26build.target        build -a -tags production github.com/keybase/client/go/keybase
27build.env           GOPATH=${workpath}/go GO15VENDOREXPERIMENT=1
28
29# I still hate go
30post-extract {
31    file mkdir ${workpath}/go/src/github.com/keybase
32    ln -sf ${worksrcpath} ${workpath}/go/src/github.com/keybase/client
33    file mkdir ${worksrcpath}/src/github.com/keybase
34    ln -sf ${worksrcpath} ${worksrcpath}/src/github.com/keybase/client
35}
36
37destroot {
38    xinstall -d ${destroot}${prefix}/bin
39    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
40}
41
42livecheck.regex     archive/[join ${github.tag_prefix} ""](\[^"rw\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.