git: 0534600d6448 - main - misc/nnn: Update 5.0 => 5.1

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 28 Mar 2025 11:35:07 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0534600d6448cdc4c18f3c484f8c8031490d6ac4

commit 0534600d6448cdc4c18f3c484f8c8031490d6ac4
Author:     Bartek Jasicki <thindil@laeran.pl.eu.org>
AuthorDate: 2025-03-28 11:24:47 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-03-28 11:33:28 +0000

    misc/nnn: Update 5.0 => 5.1
    
    Changelog:
    https://github.com/jarun/nnn/releases/tag/v5.1
    
    PR:     285601
---
 misc/nnn/Makefile | 12 ++++++------
 misc/nnn/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/misc/nnn/Makefile b/misc/nnn/Makefile
index d60cb0b63ca4..207ce3a47379 100644
--- a/misc/nnn/Makefile
+++ b/misc/nnn/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	nnn
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5.0
+DISTVERSION=	5.1
 CATEGORIES=	misc shells
-MASTER_SITES=   GH
+MASTER_SITES=	https://github.com/jarun/${PORTNAME}/releases/download/${DISTVERSIONFULL}/
 
 MAINTAINER=	thindil@laeran.pl.eu.org
 COMMENT=	Missing terminal file browser for X
@@ -14,14 +14,14 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	gsed:textproc/gsed
 
 USES=		compiler:c11 gmake localbase ncurses readline
-USE_GITHUB=	yes
-GH_ACCOUNT=	jarun
 
 MAKE_ARGS=	CFLAGS_OPTIMIZATION= \
 		LDLIBS_CURSES=-lncursesw \
 		MANPREFIX=${PREFIX}/share/man \
-		PKG_CONFIG=/usr/bin/true \
-		STRIP_CMD="${STRIP_CMD}"
+		PKG_CONFIG=/usr/bin/true
+INSTALL_TARGET=	strip install
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 
 PLIST_FILES=	bin/nnn \
 		etc/bash_completion.d/nnn-completion.bash \
diff --git a/misc/nnn/distinfo b/misc/nnn/distinfo
index faf1674f5e33..798a080814a4 100644
--- a/misc/nnn/distinfo
+++ b/misc/nnn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1725880044
-SHA256 (jarun-nnn-v5.0_GH0.tar.gz) = 31e8fd85f3dd7ab2bf0525c3c0926269a1e6d35a5343a6714315642370d8605a
-SIZE (jarun-nnn-v5.0_GH0.tar.gz) = 258474
+TIMESTAMP = 1743022867
+SHA256 (nnn-v5.1.tar.gz) = c88af1c6eea22e0638a617da2e3103cc1d9b4b3817404db7ca2cb2c05208ec45
+SIZE (nnn-v5.1.tar.gz) = 260314