git: 0449e53a86ea - main - sysutils/tealdeer: Fix zsh shell completion path
Lewis Cook
lcook at FreeBSD.org
Thu Sep 9 09:47:20 UTC 2021
The branch main has been updated by lcook:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0449e53a86ea305b94f66a6c14e76915ba5aeb1f
commit 0449e53a86ea305b94f66a6c14e76915ba5aeb1f
Author: Lewis Cook <lcook at FreeBSD.org>
AuthorDate: 2021-09-09 09:43:31 +0000
Commit: Lewis Cook <lcook at FreeBSD.org>
CommitDate: 2021-09-09 09:46:13 +0000
sysutils/tealdeer: Fix zsh shell completion path
PR: 258216
Reported by: Oliver Kiddle <okiddle at yahoo.co.uk>
MFH: 2021Q3
---
sysutils/tealdeer/Makefile | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/sysutils/tealdeer/Makefile b/sysutils/tealdeer/Makefile
index 45d2e86004d6..fa6c75a48ce5 100644
--- a/sysutils/tealdeer/Makefile
+++ b/sysutils/tealdeer/Makefile
@@ -1,7 +1,7 @@
PORTNAME= tealdeer
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.1
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= sysutils
MAINTAINER= lcook at FreeBSD.org
@@ -200,7 +200,7 @@ CARGO_FEATURES= --no-default-features
PLIST_FILES= bin/tldr \
etc/bash_completion.d/tldr.bash \
share/fish/completions/tldr.fish \
- share/zsh/site_functions/_tldr
+ share/zsh/site-functions/_tldr
PORTDOCS= CHANGELOG.md README.md
OPTIONS_DEFINE= DOCS LOGGER
@@ -210,18 +210,20 @@ LOGGER_VARS= CARGO_FEATURES+=logging
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tldr
- @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d \
+ ${STAGEDIR}${PREFIX}/share/fish/completions \
+ ${STAGEDIR}${PREFIX}/share/zsh/site-functions
+
${INSTALL_DATA} ${WRKSRC}/bash_${PORTNAME} \
${STAGEDIR}${PREFIX}/etc/bash_completion.d/tldr.bash
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions
${INSTALL_DATA} ${WRKSRC}/fish_${PORTNAME} \
${STAGEDIR}${PREFIX}/share/fish/completions/tldr.fish
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site_functions
${INSTALL_DATA} ${WRKSRC}/zsh_${PORTNAME} \
- ${STAGEDIR}${PREFIX}/share/zsh/site_functions/_tldr
+ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_tldr
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} \
+ ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the dev-commits-ports-all
mailing list