# -*- 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

PortSystem      1.0
PortGroup       golang 1.0

go.setup        github.com/peco/peco 0.5.10 v
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
categories      sysutils
homepage        https://peco.github.io
description     Simplistic interactive filtering tool
long_description \
        peco can be a great tool to filter stuff like logs, process stats, find \
        files, because unlike grep, you can type as you think and look through  \
        the current results.
license         MIT

maintainers     {kimuraw @kimuraw} openmaintainer

# peco
checksums       peco-${version}.tar.gz \
                    rmd160  aa6ec3b6e49d41c4de1074b21572f52f2733e581 \
                    sha256  cadc0d89da82bf6a7978e99cbf5a1033e479a4953b194f9e3a766a6ea2beb3c7 \
                    size    81715

# dependencies to build. remember revbump when you change version of dependencies.
# see https://github.com/peco/peco/blob/v${version}/go.mod
go.vendors      github.com/davecgh/go-spew \
                    lock    346938d642f2ec3594ed81d874461961cd0faa76 \
                    rmd160  8276b22029bd408decd9af5e56b421eaacce865a \
                    sha256  81515ee3b5afb35147ab25a534cbf5fd18e27281f54cf8c1ee8d6545ef8ff820 \
                    size    42359 \
                github.com/google/btree \
                    lock    0c3044bc8bada22db67b93f5760fe3f05d6a5c25 \
                    rmd160  7f1d03590d10cb90822ca1f9b3dde9eb485621ff \
                    sha256  3c5559d88337ac1a34b43b23363a96630b1cd34eb234a2cb44f532cebb894743 \
                    size    14147 \
                github.com/jessevdk/go-flags \
                    lock    8bc97d602c3bfeb5fc6fc9b5a9c898f245495637 \
                    rmd160  b4f5d02550f77f5b1ab67d8c9e56314f20cb00dd \
                    sha256  364bc7a9704c3de622caec67da953a0633dec6386297afa2b90b9b255c026bc7 \
                    size    54387 \
                github.com/lestrrat-go/pdebug \
                    lock    39f9a71bcabe9432cbdfe4d3d33f41988acd2ce6 \
                    rmd160  dc2aada459b6d3ce514242416d28c545bc98758e \
                    sha256  6daaeee76d58c41ea871bd014b5b19312e97e652acdf9839dce5df606c29bac5 \
                    size    5187 \
                github.com/mattn/go-runewidth \
                    lock    737072b4e32b7a5018b4a7125da8d12de90e8045 \
                    rmd160  2c94fdedf9cbf54b4b10a0263517aacbe81c6108 \
                    sha256  4c3a2f1d5a44b54442bed374b41b18f37983f2dce7637289f498d79b115d8018 \
                    size    6864 \
                github.com/nsf/termbox-go \
                    lock    93860e16131719fa9722e7c448dbf8c0e3210a0d \
                    rmd160  adf7be8ecc86a9940642065208402dd5e70bbbdc \
                    sha256  804de87b10b56c003c98625810e409a3d164cdaea0656b8798a34c733f75fa94 \
                    size    32774 \
                github.com/pkg/errors \
                    lock    248dadf4e9068a0b3e79f02ed0a610d935de5302 \
                    rmd160  b958ee3a78c873759c67e103ee5800559690b5b4 \
                    sha256  4ba9cfcd163ddba8c52f10f6934f4767d2f727a3b4c5f66384252a46992507df \
                    size    11339 \
                github.com/stretchr/testify \
                    lock    18a02ba4a312f95da08ff4cfc0055750ce50ae9e \
                    rmd160  31183020e6c1c9cde5d76adfaffa5989f06b426d \
                    sha256  1a362b9430d82e3e28b4525bdfa45515e26642b046f8c81f6c114b346d415d55 \
                    size    83495

build.target    cmd/peco/peco.go

destroot {
    xinstall ${worksrcpath}/peco ${destroot}${prefix}/bin
}
