git: 5c096553f883 - main - devel/cligen: Update to 5.8.0

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Mon, 29 Aug 2022 17:23:27 UTC
The branch main has been updated by garga:

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

commit 5c096553f8832eecdc0ec1c8af365fdeb36073f7
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2022-08-29 15:12:18 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2022-08-29 17:23:23 +0000

    devel/cligen: Update to 5.8.0
    
    Added some macros on pkg-plist to automatically use PORTVERSION on
    libraries and make upgrade process easier on future versions.
    
    Approved by:    Dave Cornejo <dcornejo@netgate.com> (maintainer)
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 devel/cligen/Makefile  | 5 ++++-
 devel/cligen/distinfo  | 6 +++---
 devel/cligen/pkg-plist | 4 ++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/devel/cligen/Makefile b/devel/cligen/Makefile
index 883ed3c099ca..5e067be110d1 100644
--- a/devel/cligen/Makefile
+++ b/devel/cligen/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	cligen
-PORTVERSION=	5.6.0
+PORTVERSION=	5.8.0
 CATEGORIES=	devel
 
 MAINTAINER=	dcornejo@netgate.com
@@ -16,4 +16,7 @@ GH_ACCOUNT=	clicon
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 
+PLIST_SUB=	LIBMAJORVERSION=${PORTVERSION:R:R} \
+		LIBVERSION=${PORTVERSION:R}
+
 .include <bsd.port.mk>
diff --git a/devel/cligen/distinfo b/devel/cligen/distinfo
index 76ececd36432..58de7473e5a3 100644
--- a/devel/cligen/distinfo
+++ b/devel/cligen/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1649415244
-SHA256 (clicon-cligen-5.6.0_GH0.tar.gz) = fc8a295a47c752a557f779c177e50f681791bc9995518236326f625e14d56f06
-SIZE (clicon-cligen-5.6.0_GH0.tar.gz) = 781493
+TIMESTAMP = 1661785168
+SHA256 (clicon-cligen-5.8.0_GH0.tar.gz) = 5fab5b60eab76115867b52ee5ea7f3e21c6d71095bcd86f06a6874884600488e
+SIZE (clicon-cligen-5.8.0_GH0.tar.gz) = 793460
diff --git a/devel/cligen/pkg-plist b/devel/cligen/pkg-plist
index da85e0bad60d..13ed54e77e5c 100644
--- a/devel/cligen/pkg-plist
+++ b/devel/cligen/pkg-plist
@@ -17,5 +17,5 @@ include/cligen/cligen_result.h
 include/cligen/cligen_syntax.h
 include/cligen/cligen_util.h
 lib/libcligen.so
-lib/libcligen.so.5
-lib/libcligen.so.5.6
+lib/libcligen.so.%%LIBMAJORVERSION%%
+lib/libcligen.so.%%LIBVERSION%%