mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
shells/bash-completion-zfs: New port: bash completion rules for zfs and zpool commands
This commit is contained in:
parent
fb69b417c0
commit
b55f7e3d81
4 changed files with 38 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
SUBDIR += bash
|
||||
SUBDIR += bash-completion
|
||||
SUBDIR += bash-completion-freebsd
|
||||
SUBDIR += bash-completion-zfs
|
||||
SUBDIR += bash-static
|
||||
SUBDIR += bashc
|
||||
SUBDIR += bicon
|
||||
|
|
33
shells/bash-completion-zfs/Makefile
Normal file
33
shells/bash-completion-zfs/Makefile
Normal file
|
@ -0,0 +1,33 @@
|
|||
PORTNAME= bash-completion-zfs
|
||||
DISTVERSION= 2.3.1
|
||||
CATEGORIES= shells
|
||||
# Use direct link to 15KB file instead of 30+MB tarball:
|
||||
# https://github.com/openzfs/zfs/releases/download/zfs-${DISTVERSION}/zfs-${DISTVERSION}.tar.gz
|
||||
MASTER_SITES= https://raw.githubusercontent.com/openzfs/zfs/refs/tags/zfs-${DISTVERSION}/contrib/bash_completion.d/
|
||||
DISTFILES= zfs.in
|
||||
|
||||
MAINTAINER= vvd@FreeBSD.org
|
||||
COMMENT= OpenZFS extension to the Bash completion library
|
||||
WWW= https://github.com/openzfs/zfs/
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
EXTRACT_CMD= ${CP}
|
||||
EXTRACT_BEFORE_ARGS= #
|
||||
EXTRACT_AFTER_ARGS= ${WRKSRC}
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
PLIST_FILES= etc/bash_completion.d/zfs
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|@sbindir@|/sbin|g' ${WRKSRC}/${DISTFILES}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
|
||||
${INSTALL_DATA} ${WRKSRC}/${DISTFILES} \
|
||||
${STAGEDIR}${PREFIX}/etc/bash_completion.d/zfs
|
||||
|
||||
.include <bsd.port.mk>
|
3
shells/bash-completion-zfs/distinfo
Normal file
3
shells/bash-completion-zfs/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1742326449
|
||||
SHA256 (zfs.in) = 64ad7c694d55bb82480ac68001e5bdba3202332157d421a420296bebf946a353
|
||||
SIZE (zfs.in) = 15150
|
1
shells/bash-completion-zfs/pkg-descr
Normal file
1
shells/bash-completion-zfs/pkg-descr
Normal file
|
@ -0,0 +1 @@
|
|||
OpenZFS extension to the Bash completion library
|
Loading…
Add table
Reference in a new issue