From owner-svn-ports-all@freebsd.org Mon Nov 6 18:51:09 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BEF02E651AF; Mon, 6 Nov 2017 18:51:09 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 993B77EFBA; Mon, 6 Nov 2017 18:51:09 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA6Ip8pE025612; Mon, 6 Nov 2017 18:51:08 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA6Ip8UN025608; Mon, 6 Nov 2017 18:51:08 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201711061851.vA6Ip8UN025608@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 6 Nov 2017 18:51:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453639 - in head/textproc: . fzy X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/textproc: . fzy X-SVN-Commit-Revision: 453639 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 18:51:09 -0000 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 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@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 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