<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f03416b55c28500e7c1f688483d33e8b4f00431b">https://github.com/macports/macports-ports/commit/f03416b55c28500e7c1f688483d33e8b4f00431b</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new f03416b  sift: new port, replacement for 'grep' built in go
</span>f03416b is described below

<span style='display:block; white-space:pre;color:#808000;'>commit f03416b55c28500e7c1f688483d33e8b4f00431b
</span>Author: Emre Şafak <esafak@kahuna.com>
AuthorDate: Fri Feb 17 17:37:54 2017 -0800

<span style='display:block; white-space:pre;color:#404040;'>    sift: new port, replacement for 'grep' built in go
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    https://sift-tool.org
</span>---
 sysutils/sift/Portfile | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 92 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/sift/Portfile b/sysutils/sift/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..d0193a6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/sift/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,92 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem          1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# this doesn't work directly because files need to be fetched from multiple repositories
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# PortGroup         github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# github.setup      svent sift 0.9.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name                sift
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             0.9.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms           darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories          sysutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license             GPL-3+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+installs_libs       no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers         {kahuna.com:esafak @esafak}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description         A fast and powerful open source alternative to grep
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description    sift is an alternative that aims for both speed and flexibility, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    adding features while trying to reach (or even surpass) the performance \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    of the original grep. The additional features include gitignore support, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    conditions (e.g., match A only when preceded by B within X lines), \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    full multi-core support and multiline matching.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage            http://sift-tool.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms           darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_zip             yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set crypto_hash     2faea14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set nbreader_hash   7cef48da76dca6a496faa7fe63e39ed665cbd219
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set flags_version   1.3.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites        https://github.com/svent/sift/archive:sift \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    https://github.com/jessevdk/go-flags/archive:flags \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    https://github.com/svent/go-nbreader/archive:nbreader \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    https://raw.githubusercontent.com/golang/crypto/${crypto_hash}/ssh/terminal:crypto
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles           v${version}.zip:sift \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    v${flags_version}.zip:flags \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    ${nbreader_hash}.zip:nbreader \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    terminal.go:crypto \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    util_bsd.go:crypto \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    util.go:crypto
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.only        v${version}.zip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    v${flags_version}.zip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    ${nbreader_hash}.zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           v${version}.zip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    rmd160  e1b1eae2e314510b852ee86f0152fa541b5b4af9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  00f4a57cd4140999443833b6bbf446a21ec5660613af5ce101d651a265152051 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    v${flags_version}.zip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    rmd160  0797467ba23c4c28ff8b13aa40b52bc8bad852a0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  be1356988abd183851b754a66a4171e370b952bee2dd3de5fc33f0370e534703 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    ${nbreader_hash}.zip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    rmd160  6bd004bdca7944c9ff523e479bd7814bc87aff34 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  2f9c0c3b45bf04cb5ebc92b146d022b6a6e437258fc4d9936dfcd1a115af3578 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    terminal.go \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    rmd160  ad3f5da181a2fa618e104b1deb79a869a9164cb2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  b35ec763e014dcc944989ff5ddea401c754bcc27c011f71012a2454eaca1b11a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    util_bsd.go \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    rmd160  9a75a1dc87ad32232627302e266215cba35766a4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  fc3b7bafbded5b824b3b9c5d4c4d6730958cbeb9ae9cd2dde2132d670d2cc3f4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    util.go \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    rmd160  6f17dbf32422a7e43d9182137c0ebc2bc9704ef5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  c0506e16f0f7ec105437f35f2a7fb6c3b71a28f95102f3b5dec0d22f040cb727
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build       port:go
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+universal_variant   no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure       no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.cmd           go
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target        build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env           GOPATH=${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    file mkdir ${worksrcpath}/src/github.com/svent/sift
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    file mkdir ${worksrcpath}/src/golang.org/x/crypto/ssh/terminal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    move ${worksrcpath}/gitignore                 ${worksrcpath}/src/github.com/svent/sift
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    move ${workpath}/go-nbreader-${nbreader_hash} ${worksrcpath}/src/github.com/svent/go-nbreader
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    move ${workpath}/go-flags-${flags_version}    ${worksrcpath}/src/github.com/svent/go-flags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    ln -sf ${distpath}/terminal.go                ${worksrcpath}/src/golang.org/x/crypto/ssh/terminal/terminal.go
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    ln -sf ${distpath}/util_bsd.go                ${worksrcpath}/src/golang.org/x/crypto/ssh/terminal/util_bsd.go
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    ln -sf ${distpath}/util.go                    ${worksrcpath}/src/golang.org/x/crypto/ssh/terminal/util.go
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -m 755 ${worksrcpath}/${name}-${version} ${destroot}${prefix}/bin/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url       https://github.com/svent/${name}/tags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex     archive/v(\[^"\]+)${extract.suffix}
</span></pre><pre style='margin:0'>

</pre>