git: eccefd5927bd - main - archivers/lizard: update to 2.1

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Thu, 06 Feb 2025 08:40:19 UTC
The branch main has been updated by tagattie:

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

commit eccefd5927bd67505de8f290d9376508e2272113
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-02-06 08:38:58 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-02-06 08:40:12 +0000

    archivers/lizard: update to 2.1
    
    Changelog: https://github.com/inikep/lizard/blob/v2.1/CHANGELOG
    
    Reported by:    GitHub (watch releases)
---
 archivers/lizard/Makefile  | 10 +++++-----
 archivers/lizard/distinfo  |  6 +++---
 archivers/lizard/pkg-plist |  4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/archivers/lizard/Makefile b/archivers/lizard/Makefile
index 6b5fcd1ba4b6..d91c82b7edb6 100644
--- a/archivers/lizard/Makefile
+++ b/archivers/lizard/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	lizard
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.0
-PORTREVISION=	2
+DISTVERSION=	2.1
 CATEGORIES=	archivers
 
 MAINTAINER=	tagattie@FreeBSD.org
@@ -18,12 +17,13 @@ CPE_VENDOR=	lizard_project
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	inikep
-GH_TAGNAME=	af8518ccb8c68e062a8c80205ff07d56a2e77dd4
 
 USE_LDCONFIG=	yes
 
+PLIST_SUB=	DISTVERSION=${DISTVERSION}
+
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lizard \
-		${STAGEDIR}${PREFIX}/lib/liblizard.so.1.0.0
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lizard \
+		${STAGEDIR}${PREFIX}/lib/liblizard.so.${DISTVERSION}.0
 
 .include <bsd.port.mk>
diff --git a/archivers/lizard/distinfo b/archivers/lizard/distinfo
index 9c702f53a109..4d26db654e2f 100644
--- a/archivers/lizard/distinfo
+++ b/archivers/lizard/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1706687556
-SHA256 (inikep-lizard-v1.0-af8518ccb8c68e062a8c80205ff07d56a2e77dd4_GH0.tar.gz) = 8974cd29527741c43e21eb6b82a30c6d10fa55fd3909b0c44011acb169ee6a00
-SIZE (inikep-lizard-v1.0-af8518ccb8c68e062a8c80205ff07d56a2e77dd4_GH0.tar.gz) = 214408
+TIMESTAMP = 1738830121
+SHA256 (inikep-lizard-v2.1_GH0.tar.gz) = 0c1a7efceeb8ae66bfa2b7b659f01dec120925d846b01ce4dfc6960ba8cd61e5
+SIZE (inikep-lizard-v2.1_GH0.tar.gz) = 228739
diff --git a/archivers/lizard/pkg-plist b/archivers/lizard/pkg-plist
index 02083f954fb4..51ed93030eb0 100644
--- a/archivers/lizard/pkg-plist
+++ b/archivers/lizard/pkg-plist
@@ -7,8 +7,8 @@ include/lizard_decompress.h
 include/lizard_frame.h
 lib/liblizard.a
 lib/liblizard.so
-lib/liblizard.so.1
-lib/liblizard.so.1.0.0
+lib/liblizard.so.2
+lib/liblizard.so.%%DISTVERSION%%.0
 libdata/pkgconfig/liblizard.pc
 share/man/man1/lizard.1.gz
 share/man/man1/lizardcat.1.gz