svn commit: r453639 - in head/textproc: . fzy
Yuri Victorovich
yuri at FreeBSD.org
Mon Nov 6 18:51:09 UTC 2017
Author: yuri
Date: Mon Nov 6 18:51:08 2017
New Revision: 453639
URL: https://svnweb.freebsd.org/changeset/ports/453639
Log:
New port: textproc/fzy: Interactive fuzzy text selector for the terminal
Committed with minor changes.
PR: 223337
Submitted by: Oleh Hushchenkov <gor at clogic.com.ua>
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D12971
Added:
head/textproc/fzy/
head/textproc/fzy/Makefile (contents, props changed)
head/textproc/fzy/distinfo (contents, props changed)
head/textproc/fzy/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Mon Nov 6 18:31:33 2017 (r453638)
+++ head/textproc/Makefile Mon Nov 6 18:51:08 2017 (r453639)
@@ -208,6 +208,7 @@
SUBDIR += freexl
SUBDIR += fy-aspell
SUBDIR += fzf
+ SUBDIR += fzy
SUBDIR += ga-aspell
SUBDIR += gastex
SUBDIR += gd-aspell
Added: head/textproc/fzy/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/fzy/Makefile Mon Nov 6 18:51:08 2017 (r453639)
@@ -0,0 +1,46 @@
+# $FreeBSD$
+
+PORTNAME= fzy
+DISTVERSION= 0.9
+CATEGORIES= textproc
+
+MAINTAINER= gor at clogic.com.ua
+COMMENT= Interactive fuzzy text selector for the terminal
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gmake
+USE_GITHUB= yes
+GH_ACCOUNT= jhawthorn
+
+PLIST_FILES= bin/fzy man/man1/fzy.1.gz
+
+OPTIONS_DEFINE= TMUX DVTM
+OPTIONS_DEFAULT= TMUX
+TMUX_DESC= Install fzy-tmux
+DVTM_DESC= Install fzy-dvtm
+
+TMUX_PLIST_FILES= bin/fzy-tmux
+DVTM_PLIST_FILES= bin/fzy-dvtm
+
+post-extract:
+ ${CP} ${WRKSRC}/src/config.def.h ${WRKSRC}/config.h
+
+post-patch:
+ @${REINPLACE_CMD} \
+ -e 's, -g,,g' \
+ -e 's, -O3,,g' \
+ ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/fzy ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/fzy.1 ${STAGEDIR}${MANPREFIX}/man/man1/
+
+do-install-TMUX-on:
+ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/fzy-tmux ${STAGEDIR}${PREFIX}/bin
+
+do-install-DVTM-on:
+ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/fzy-dvtm ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
Added: head/textproc/fzy/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/fzy/distinfo Mon Nov 6 18:51:08 2017 (r453639)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1509430593
+SHA256 (jhawthorn-fzy-0.9_GH0.tar.gz) = 72182686806ddce7807d85c27efc321a1b01087643ce8006b1225e3617eecff5
+SIZE (jhawthorn-fzy-0.9_GH0.tar.gz) = 42992
Added: head/textproc/fzy/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/fzy/pkg-descr Mon Nov 6 18:51:08 2017 (r453639)
@@ -0,0 +1,10 @@
+Fuzzy finder written on C. fzy is faster and shows better results than other
+fuzzy finders. Most other fuzzy matchers sort based on the length of a match.
+fzy tries to find the result the user intended. It does this by favouring
+matches on consecutive letters and starts of words. This allows matching using
+acronyms or different parts of the path. fzy is designed to be used both as an
+editor plugin and on the command line. Rather than clearing the screen, fzy
+displays its interface directly below the current cursor position, scrolling
+the screen if necessary.
+
+WWW: https://github.com/jhawthorn/fzy
More information about the svn-ports-all
mailing list