... and here's the right one for nnn
Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/nnn/Makefile,v
diff -u -p -r1.28 Makefile
--- Makefile 26 Aug 2024 16:29:43 -0000 1.28
+++ Makefile 22 Jan 2025 18:32:55 -0000
@@ -3,6 +3,7 @@ COMMENT = the missing terminal file bro
V = 5.0
DISTNAME = nnn-v${V}
PKGNAME = nnn-${V}
+REVISION = 0
CATEGORIES = sysutils
@@ -43,9 +44,9 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/bash-completion/completions/
${INSTALL_DATA} ${WRKSRC}/misc/auto-completion/bash/nnn-completion.bash
\
${PREFIX}/share/bash-completion/completions/nnn
- ${INSTALL_DATA_DIR} ${PREFIX}/share/fish/completions/
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/fish/vendor_completions.d/
${INSTALL_DATA} ${WRKSRC}/misc/auto-completion/fish/nnn.fish \
- ${PREFIX}/share/fish/completions/
+ ${PREFIX}/share/fish/vendor_completions.d/
${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/site-functions/
${INSTALL_DATA} ${WRKSRC}/misc/auto-completion/zsh/_nnn \
${PREFIX}/share/zsh/site-functions/
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/sysutils/nnn/pkg/PLIST,v
diff -u -p -r1.4 PLIST
--- pkg/PLIST 11 Mar 2022 19:57:43 -0000 1.4
+++ pkg/PLIST 22 Jan 2025 18:32:55 -0000
@@ -4,8 +4,8 @@ share/bash-completion/
share/bash-completion/completions/
share/bash-completion/completions/nnn
share/fish/
-share/fish/completions/
-share/fish/completions/nnn.fish
+share/fish/vendor_completions.d/
+share/fish/vendor_completions.d/nnn.fish
share/zsh/
share/zsh/site-functions/
share/zsh/site-functions/_nnn