Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2016 11:45:22 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420334 - head/textproc/fzf
Message-ID:  <201608171145.u7HBjMgW005689@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Aug 17 11:45:22 2016
New Revision: 420334
URL: https://svnweb.freebsd.org/changeset/ports/420334

Log:
  - Update to 0.13.4
  - Add TMUX option
  - While here, add LICENSE_FILE
  
  PR:		211865
  Submitted by:	sascha@root-login.org (maintainer)

Modified:
  head/textproc/fzf/Makefile
  head/textproc/fzf/distinfo

Modified: head/textproc/fzf/Makefile
==============================================================================
--- head/textproc/fzf/Makefile	Wed Aug 17 11:21:33 2016	(r420333)
+++ head/textproc/fzf/Makefile	Wed Aug 17 11:45:22 2016	(r420334)
@@ -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}/${P
 
 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>

Modified: head/textproc/fzf/distinfo
==============================================================================
--- head/textproc/fzf/distinfo	Wed Aug 17 11:21:33 2016	(r420333)
+++ head/textproc/fzf/distinfo	Wed Aug 17 11:45:22 2016	(r420334)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608171145.u7HBjMgW005689>