pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/lf



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Aug  3 12:55:40 UTC 2025

Modified Files:
        pkgsrc/sysutils/lf: Makefile PLIST

Log Message:
lf: install shell completions into default pkgsrc locations.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 pkgsrc/sysutils/lf/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/lf/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/lf/Makefile
diff -u pkgsrc/sysutils/lf/Makefile:1.83 pkgsrc/sysutils/lf/Makefile:1.84
--- pkgsrc/sysutils/lf/Makefile:1.83    Fri Jun  6 14:01:38 2025
+++ pkgsrc/sysutils/lf/Makefile Sun Aug  3 12:55:40 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.83 2025/06/06 14:01:38 bsiegert Exp $
+# $NetBSD: Makefile,v 1.84 2025/08/03 12:55:40 wiz Exp $
 
 DISTNAME=              lf-34
-PKGREVISION=           3
+PKGREVISION=           4
 CATEGORIES=            sysutils
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=gokcehan/}
 GITHUB_TAG=            r${PKGVERSION_NOREV}
@@ -12,11 +12,17 @@ COMMENT=            Terminal file manager
 LICENSE=               2-clause-bsd
 
 INSTALLATION_DIRS+=    ${PKGMANDIR}/man1 share/applications share/examples/lf
+INSTALLATION_DIRS+=    share/bash-completion/completions
+INSTALLATION_DIRS+=    share/fish/vendor_completions.d
+INSTALLATION_DIRS+=    share/zsh/site-functions
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/lf.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
        ${INSTALL_DATA} ${WRKSRC}/lf.desktop ${DESTDIR}${PREFIX}/share/applications
        ${INSTALL_DATA} ${WRKSRC}/etc/* ${DESTDIR}${PREFIX}/share/examples/lf
+       ${MV} ${DESTDIR}${PREFIX}/share/examples/lf/lf.bash ${DESTDIR}${PREFIX}/share/bash-completion/completions/lf
+       ${MV} ${DESTDIR}${PREFIX}/share/examples/lf/lf.fish ${DESTDIR}${PREFIX}/share/fish/vendor_completions.d/lf.fish
+       ${MV} ${DESTDIR}${PREFIX}/share/examples/lf/lf.zsh ${DESTDIR}${PREFIX}/share/zsh/site-functions/_lf
 
 .include "go-modules.mk"
 

Index: pkgsrc/sysutils/lf/PLIST
diff -u pkgsrc/sysutils/lf/PLIST:1.3 pkgsrc/sysutils/lf/PLIST:1.4
--- pkgsrc/sysutils/lf/PLIST:1.3        Mon Feb 10 21:44:12 2025
+++ pkgsrc/sysutils/lf/PLIST    Sun Aug  3 12:55:40 2025
@@ -1,17 +1,15 @@
-@comment $NetBSD: PLIST,v 1.3 2025/02/10 21:44:12 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/08/03 12:55:40 wiz Exp $
 bin/lf
 man/man1/lf.1
 share/applications/lf.desktop
+share/bash-completion/completions/lf
 share/examples/lf/colors.example
 share/examples/lf/icons.example
 share/examples/lf/icons_colored.example
-share/examples/lf/lf.bash
 share/examples/lf/lf.csh
-share/examples/lf/lf.fish
 share/examples/lf/lf.nu
 share/examples/lf/lf.ps1
 share/examples/lf/lf.vim
-share/examples/lf/lf.zsh
 share/examples/lf/lfcd.cmd
 share/examples/lf/lfcd.csh
 share/examples/lf/lfcd.fish
@@ -21,3 +19,5 @@ share/examples/lf/lfcd.sh
 share/examples/lf/lfrc.cmd.example
 share/examples/lf/lfrc.example
 share/examples/lf/lfrc.ps1.example
+share/fish/vendor_completions.d/lf.fish
+share/zsh/site-functions/_lf



Home | Main Index | Thread Index | Old Index