Date: Mon, 28 Feb 2022 20:21:00 GMT From: Colin Percival <cperciva@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3f3b9dcc128b - main - sysutils/tarsnap: Enable zsh completion Message-ID: <202202282021.21SKL0tA071509@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f3b9dcc128bc65d358e6061bb913edadccbf253 commit 3f3b9dcc128bc65d358e6061bb913edadccbf253 Author: Colin Percival <cperciva@FreeBSD.org> AuthorDate: 2022-02-28 20:19:34 +0000 Commit: Colin Percival <cperciva@FreeBSD.org> CommitDate: 2022-02-28 20:19:34 +0000 sysutils/tarsnap: Enable zsh completion Now that the tarsnap zsh completion file has been removed from the shels/zsh-completions port, enable it in the tarsnap port. --- sysutils/tarsnap/Makefile | 4 +++- sysutils/tarsnap/pkg-plist | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/sysutils/tarsnap/Makefile b/sysutils/tarsnap/Makefile index 6ba27e64bd32..954467dffbf9 100644 --- a/sysutils/tarsnap/Makefile +++ b/sysutils/tarsnap/Makefile @@ -2,6 +2,7 @@ PORTNAME= tarsnap PORTVERSION= 1.0.40 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.tarsnap.com/download-http/ DISTNAME= ${PORTNAME}-autoconf-${PORTVERSION} @@ -15,7 +16,8 @@ LICENSE_NAME= tarsnap GNU_CONFIGURE= yes CONFIGURE_ENV= CFLAGS="-I${OPENSSLINC} ${CFLAGS}" \ LDFLAGS="-L${OPENSSLLIB} ${LDFLAGS}" -CONFIGURE_ARGS= --with-bash-completion-dir=${PREFIX}/etc/bash_completion.d/ +CONFIGURE_ARGS= --with-bash-completion-dir=${PREFIX}/etc/bash_completion.d/ \ + --with-zsh-completion-dir=${PREFIX}/share/zsh/site-functions USES= gmake tar:tgz ssl diff --git a/sysutils/tarsnap/pkg-plist b/sysutils/tarsnap/pkg-plist index 4b045f11a23c..91db16919519 100644 --- a/sysutils/tarsnap/pkg-plist +++ b/sysutils/tarsnap/pkg-plist @@ -14,4 +14,5 @@ man/man1/tarsnap-keyregen.1.gz man/man1/tarsnap-recrypt.1.gz man/man1/tarsnap.1.gz man/man5/tarsnap.conf.5.gz +share/zsh/site-functions/_tarsnap @sample etc/tarsnap.conf.sample
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202282021.21SKL0tA071509>