svn commit: r420136 - in head/textproc: . fzf fzf/files
Pawel Pekala
pawel at FreeBSD.org
Fri Aug 12 16:41:51 UTC 2016
Author: pawel
Date: Fri Aug 12 16:41:49 2016
New Revision: 420136
URL: https://svnweb.freebsd.org/changeset/ports/420136
Log:
FZF is a general-purpose command-line fuzzy finder.
WWW: https://github.com/junegunn/fzf/
PR: 211661
Submitted by: Sascha Holzleiter <sascha at root-login.org>
Added:
head/textproc/fzf/
head/textproc/fzf/Makefile (contents, props changed)
head/textproc/fzf/distinfo (contents, props changed)
head/textproc/fzf/files/
head/textproc/fzf/files/patch-src_options.go (contents, props changed)
head/textproc/fzf/files/patch-src_terminal.go (contents, props changed)
head/textproc/fzf/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Fri Aug 12 16:20:36 2016 (r420135)
+++ head/textproc/Makefile Fri Aug 12 16:41:49 2016 (r420136)
@@ -204,6 +204,7 @@
SUBDIR += fpc-libxml2
SUBDIR += freexl
SUBDIR += fy-aspell
+ SUBDIR += fzf
SUBDIR += ga-aspell
SUBDIR += gastex
SUBDIR += gd-aspell
Added: head/textproc/fzf/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/fzf/Makefile Fri Aug 12 16:41:49 2016 (r420136)
@@ -0,0 +1,43 @@
+# Created by: Sascha Holzleiter <sascha at root-login.org>
+# $FreeBSD$
+
+PORTNAME= fzf
+PORTVERSION= 0.13.3
+CATEGORIES= textproc
+
+MAINTAINER= sascha at root-login.org
+COMMENT= Blazing fast command-line fuzzy finder
+
+LICENSE= MIT
+
+BUILD_DEPENDS= go-runewidth>0:devel/go-runewidth \
+ go-shellwords>0:devel/go-shellwords
+
+USES= compiler go
+
+USE_GITHUB= yes
+GH_ACCOUNT= junegunn
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
+
+GO_TARGET= ${GO_PKGNAME}/src/fzf
+
+PLIST_FILES= bin/fzf bin/fzf-tmux \
+ man/man1/fzf.1.gz \
+ man/man1/fzf-tmux.1.gz
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME}-tmux ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/man1/fzf.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/man/man1/fzf-tmux.1 ${STAGEDIR}${MANPREFIX}/man/man1
+
+.include <bsd.port.pre.mk>
+
+# If cc is clang, change it to clang to help Go identify the compiler,
+# else we get -pthread warnings
+.if ${COMPILER_TYPE} == "clang" && ${CC} == "cc"
+CC=clang
+.endif
+
+.include <bsd.port.post.mk>
Added: head/textproc/fzf/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/fzf/distinfo Fri Aug 12 16:41:49 2016 (r420136)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1470655672
+SHA256 (junegunn-fzf-0.13.3_GH0.tar.gz) = 04bb6901959fb9d4a3193662ef27b6a9bac106630b9a4d2921d6af3512de8d2f
+SIZE (junegunn-fzf-0.13.3_GH0.tar.gz) = 105465
Added: head/textproc/fzf/files/patch-src_options.go
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/fzf/files/patch-src_options.go Fri Aug 12 16:41:49 2016 (r420136)
@@ -0,0 +1,11 @@
+--- src/options.go.orig 2016-08-08 11:09:38 UTC
++++ src/options.go
+@@ -10,7 +10,7 @@ import (
+
+ "github.com/junegunn/fzf/src/curses"
+
+- "github.com/junegunn/go-shellwords"
++ "github.com/mattn/go-shellwords"
+ )
+
+ const usage = `usage: fzf [options]
Added: head/textproc/fzf/files/patch-src_terminal.go
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/fzf/files/patch-src_terminal.go Fri Aug 12 16:41:49 2016 (r420136)
@@ -0,0 +1,11 @@
+--- src/terminal.go.orig 2016-07-15 16:06:53 UTC
++++ src/terminal.go
+@@ -15,7 +15,7 @@ import (
+ C "github.com/junegunn/fzf/src/curses"
+ "github.com/junegunn/fzf/src/util"
+
+- "github.com/junegunn/go-runewidth"
++ "github.com/mattn/go-runewidth"
+ )
+
+ type jumpMode int
Added: head/textproc/fzf/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/fzf/pkg-descr Fri Aug 12 16:41:49 2016 (r420136)
@@ -0,0 +1,3 @@
+FZF is a general-purpose command-line fuzzy finder.
+
+WWW: https://github.com/junegunn/fzf/
More information about the svn-ports-head
mailing list