# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # fzf # fzf/Makefile # fzf/distinfo # fzf/pkg-descr # fzf/files # fzf/files/patch-src_options.go # fzf/files/patch-src_terminal.go # echo c - fzf mkdir -p fzf > /dev/null 2>&1 echo x - fzf/Makefile sed 's/^X//' >fzf/Makefile << '6edf58ba42f5f822652a87b546c3b726' X# Created by: Sascha Holzleiter X# $FreeBSD$ X XPORTNAME= fzf XPORTVERSION= 0.13.3 XCATEGORIES= textproc X XMAINTAINER= sascha@root-login.org XCOMMENT= FZF is a blazing fast command-line fuzzy finder X XLICENSE= MIT X XBUILD_DEPENDS= ${LOCALBASE}/${GO_LIBDIR}/github.com/mattn/go-runewidth.a:devel/go-runewidth \ X ${LOCALBASE}/${GO_LIBDIR}/github.com/mattn/go-shellwords.a:devel/go-shellwords X XUSES= compiler go X XUSE_GITHUB= yes XGH_ACCOUNT= junegunn X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} XGO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} X XGO_TARGET= ${GO_PKGNAME}/src/fzf X XPLIST_FILES= bin/fzf bin/fzf-tmux \ X man/man1/fzf.1.gz \ X man/man1/fzf-tmux.1.gz X Xpost-install: X ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME}-tmux ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-tmux X ${INSTALL_MAN} ${WRKSRC}/man/man1/fzf.1 ${STAGEDIR}${MANPREFIX}/man/man1 X ${INSTALL_MAN} ${WRKSRC}/man/man1/fzf-tmux.1 ${STAGEDIR}${MANPREFIX}/man/man1 X X.include X X# If cc is clang, change it to clang to help Go identify the compiler, X# else we get -pthread warnings X.if ${COMPILER_TYPE} == "clang" && ${CC} == "cc" XCC=clang X.endif X X.include 6edf58ba42f5f822652a87b546c3b726 echo x - fzf/distinfo sed 's/^X//' >fzf/distinfo << '95dc54e9ba44f983a68a23fb6a21433e' XTIMESTAMP = 1470655672 XSHA256 (junegunn-fzf-0.13.3_GH0.tar.gz) = 04bb6901959fb9d4a3193662ef27b6a9bac106630b9a4d2921d6af3512de8d2f XSIZE (junegunn-fzf-0.13.3_GH0.tar.gz) = 105465 95dc54e9ba44f983a68a23fb6a21433e echo x - fzf/pkg-descr sed 's/^X//' >fzf/pkg-descr << '74d034affba7b33057f744f579670e65' XFZF is a general-purpose command-line fuzzy finder. X XWWW: https://github.com/junegunn/fzf/ 74d034affba7b33057f744f579670e65 echo c - fzf/files mkdir -p fzf/files > /dev/null 2>&1 echo x - fzf/files/patch-src_options.go sed 's/^X//' >fzf/files/patch-src_options.go << 'e75692c4794341aba357c66f3e17acc6' X--- src/options.go.orig 2016-08-08 11:09:38 UTC X+++ src/options.go X@@ -10,7 +10,7 @@ import ( X X "github.com/junegunn/fzf/src/curses" X X- "github.com/junegunn/go-shellwords" X+ "github.com/mattn/go-shellwords" X ) X X const usage = `usage: fzf [options] e75692c4794341aba357c66f3e17acc6 echo x - fzf/files/patch-src_terminal.go sed 's/^X//' >fzf/files/patch-src_terminal.go << '24f1e21e913d0aceaa3609c65d115518' X--- src/terminal.go.orig 2016-07-15 16:06:53 UTC X+++ src/terminal.go X@@ -15,7 +15,7 @@ import ( X C "github.com/junegunn/fzf/src/curses" X "github.com/junegunn/fzf/src/util" X X- "github.com/junegunn/go-runewidth" X+ "github.com/mattn/go-runewidth" X ) X X type jumpMode int 24f1e21e913d0aceaa3609c65d115518 exit