Commits

Aaron Madlon-Kay authored 4ce7d468df6
keybase: update to 2.7.3, use golang-1.0 portgroup

Fixes https://trac.macports.org/ticket/57363
No tags

security/keybase/Portfile

Modified
1 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 2
3 3 PortSystem 1.0
4 -PortGroup github 1.0
4 +PortGroup golang 1.0
5 5
6 -github.setup keybase client 1.0.33 v
6 +go.setup github.com/keybase/client 2.7.3 v
7 7 name keybase
8 8 categories security
9 -platforms darwin
10 9 license BSD
11 10 maintainers nomaintainer
12 11 description Command-line interface to Keybase.io
13 -long_description $description
12 +long_description ${description}
14 13
15 -depends_build port:go
16 14 depends_run path:bin/gpg:gnupg2
17 15
18 -checksums rmd160 7f9ecb009c41e5f7df881275227fb42571359c82 \
19 - sha256 9a9b6a5c2872e52663e04f6cd70a8f8479775aaccf896fbfca89b6df3ff4cabd
16 +checksums rmd160 311ed59796fd7f04468521e425c67eda39401c5c \
17 + sha256 8cf1e16862db06a73a39cdd032a3eb367c6716444b80c30af6cc6830c04cd13c \
18 + size 34646709
20 19
21 -use_configure no
22 -
23 -use_parallel_build no
24 -build.cmd go
25 -build.target build -a -tags production github.com/keybase/client/go/keybase
26 -build.env GOPATH=${workpath}/go CC=${configure.cc}
27 -
28 -# I still hate go
29 -post-extract {
30 - file mkdir ${workpath}/go/src/github.com/keybase
31 - ln -sf ${worksrcpath} ${workpath}/go/src/github.com/keybase/client
32 - file mkdir ${worksrcpath}/src/github.com/keybase
33 - ln -sf ${worksrcpath} ${worksrcpath}/src/github.com/keybase/client
34 -}
20 +build.args -tags production ${go.package}/go/keybase
35 21
36 22 destroot {
37 - xinstall -d ${destroot}${prefix}/bin
38 - xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
23 + xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
39 24 }
40 -
41 -github.livecheck.regex {([^"rw]+)}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut