svn commit: r447577 - in head/textproc/fzf: . files
Richard Gallamore
ultima at FreeBSD.org
Tue Aug 8 22:03:44 UTC 2017
Author: ultima
Date: Tue Aug 8 22:03:42 2017
New Revision: 447577
URL: https://svnweb.freebsd.org/changeset/ports/447577
Log:
* Bump PORTREVISION
* Removed strip, stripping go is safe
* Added examples
PR: 221113
Submitted by: Sascha Holzleiter (maintainer)
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D11894
Added:
head/textproc/fzf/files/
head/textproc/fzf/files/pkg-message.in (contents, props changed)
Modified:
head/textproc/fzf/Makefile
Modified: head/textproc/fzf/Makefile
==============================================================================
--- head/textproc/fzf/Makefile Tue Aug 8 21:57:12 2017 (r447576)
+++ head/textproc/fzf/Makefile Tue Aug 8 22:03:42 2017 (r447577)
@@ -3,6 +3,7 @@
PORTNAME= fzf
PORTVERSION= 0.16.10
+PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= sascha at root-login.org
@@ -23,19 +24,21 @@ GH_TUPLE= mattn:go-runewidth:14207d2:runwidth/src/gith
gdamore:tcell:44772c1:tcell/src/github.com/gdamore/tcell \
golang:crypto:b8a2a83:terminal/src/golang.org/x/crypto
+SUB_FILES= pkg-message
PLIST_FILES= bin/fzf man/man1/fzf.1.gz
+PORTEXAMPLES= shell/completion.bash shell/completion.zsh \
+ shell/key-bindings.bash shell/key-bindings.fish \
+ shell/key-bindings.zsh
-STRIP= # do not strip go binaries
+OPTIONS_DEFINE= EXAMPLES TMUX
+OPTIONS_DEFAULT= TMUX
-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
-GOENV= GOPATH=${WRKSRC} CGO_CFLAGS="${CGO_CFLAGS}" \
+GOENV= GOPATH=${WRKSRC} CGO_CFLAGS="${CGO_CFLAGS}" \
CGO_LDFLAGS="${CGO_LDFLAGS}" GOBIN=""
do-build:
@@ -46,6 +49,9 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}/bin/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC} && \
+ ${COPYTREE_SHARE} shell ${STAGEDIR}${EXAMPLESDIR})
post-install:
${INSTALL_MAN} ${WRKSRC}/man/man1/fzf.1 ${STAGEDIR}${MANPREFIX}/man/man1
Added: head/textproc/fzf/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/fzf/files/pkg-message.in Tue Aug 8 22:03:42 2017 (r447577)
@@ -0,0 +1,5 @@
+Various shell key bindings and completion files
+have been installed to %%EXAMPLESDIR%%/shell.
+To use these include them in your shell
+configuration.
+
More information about the svn-ports-head
mailing list