git: c2d2ce0b0b76 - main - Add japanese/fcitx5-skk: SKK input method for fcitx5

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Tue, 04 Nov 2025 20:27:44 UTC
The branch main has been updated by lwhsu:

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

commit c2d2ce0b0b76dc2e5e3196675f2ec29ba7e7c3f5
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2025-11-04 01:19:50 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2025-11-04 20:25:12 +0000

    Add japanese/fcitx5-skk: SKK input method for fcitx5
    
    PR:             290779
---
 japanese/Makefile             |  1 +
 japanese/fcitx5-skk/Makefile  | 32 ++++++++++++++++++++++++++++++++
 japanese/fcitx5-skk/distinfo  |  3 +++
 japanese/fcitx5-skk/pkg-descr |  2 ++
 japanese/fcitx5-skk/pkg-plist | 28 ++++++++++++++++++++++++++++
 5 files changed, 66 insertions(+)

diff --git a/japanese/Makefile b/japanese/Makefile
index 9146c16637ca..cb38fc76373e 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -53,6 +53,7 @@
     SUBDIR += fcitx-skk
     SUBDIR += fcitx5-anthy
     SUBDIR += fcitx5-cskk
+    SUBDIR += fcitx5-skk
     SUBDIR += flower-fpw
     SUBDIR += foldoc-fpw
     SUBDIR += font-aozoramincho
diff --git a/japanese/fcitx5-skk/Makefile b/japanese/fcitx5-skk/Makefile
new file mode 100644
index 000000000000..ecd499d91fc3
--- /dev/null
+++ b/japanese/fcitx5-skk/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	fcitx5-skk
+DISTVERSION=	5.1.8
+CATEGORIES=	japanese textproc
+MASTER_SITES=	https://download.fcitx-im.org/fcitx5/fcitx5-skk/
+
+MAINTAINER=	mew14930xvi@inbox.lv
+COMMENT=	SKK Kana-Kanji inputmethod for fcitx5
+WWW=		https://github.com/fcitx/fcitx5-skk
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSES/GPL-3.0-or-later.txt
+
+LIB_DEPENDS=	libFcitx5Core.so:textproc/fcitx5 \
+		libskk.so:japanese/libskk
+RUN_DEPENDS=	${LOCALBASE}/share/skk/SKK-JISYO.L:japanese/skk-jisyo
+
+USES=		cmake compiler:c++17-lang gettext-tools gnome pkgconfig tar:zst
+USE_GNOME=	glib20
+
+CMAKE_ARGS+=	-DSKK_DEFAULT_PATH=${LOCALBASE}/share/skk/SKK-JISYO.L
+
+OPTIONS_DEFINE=	QT6
+OPTIONS_DEFAULT=	QT6
+OPTIONS_SUB=	yes
+
+QT6_DESC=	Enable Qt for GUI configuration
+QT6_LIB_DEPENDS=	libFcitx5Qt6WidgetsAddons.so:textproc/fcitx5-qt@qt6
+QT6_USES=	kde:6 qt:6
+QT6_USE=	KDE=ecm QT=tools:build,base
+QT6_CMAKE_BOOL=	ENABLE_QT
+
+.include <bsd.port.mk>
diff --git a/japanese/fcitx5-skk/distinfo b/japanese/fcitx5-skk/distinfo
new file mode 100644
index 000000000000..8b7438977e22
--- /dev/null
+++ b/japanese/fcitx5-skk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1762083384
+SHA256 (fcitx5-skk-5.1.8.tar.zst) = 15295a25dfb15f7a65a7e13f90b1130fd16dd68c6b40cf9c4768cf9b84efb340
+SIZE (fcitx5-skk-5.1.8.tar.zst) = 56380
diff --git a/japanese/fcitx5-skk/pkg-descr b/japanese/fcitx5-skk/pkg-descr
new file mode 100644
index 000000000000..7fa0d78b521f
--- /dev/null
+++ b/japanese/fcitx5-skk/pkg-descr
@@ -0,0 +1,2 @@
+Fcitx5-skk is an input method engine for Fcitx5, which uses libskk as
+its backend.
diff --git a/japanese/fcitx5-skk/pkg-plist b/japanese/fcitx5-skk/pkg-plist
new file mode 100644
index 000000000000..3b082eae9b75
--- /dev/null
+++ b/japanese/fcitx5-skk/pkg-plist
@@ -0,0 +1,28 @@
+%%QT6%%lib/fcitx5/qt6/libfcitx5-skk-config.so
+lib/fcitx5/skk.so
+share/fcitx5/addon/skk.conf
+share/fcitx5/inputmethod/skk.conf
+share/fcitx5/skk/dictionary_list
+share/icons/hicolor/16x16/apps/fcitx_skk.png
+share/icons/hicolor/16x16/apps/org.fcitx.Fcitx5.fcitx_skk.png
+share/icons/hicolor/22x22/apps/fcitx_skk.png
+share/icons/hicolor/22x22/apps/org.fcitx.Fcitx5.fcitx_skk.png
+share/icons/hicolor/24x24/apps/fcitx_skk.png
+share/icons/hicolor/24x24/apps/org.fcitx.Fcitx5.fcitx_skk.png
+share/icons/hicolor/48x48/apps/fcitx_skk.png
+share/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx_skk.png
+share/icons/hicolor/64x64/apps/fcitx_skk.png
+share/icons/hicolor/64x64/apps/org.fcitx.Fcitx5.fcitx_skk.png
+share/locale/ca/LC_MESSAGES/fcitx5-skk.mo
+share/locale/da/LC_MESSAGES/fcitx5-skk.mo
+share/locale/de/LC_MESSAGES/fcitx5-skk.mo
+share/locale/fr/LC_MESSAGES/fcitx5-skk.mo
+share/locale/he/LC_MESSAGES/fcitx5-skk.mo
+share/locale/ja/LC_MESSAGES/fcitx5-skk.mo
+share/locale/ko/LC_MESSAGES/fcitx5-skk.mo
+share/locale/ru/LC_MESSAGES/fcitx5-skk.mo
+share/locale/tr/LC_MESSAGES/fcitx5-skk.mo
+share/locale/vi/LC_MESSAGES/fcitx5-skk.mo
+share/locale/zh_CN/LC_MESSAGES/fcitx5-skk.mo
+share/locale/zh_TW/LC_MESSAGES/fcitx5-skk.mo
+share/metainfo/org.fcitx.Fcitx5.Addon.Skk.metainfo.xml