# -*- 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
go.setup github.com/junegunn/fzf 0.19.0
checksums rmd160 103a54232938424dee235d5bf5400ff9a21db548 \
sha256 e5eb6ea9b954070d74079a7d235d1866ce644e03886df98655a244e06630fd77 \
maintainers {isi.edu:calvin @cardi} openmaintainer
description A command-line fuzzy finder written in Go
long_description ${description}
build.env-append GO111MODULE=on
xinstall -d ${destroot}${prefix}/bin
xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
# install fzf-tmux (has a failover if tmux isn't installed)
xinstall -m 755 ${worksrcpath}/bin/${name}-tmux ${destroot}${prefix}/bin/${name}-tmux
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
xinstall -m 0644 -W ${worksrcpath} LICENSE README-VIM.md README.md ${destroot}${prefix}/share/doc/${name}
xinstall -d -m 0755 ${destroot}${prefix}/share/man/man1
xinstall -m 0644 {*}[glob ${worksrcpath}/man/man1/*.1] ${destroot}${prefix}/share/man/man1/
# install shell completion (bash, zsh)
xinstall -d ${destroot}${prefix}/share/bash-completion/completions/
xinstall -m 644 ${worksrcpath}/shell/completion.bash ${destroot}${prefix}/share/bash-completion/completions/${name}
xinstall -d ${destroot}${prefix}/share/zsh/site-functions/
xinstall -m 644 ${worksrcpath}/shell/completion.zsh ${destroot}${prefix}/share/zsh/site-functions/${name}
# make other files available, but not enabled
xinstall -d ${destroot}${prefix}/share/fzf/shell/
xinstall -m 0644 {*}[glob ${worksrcpath}/shell/key-bindings.*] ${destroot}${prefix}/share/fzf/shell/
xinstall -d ${destroot}${prefix}/share/fzf/vim/doc/
xinstall -m 644 ${worksrcpath}/doc/${name}.txt ${destroot}${prefix}/share/fzf/vim/doc/${name}.txt
xinstall -d ${destroot}${prefix}/share/fzf/vim/plugin/
xinstall -m 644 ${worksrcpath}/plugin/${name}.vim ${destroot}${prefix}/share/fzf/vim/plugin/${name}.vim
Shell key bindings for bash and zsh are located in:
${prefix}/share/fzf/shell
The Vim plugin is located in:
Enable the Vim plugin by adding the following to your
Vim configuration file (default: ~/.vimrc):
set rtp+=${prefix}/share/fzf/vim
Documentation for fzf and the Vim plugin is located in: