aboutsummaryrefslogtreecommitdiff
path: root/textproc/fzf
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-08-17 11:45:22 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-08-17 11:45:22 +0000
commit669b24a7e51f2fe5dc3fd9b5a2d4ae6145fafa9e (patch)
treea75a3ac7a0941a6c22ea71b933a50f8377725f14 /textproc/fzf
parent8b45450a52435328b1fd7c908f1409079f8a9de8 (diff)
downloadports-669b24a7e51f2fe5dc3fd9b5a2d4ae6145fafa9e.tar.gz
ports-669b24a7e51f2fe5dc3fd9b5a2d4ae6145fafa9e.zip
- Update to 0.13.4
- Add TMUX option - While here, add LICENSE_FILE PR: 211865 Submitted by: sascha@root-login.org (maintainer)
Notes
Notes: svn path=/head/; revision=420334
Diffstat (limited to 'textproc/fzf')
-rw-r--r--textproc/fzf/Makefile19
-rw-r--r--textproc/fzf/distinfo6
2 files changed, 17 insertions, 8 deletions
diff --git a/textproc/fzf/Makefile b/textproc/fzf/Makefile
index 6c69aac11177..6a6b7dabb4aa 100644
--- a/textproc/fzf/Makefile
+++ b/textproc/fzf/Makefile
@@ -2,13 +2,14 @@
# $FreeBSD$
PORTNAME= fzf
-PORTVERSION= 0.13.3
+PORTVERSION= 0.13.4
CATEGORIES= textproc
MAINTAINER= sascha@root-login.org
COMMENT= Blazing fast command-line fuzzy finder
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go-runewidth>0:devel/go-runewidth \
go-shellwords>0:devel/go-shellwords
@@ -23,13 +24,21 @@ 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
+PLIST_FILES= bin/fzf man/man1/fzf.1.gz
+
+OPTIONS_DEFINE= TMUX
+TMUX_DESC= Install fzf-tmux (depends on BASH)
+
+OPTIONS_DEFAULT= TMUX
+
+TMUX_RUN_DEPENDS= bash:shells/bash
+TMUX_PLIST_FILES= bin/fzf-tmux 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
+
+post-install-TMUX-on:
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME}-tmux ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/man1/fzf-tmux.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.pre.mk>
diff --git a/textproc/fzf/distinfo b/textproc/fzf/distinfo
index d83899373d1b..87c6831fd57d 100644
--- a/textproc/fzf/distinfo
+++ b/textproc/fzf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1470655672
-SHA256 (junegunn-fzf-0.13.3_GH0.tar.gz) = 04bb6901959fb9d4a3193662ef27b6a9bac106630b9a4d2921d6af3512de8d2f
-SIZE (junegunn-fzf-0.13.3_GH0.tar.gz) = 105465
+TIMESTAMP = 1471256085
+SHA256 (junegunn-fzf-0.13.4_GH0.tar.gz) = ba561de9393c7f5604f3463c0d48960b86690afe8396f2c9672d3c4777960c7c
+SIZE (junegunn-fzf-0.13.4_GH0.tar.gz) = 107907