[144633] trunk/dports/security

sean at macports.org sean at macports.org
Wed Jan 13 23:29:48 PST 2016


Revision: 144633
          https://trac.macports.org/changeset/144633
Author:   sean at macports.org
Date:     2016-01-13 23:29:47 -0800 (Wed, 13 Jan 2016)
Log Message:
-----------
keybase: add new command line port

Added Paths:
-----------
    trunk/dports/security/keybase/
    trunk/dports/security/keybase/Portfile

Added: trunk/dports/security/keybase/Portfile
===================================================================
--- trunk/dports/security/keybase/Portfile	                        (rev 0)
+++ trunk/dports/security/keybase/Portfile	2016-01-14 07:29:47 UTC (rev 144633)
@@ -0,0 +1,42 @@
+# -*- 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
+
+github.setup        keybase client 1.0.8-0 v
+name                keybase
+categories          devel
+platforms           darwin
+license             BSD
+maintainers         sean openmaintainer
+description         Command-line interface to Keybase.io
+long_description    $description
+
+depends_build       port:go
+depends_run         bin:gpg:gnupg
+
+checksums           rmd160  96204a141fc7754dfd6e347cd51ad3aa3fc1bf94 \
+                    sha256  8aa3f5ef0a873fd745959fd104da13ada02daa199f26eb9240ceec6ab8398068
+
+use_configure       no
+
+use_parallel_build  no
+build.cmd           go
+build.target        build -a -tags production github.com/keybase/client/go/keybase
+build.env           GOPATH=${workpath}/go GO15VENDOREXPERIMENT=1
+
+# I still hate go
+post-extract {
+    file mkdir ${workpath}/go/src/github.com/keybase
+    ln -sf ${worksrcpath} ${workpath}/go/src/github.com/keybase/client
+    file mkdir ${worksrcpath}/src/github.com/keybase
+    ln -sf ${worksrcpath} ${worksrcpath}/src/github.com/keybase/client
+}
+
+destroot {
+    xinstall -d ${destroot}${prefix}/bin
+    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
+}
+
+livecheck.regex     archive/[join ${github.tag_prefix} ""](\[^"rw\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160113/582baea1/attachment.html>


More information about the macports-changes mailing list