git: 5d672758b526 - main - misc/nnn: Update 5.1 => 5.2

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sat, 14 Feb 2026 14:17:23 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5d672758b526d421ed229777ffe8c59929469a39

commit 5d672758b526d421ed229777ffe8c59929469a39
Author:     Bartek Jasicki <thindil@laeran.pl.eu.org>
AuthorDate: 2026-02-14 14:14:45 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-02-14 14:14:45 +0000

    misc/nnn: Update 5.1 => 5.2
    
    Changelog:
    https://github.com/jarun/nnn/releases/tag/v5.2
    
    While here merge MKDIRs in post-install and remove unnecessary MKDIR in
    post-install-EXAMPLES-on.
    
    PR:     293169
---
 misc/nnn/Makefile | 9 ++++-----
 misc/nnn/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/misc/nnn/Makefile b/misc/nnn/Makefile
index 207ce3a47379..30b410b77279 100644
--- a/misc/nnn/Makefile
+++ b/misc/nnn/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nnn
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5.1
+DISTVERSION=	5.2
 CATEGORIES=	misc shells
 MASTER_SITES=	https://github.com/jarun/${PORTNAME}/releases/download/${DISTVERSIONFULL}/
 
@@ -44,13 +44,13 @@ MEDIAINFO_RUN_DEPENDS=	mediainfo:multimedia/mediainfo
 XDG_RUN_DEPENDS=	xdg-open:devel/xdg-utils
 
 post-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d \
+		  ${STAGEDIR}${PREFIX}/share/fish/completions \
+		  ${STAGEDIR}${PREFIX}/share/zsh/site-functions
 	${INSTALL_DATA} ${WRKSRC}/misc/auto-completion/bash/nnn-completion.bash \
 		${STAGEDIR}${PREFIX}/etc/bash_completion.d
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions
 	${INSTALL_DATA} ${WRKSRC}/misc/auto-completion/fish/nnn.fish \
 		${STAGEDIR}${PREFIX}/share/fish/completions
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
 	${INSTALL_DATA} ${WRKSRC}/misc/auto-completion/zsh/_nnn \
 		${STAGEDIR}${PREFIX}/share/zsh/site-functions
 
@@ -59,7 +59,6 @@ post-install-DOCS-on:
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 post-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/scripts
 	cd ${WRKSRC}/misc && ${COPYTREE_SHARE} "natool quitcd" \
 		${STAGEDIR}${EXAMPLESDIR}/scripts
 	cd ${WRKSRC} && ${COPYTREE_SHARE} plugins ${STAGEDIR}${EXAMPLESDIR}
diff --git a/misc/nnn/distinfo b/misc/nnn/distinfo
index 798a080814a4..6733551d53d0 100644
--- a/misc/nnn/distinfo
+++ b/misc/nnn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1743022867
-SHA256 (nnn-v5.1.tar.gz) = c88af1c6eea22e0638a617da2e3103cc1d9b4b3817404db7ca2cb2c05208ec45
-SIZE (nnn-v5.1.tar.gz) = 260314
+TIMESTAMP = 1771051150
+SHA256 (nnn-v5.2.tar.gz) = cb31dd220f74d15744e3fcbf402a99a426301b207babc6ffe7a6e33a06b1bd0c
+SIZE (nnn-v5.2.tar.gz) = 269577