git: fbbf1b3e2e50 - main - editors/nano: Update to 6.2

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 24 Apr 2022 12:10:51 UTC
The branch main has been updated by diizzy:

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

commit fbbf1b3e2e50da5836b6ae53a5668e21ec389662
Author:     takefu <takefu@airport.fm>
AuthorDate: 2022-04-24 11:54:16 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-04-24 12:10:13 +0000

    editors/nano: Update to 6.2
    
    Changelog: https://www.nano-editor.org/news.php
    
    PR:             262087
    Approved by:    danilo (maintainer timeout, 2+ months)
---
 editors/nano/Makefile | 23 ++++++++---------------
 editors/nano/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 18 deletions(-)

diff --git a/editors/nano/Makefile b/editors/nano/Makefile
index f21f1771a213..a23c60dfab01 100644
--- a/editors/nano/Makefile
+++ b/editors/nano/Makefile
@@ -1,7 +1,7 @@
 # Created by: Philippe Lefebvre <nemesis@balistik.net>
 
 PORTNAME=	nano
-DISTVERSION=	6.0
+DISTVERSION=	6.2
 CATEGORIES=	editors
 MASTER_SITES=	https://www.nano-editor.org/dist/v${DISTVERSION:R:R}/ GNU
 
@@ -12,33 +12,26 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		charsetfix ncurses pkgconfig tar:xz
-
 GNU_CONFIGURE=	yes
-
 CONFIGURE_ARGS=	--docdir=${DOCSDIR} --enable-utf8
-
 MAKE_ARGS+=	install_htmlmanDATA=install-htmlmanDATA
-
+PORTSCOUT=	limitw:1,even
+INFO=		nano
 OPTIONS_DEFINE=	DOCS EXAMPLES NLS
 OPTIONS_SUB=	yes
-
 NLS_USES=		gettext localbase
 NLS_CONFIGURE_ENABLE=	nls
 
-INFO=		nano
-
-PORTSCOUT=	limitw:1,even
-
 post-patch:
-	${REINPLACE_CMD} -e 's/^groff.*/false/' ${WRKSRC}/configure
-
-post-install-EXAMPLES-on:
-	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/sample.nanorc ${STAGEDIR}${EXAMPLESDIR}
+	@${REINPLACE_CMD} -e 's/^groff.*/false/' ${WRKSRC}/configure
 
 post-install-DOCS-on:
 .for doc in nano.1.html rnano.1.html nanorc.5.html
 	${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
 .endfor
 
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/sample.nanorc ${STAGEDIR}${EXAMPLESDIR}
+
 .include <bsd.port.mk>
diff --git a/editors/nano/distinfo b/editors/nano/distinfo
index f306dbe0170c..786c0c10f8fc 100644
--- a/editors/nano/distinfo
+++ b/editors/nano/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642365719
-SHA256 (nano-6.0.tar.xz) = 93ac8cb68b4ad10e0aaeb80a2dd15c5bb89eb665a4844f7ad01c67efcb169ea2
-SIZE (nano-6.0.tar.xz) = 1509388
+TIMESTAMP = 1646688395
+SHA256 (nano-6.2.tar.xz) = 2bca1804bead6aaf4ad791f756e4749bb55ed860eec105a97fba864bc6a77cb3
+SIZE (nano-6.2.tar.xz) = 1531800