diff options
author | Richard Gallamore <ultima@FreeBSD.org> | 2017-08-08 22:03:42 +0000 |
---|---|---|
committer | Richard Gallamore <ultima@FreeBSD.org> | 2017-08-08 22:03:42 +0000 |
commit | 86cce0560aafba5b08c249afea86591890196965 (patch) | |
tree | d6d42e279c748bbca466eafbb3f14a25b76fa694 /textproc/fzf | |
parent | f40372f145934ce1178c00c7df465269b85d6c26 (diff) | |
download | ports-86cce0560aafba5b08c249afea86591890196965.tar.gz ports-86cce0560aafba5b08c249afea86591890196965.zip |
Notes
Diffstat (limited to 'textproc/fzf')
-rw-r--r-- | textproc/fzf/Makefile | 16 | ||||
-rw-r--r-- | textproc/fzf/files/pkg-message.in | 5 |
2 files changed, 16 insertions, 5 deletions
diff --git a/textproc/fzf/Makefile b/textproc/fzf/Makefile index fa1e4a583033..4eed5828f66e 100644 --- a/textproc/fzf/Makefile +++ b/textproc/fzf/Makefile @@ -3,6 +3,7 @@ PORTNAME= fzf PORTVERSION= 0.16.10 +PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= sascha@root-login.org @@ -23,19 +24,21 @@ GH_TUPLE= mattn:go-runewidth:14207d2:runwidth/src/github.com/mattn/go-runewidth 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 diff --git a/textproc/fzf/files/pkg-message.in b/textproc/fzf/files/pkg-message.in new file mode 100644 index 000000000000..7906e6dc413a --- /dev/null +++ b/textproc/fzf/files/pkg-message.in @@ -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. + |