git: 3cd0a2c88a1e - main - sysutils/less: update to 661

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Wed, 24 Jul 2024 19:05:15 UTC
The branch main has been updated by uzsolt:

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

commit 3cd0a2c88a1e3fe8e6536554304d93b446f2a865
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2024-07-24 19:00:45 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-07-24 19:00:45 +0000

    sysutils/less: update to 661
    
    Add gmake to USES.
    Remove GNU_CONFIGURE_MANPREFIX.
    Pet portclippy.
    
    Changelog: https://www.greenwoodsoftware.com/less/news.661.html
    
    PR:             280243
    Approved by:    jharris@widomaker.com (maintainer)
---
 sysutils/less/Makefile | 16 +++++++---------
 sysutils/less/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/sysutils/less/Makefile b/sysutils/less/Makefile
index 6da68eba50d1..5b6b20d78c19 100644
--- a/sysutils/less/Makefile
+++ b/sysutils/less/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	less
-PORTVERSION=	551
-PORTREVISION=	2
+DISTVERSION=	661
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.greenwoodsoftware.com/less/
 
@@ -13,11 +12,10 @@ LICENSE_COMB=	dual
 LICENSE_FILE_GPLv3+ =	${WRKSRC}/COPYING
 LICENSE_FILE_MIT=	${WRKSRC}/LICENSE
 
-USES=		cpe ncurses
+USES=		cpe gmake ncurses
 
 CPE_VENDOR=	gnu
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 PLIST_FILES=	bin/less \
 		bin/lessecho \
@@ -29,13 +27,13 @@ PLIST_FILES=	bin/less \
 OPTIONS_DEFINE=		COLORS PCRE
 OPTIONS_DEFAULT=	COLORS PCRE
 
+COLORS_DESC=		Enable colors support via escape sequence
+COLORS_CPPFLAGS=	-DCOLOR_LESS
+
+PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
 PCRE_USES=		localbase
 PCRE_CONFIGURE_ON=	--with-regex=pcre
-PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
-PCRE_LDFLAGS=		-L${LOCALBASE}/lib -lpcre
 PCRE_CONFIGURE_OFF=	--with-regex=posix
-
-COLORS_DESC=		Enable colors support via escape sequence
-COLORS_CPPFLAGS=	-DCOLOR_LESS
+PCRE_LDFLAGS=		-L${LOCALBASE}/lib -lpcre
 
 .include <bsd.port.mk>
diff --git a/sysutils/less/distinfo b/sysutils/less/distinfo
index 8eac56099940..646471ae07f4 100644
--- a/sysutils/less/distinfo
+++ b/sysutils/less/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1586909564
-SHA256 (less-551.tar.gz) = ff165275859381a63f19135a8f1f6c5a194d53ec3187f94121ecd8ef0795fe3d
-SIZE (less-551.tar.gz) = 347007
+TIMESTAMP = 1720807390
+SHA256 (less-661.tar.gz) = 2b5f0167216e3ef0ffcb0c31c374e287eb035e4e223d5dae315c2783b6e738ed
+SIZE (less-661.tar.gz) = 648198