pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/eza



Module Name:    pkgsrc
Committed By:   fox
Date:           Mon Sep 11 12:26:10 UTC 2023

Modified Files:
        pkgsrc/sysutils/eza: Makefile PLIST

Log Message:
sysutils/eza: Add the shell completions.

Address pkglint issues.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/eza/Makefile \
    pkgsrc/sysutils/eza/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/eza/Makefile
diff -u pkgsrc/sysutils/eza/Makefile:1.2 pkgsrc/sysutils/eza/Makefile:1.3
--- pkgsrc/sysutils/eza/Makefile:1.2    Sat Sep  9 20:16:41 2023
+++ pkgsrc/sysutils/eza/Makefile        Mon Sep 11 12:26:10 2023
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2023/09/09 20:16:41 pin Exp $
+# $NetBSD: Makefile,v 1.3 2023/09/11 12:26:10 fox Exp $
 
 DISTNAME=      eza-0.11.0
 PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=eza-community/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
+SUPERSEDES=    exa-[0-9]*
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/eza-community/eza/
@@ -15,9 +16,14 @@ LICENSE=     mit
 
 USE_TOOLS+=    pkg-config
 
-INSTALLATION_DIRS=     ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
+INSTALLATION_DIRS=     bin \
+                       ${PKGMANDIR}/man1 \
+                       ${PKGMANDIR}/man5 \
+                       share/bash-completion/completions \
+                       share/fish/vendor_completions.d \
+                       share/zsh/site-functions
 
-MAKE_ENV+=     OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
+MAKE_ENV+=     OPENSSL_DIR=${BUILDLINK_PREFIX.openssl}
 RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
 
 post-build:
@@ -29,6 +35,12 @@ post-install:
        ${INSTALL_MAN} ${WRKDIR}/eza.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
        ${INSTALL_MAN} ${WRKDIR}/eza_colors-explanation.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
        ${INSTALL_MAN} ${WRKDIR}/eza_colors.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+       ${INSTALL_DATA} ${WRKSRC}/completions/bash/eza \
+                       ${DESTDIR}${PREFIX}/share/bash-completion/completions
+       ${INSTALL_DATA} ${WRKSRC}/completions/fish/eza.fish \
+                       ${DESTDIR}${PREFIX}/share/fish/vendor_completions.d
+       ${INSTALL_DATA} ${WRKSRC}/completions/zsh/_eza \
+                       ${DESTDIR}${PREFIX}/share/zsh/site-functions
 
 .include "../../lang/rust/cargo.mk"
 .include "../../security/openssl/buildlink3.mk"
Index: pkgsrc/sysutils/eza/PLIST
diff -u pkgsrc/sysutils/eza/PLIST:1.2 pkgsrc/sysutils/eza/PLIST:1.3
--- pkgsrc/sysutils/eza/PLIST:1.2       Sat Sep  9 20:16:41 2023
+++ pkgsrc/sysutils/eza/PLIST   Mon Sep 11 12:26:10 2023
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2023/09/09 20:16:41 pin Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/09/11 12:26:10 fox Exp $
 bin/eza
 man/man1/eza.1
 man/man5/eza_colors-explanation.5
 man/man5/eza_colors.5
+share/bash-completion/completions/eza
+share/fish/vendor_completions.d/eza.fish
+share/zsh/site-functions/_eza



Home | Main Index | Thread Index | Old Index