Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146158595
D11894.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11894.diff
View Options
Index: head/textproc/fzf/Makefile
===================================================================
--- head/textproc/fzf/Makefile
+++ head/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 @@
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-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
Index: head/textproc/fzf/files/pkg-message.in
===================================================================
--- head/textproc/fzf/files/pkg-message.in
+++ head/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.
+
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 1, 8:00 AM (3 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29104919
Default Alt Text
D11894.diff (1 KB)
Attached To
Mode
D11894: textproc/fzf: Add shell examples directory
Attached
Detach File
Event Timeline
Log In to Comment