git: aa67ac0cf4c5 - main - japanese/cskk: Update to 3.1.2

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Sun, 20 Oct 2024 20:40:21 UTC
The branch main has been updated by lwhsu:

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

commit aa67ac0cf4c5ed4d2cf94d24f3dd830e4b4524f2
Author:     SyoBoN <syobon@syobon.net>
AuthorDate: 2024-10-20 20:39:21 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2024-10-20 20:39:21 +0000

    japanese/cskk: Update to 3.1.2
    
    Release notes: https://github.com/naokiri/cskk/releases/tag/v3.1.2
    
    PR:             282195
---
 japanese/cskk/Makefile  | 9 ++++++---
 japanese/cskk/distinfo  | 6 +++---
 japanese/cskk/pkg-plist | 4 ++--
 3 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/japanese/cskk/Makefile b/japanese/cskk/Makefile
index 7c595c73e161..e6b8a73eb354 100644
--- a/japanese/cskk/Makefile
+++ b/japanese/cskk/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	cskk
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.1.1
-PORTREVISION=	5
+DISTVERSION=	3.1.2
 CATEGORIES=	japanese
 
 MAINTAINER=	syobon@syobon.net
@@ -15,10 +14,14 @@ BUILD_DEPENDS=	cargo-cbuild:devel/cargo-c
 LIB_DEPENDS=	libxkbcommon.so:x11/libxkbcommon
 
 USES=		cargo localbase:ldflags
-USE_LDCONFIG=	${PREFIX}/lib/cskk
 USE_GITHUB=	yes
 GH_ACCOUNT=	naokiri
 
+USE_LDCONFIG=	${PREFIX}/lib/cskk
+
+PLIST_SUB=	VERSION=${DISTVERSION} \
+		VERSION_MAJOR=${DISTVERSION:R:R}
+
 do-build:
 	@${CARGO_CARGO_RUN} cbuild ${CARGO_BUILD_ARGS}
 
diff --git a/japanese/cskk/distinfo b/japanese/cskk/distinfo
index afa79cdf3151..94e0c4de8d79 100644
--- a/japanese/cskk/distinfo
+++ b/japanese/cskk/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1709863772
+TIMESTAMP = 1729345031
 SHA256 (rust/crates/adler-1.0.2.crate) = f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
 SIZE (rust/crates/adler-1.0.2.crate) = 12778
 SHA256 (rust/crates/ahash-0.8.3.crate) = 2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f
@@ -611,5 +611,5 @@ SHA256 (rust/crates/xkbcommon-0.5.1.crate) = 52db25b599e92bf6e3904134618728eeb7b
 SIZE (rust/crates/xkbcommon-0.5.1.crate) = 58659
 SHA256 (rust/crates/zeroize-1.6.0.crate) = 2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9
 SIZE (rust/crates/zeroize-1.6.0.crate) = 19049
-SHA256 (naokiri-cskk-v3.1.1_GH0.tar.gz) = 6e4caddaa72c275c3a6d89bd7abdd1f4b17004f77373524d0990616e8aa7aad0
-SIZE (naokiri-cskk-v3.1.1_GH0.tar.gz) = 162922
+SHA256 (naokiri-cskk-v3.1.2_GH0.tar.gz) = 0bec9df57322e838e3ddbee746fa6013bf8ec65b413575158faec0bd86baa8fd
+SIZE (naokiri-cskk-v3.1.2_GH0.tar.gz) = 164051
diff --git a/japanese/cskk/pkg-plist b/japanese/cskk/pkg-plist
index c27ec76a1a48..2b72a0d11c05 100644
--- a/japanese/cskk/pkg-plist
+++ b/japanese/cskk/pkg-plist
@@ -1,8 +1,8 @@
 include/cskk/libcskk.h
 lib/cskk/libcskk.a
 lib/cskk/libcskk.so
-lib/cskk/libcskk.so.3
-lib/cskk/libcskk.so.3.1.1
+lib/cskk/libcskk.so.%%VERSION_MAJOR%%
+lib/cskk/libcskk.so.%%VERSION%%
 libdata/pkgconfig/cskk.pc
 share/libcskk/README.rules
 share/libcskk/rule/ascii_form.toml