git: 655780bb9b76 - main - devel/poser: Update to 1.2.1

From: Felix Palmen <zirias_at_FreeBSD.org>
Date: Wed, 28 Aug 2024 17:17:12 UTC
The branch main has been updated by zirias:

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

commit 655780bb9b76b44f567050125d18083a17f4d336
Author:     Felix Palmen <zirias@FreeBSD.org>
AuthorDate: 2024-08-26 05:39:59 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2024-08-28 17:16:44 +0000

    devel/poser: Update to 1.2.1
    
    New upstream release, adds a generic Timer implementation and many bug
    fixes.
---
 devel/poser/Makefile  | 14 ++++++++++----
 devel/poser/distinfo  |  6 +++---
 devel/poser/pkg-plist |  5 +++--
 3 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/devel/poser/Makefile b/devel/poser/Makefile
index 1155eefe28a6..9d3fea06bf85 100644
--- a/devel/poser/Makefile
+++ b/devel/poser/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=		poser
-DISTVERSION=		1.1
+DISTVERSION=		1.2.1
 CATEGORIES=		devel
 MASTER_SITES=		https://github.com/Zirias/%SUBDIR%/
 MASTER_SITE_SUBDIR=	${PORTNAME}/releases/download/v${DISTVERSION}
@@ -11,11 +11,17 @@ WWW=		https://zirias.github.io/poser/
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		compiler:c11 gmake tar:xz
+USES=		compiler:c11 gmake pkgconfig tar:xz
 
 USE_LDCONFIG=	yes
-MAKE_ARGS=	pkgconfigdir=${PREFIX}/libdata/pkgconfig V=1
-ALL_TARGET=	strip
+MAKEFILE=	GNUmakefile
+MAKE_ARGS=	pkgconfigdir=${PREFIX}/libdata/pkgconfig
+
+SOVLIST=	${DISTVERSION:S/./ /g}
+SOVMAJ=		${SOVLIST:[1]}
+SOVMIN=		${SOVLIST:[2]:C/^$/0/}
+SOVREV=		${SOVLIST:[3]:C/^$/0/}
+PLIST_SUB=	SOVMAJ=${SOVMAJ} SOVMIN=${SOVMIN} SOVREV=${SOVREV}
 PORTDOCS=	*
 
 OPTIONS_DEFINE=		DOCS DOXYGEN TLS
diff --git a/devel/poser/distinfo b/devel/poser/distinfo
index 9babc952f402..0bdf88e1af4e 100644
--- a/devel/poser/distinfo
+++ b/devel/poser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1686137203
-SHA256 (poser-1.1.tar.xz) = a8e2497f674cd5acf27e221f8013fdca2dbb473e5d3c7211d8469abe7c866a03
-SIZE (poser-1.1.tar.xz) = 74632
+TIMESTAMP = 1724609495
+SHA256 (poser-1.2.1.tar.xz) = 5d2dccaf90e044776087180da25d2da4d3085c7b77312d8d8ec99d6c3ea38581
+SIZE (poser-1.2.1.tar.xz) = 84580
diff --git a/devel/poser/pkg-plist b/devel/poser/pkg-plist
index ad35f125b43c..afa6ba0f3050 100644
--- a/devel/poser/pkg-plist
+++ b/devel/poser/pkg-plist
@@ -14,9 +14,10 @@ include/poser/core/server.h
 include/poser/core/service.h
 include/poser/core/stringbuilder.h
 include/poser/core/threadpool.h
+include/poser/core/timer.h
 include/poser/core/util.h
 include/poser/decl.h
 lib/libposercore.so
-lib/libposercore.so.1
-lib/libposercore.so.1.1.0
+lib/libposercore.so.%%SOVMAJ%%
+lib/libposercore.so.%%SOVMAJ%%.%%SOVMIN%%.%%SOVREV%%
 libdata/pkgconfig/posercore.pc