svn commit: r426617 - in head/textproc/fzf: . files

Kurt Jaeger pi at FreeBSD.org
Sun Nov 20 19:46:03 UTC 2016


Author: pi
Date: Sun Nov 20 19:46:02 2016
New Revision: 426617
URL: https://svnweb.freebsd.org/changeset/ports/426617

Log:
  textproc/fzf: Update 13.4 -> 0.15.8
  
  PR:		214678
  Changes:	https://github.com/junegunn/fzf/blob/master/CHANGELOG.md
  Submitted by:	Sascha Holzleiter <sascha at root-login.org> (maintainer)

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

Modified: head/textproc/fzf/Makefile
==============================================================================
--- head/textproc/fzf/Makefile	Sun Nov 20 19:38:55 2016	(r426616)
+++ head/textproc/fzf/Makefile	Sun Nov 20 19:46:02 2016	(r426617)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	fzf
-PORTVERSION=	0.13.4
+PORTVERSION=	0.15.8
 CATEGORIES=	textproc
 
 MAINTAINER=	sascha at root-login.org
@@ -11,22 +11,20 @@ COMMENT=	Blazing fast command-line fuzzy
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	go-runewidth>0:devel/go-runewidth \
-		go-shellwords>0:devel/go-shellwords
-
 USES=		compiler go ncurses
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	junegunn
+GH_SUBDIR:=	src/github.com/${GH_ACCOUNT}/${PORTNAME}
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
-
-GO_TARGET=	${GO_PKGNAME}/src/fzf
-MAKE_ENV+=	CGO_CPPFLAGS="-I${NCURSESINC}"
+GH_TUPLE=	junegunn:go-runewidth:63c378b:runwidth/src/github.com/junegunn/go-runewidth \
+    		junegunn:go-shellwords:35d512a:shellwords/src/github.com/junegunn/go-shellwords \
+		junegunn:go-isatty:66b8e73:isatty/src/github.com/junegunn/go-isatty
 
 PLIST_FILES=	bin/fzf man/man1/fzf.1.gz
 
+STRIP=		# do not strip go binaries
+
 OPTIONS_DEFINE=	TMUX
 TMUX_DESC=	Install fzf-tmux (depends on BASH)
 
@@ -35,6 +33,14 @@ OPTIONS_DEFAULT=	TMUX
 TMUX_RUN_DEPENDS=	bash:shells/bash
 TMUX_PLIST_FILES=	bin/fzf-tmux man/man1/fzf-tmux.1.gz
 
+do-build:
+	@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/src/fzf; \
+		${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} \
+		go build -o bin/${PORTNAME}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/src/${PORTNAME}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/man/man1/fzf.1 ${STAGEDIR}${MANPREFIX}/man/man1
 

Modified: head/textproc/fzf/distinfo
==============================================================================
--- head/textproc/fzf/distinfo	Sun Nov 20 19:38:55 2016	(r426616)
+++ head/textproc/fzf/distinfo	Sun Nov 20 19:46:02 2016	(r426617)
@@ -1,3 +1,9 @@
-TIMESTAMP = 1471256085
-SHA256 (junegunn-fzf-0.13.4_GH0.tar.gz) = ba561de9393c7f5604f3463c0d48960b86690afe8396f2c9672d3c4777960c7c
-SIZE (junegunn-fzf-0.13.4_GH0.tar.gz) = 107907
+TIMESTAMP = 1479595305
+SHA256 (junegunn-fzf-0.15.8_GH0.tar.gz) = f02ba45837e8583a3aa4e54a7d0b7d493f5314be6923ca80a639b43d6c0f4a4f
+SIZE (junegunn-fzf-0.15.8_GH0.tar.gz) = 120461
+SHA256 (junegunn-go-runewidth-63c378b_GH0.tar.gz) = e7cba5116e6f7051984005f5ab6c23d448307a6fced09eb9bd1bf49f3317b36d
+SIZE (junegunn-go-runewidth-63c378b_GH0.tar.gz) = 4503
+SHA256 (junegunn-go-shellwords-35d512a_GH0.tar.gz) = ea496265b81c60c0d590e369ca7cbcf3e87ec39d6f49c7462a7ab0483582b6fa
+SIZE (junegunn-go-shellwords-35d512a_GH0.tar.gz) = 2340
+SHA256 (junegunn-go-isatty-66b8e73_GH0.tar.gz) = 261ec4d11cc7615205c67a1dd9ffe1f88166fc50db0022700a82f39ab7e47b0d
+SIZE (junegunn-go-isatty-66b8e73_GH0.tar.gz) = 1956


More information about the svn-ports-head mailing list