pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
docker-cli: Install bash and fish completions
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon Jun 13 00:08:56 2022 +0200
Changeset: 410d914ebc40f4870b61bf3ebf87cefc14476eb7
Modified Files:
docker-cli/Makefile
docker-cli/PLIST
Log Message:
docker-cli: Install bash and fish completions
XXX: There are zsh completions should that can be probably installed (but I have
XXX: no idea how/where they should be installed, sorry, any pointers are
XXX: appreciated!)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=410d914ebc40f4870b61bf3ebf87cefc14476eb7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
docker-cli/Makefile | 4 ++++
docker-cli/PLIST | 2 ++
2 files changed, 6 insertions(+)
diffs:
diff --git a/docker-cli/Makefile b/docker-cli/Makefile
index 3e9e72f1a8..7e490cab3c 100644
--- a/docker-cli/Makefile
+++ b/docker-cli/Makefile
@@ -15,9 +15,13 @@ GO_DIST_BASE= cli-${PKGVERSION_NOREV}
GO_SRCPATH= github.com/docker/cli
INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= share/bash-completion/completions
+INSTALLATION_DIRS+= share/fish/completions
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/bin/docker ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/contrib/completion/bash/docker ${DESTDIR}${PREFIX}/share/bash-completion/completions
+ ${INSTALL_DATA} ${WRKSRC}/contrib/completion/fish/docker.fish ${DESTDIR}${PREFIX}/share/fish/completions
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/docker-cli/PLIST b/docker-cli/PLIST
index 1dd9255497..bc15dd7379 100644
--- a/docker-cli/PLIST
+++ b/docker-cli/PLIST
@@ -1,2 +1,4 @@
@comment $NetBSD$
bin/docker
+share/bash-completion/completions/docker
+share/fish/completions/docker.fish
Home |
Main Index |
Thread Index |
Old Index