git: ac9302cad682 - main - Add textproc/fcitx5-m17n: Multilingualization support for Fcitx5

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Wed, 04 Jan 2023 20:57:48 UTC
The branch main has been updated by lwhsu:

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

commit ac9302cad6827ce0ce4beb80b1be9a7a47658adb
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2023-01-04 20:57:22 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2023-01-04 20:57:22 +0000

    Add textproc/fcitx5-m17n: Multilingualization support for Fcitx5
---
 textproc/Makefile              |  1 +
 textproc/fcitx5-m17n/Makefile  | 20 ++++++++++++++++++++
 textproc/fcitx5-m17n/distinfo  |  3 +++
 textproc/fcitx5-m17n/pkg-descr |  2 ++
 textproc/fcitx5-m17n/pkg-plist | 15 +++++++++++++++
 5 files changed, 41 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 6077cd553287..00a94edf7efa 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -203,6 +203,7 @@
     SUBDIR += fcitx5-configtool
     SUBDIR += fcitx5-gtk
     SUBDIR += fcitx5-lua
+    SUBDIR += fcitx5-m17n
     SUBDIR += fcitx5-qt
     SUBDIR += fcitx5-qt-common
     SUBDIR += fex
diff --git a/textproc/fcitx5-m17n/Makefile b/textproc/fcitx5-m17n/Makefile
new file mode 100644
index 000000000000..25f96995d60d
--- /dev/null
+++ b/textproc/fcitx5-m17n/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	fcitx5-m17n
+PORTVERSION=	5.0.11
+CATEGORIES=	textproc
+
+MAINTAINER=	lwhsu@FreeBSD.org
+COMMENT=	Multilingualization support for Fcitx5
+WWW=		https://github.com/fcitx/fcitx5-m17n
+
+LICENSE=	LGPL21+
+LICENSE_FILE=	${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt
+
+LIB_DEPENDS=	libFcitx5Core.so:textproc/fcitx5 \
+		libm17n.so:devel/m17n-lib
+
+USES=		cmake gettext pkgconfig
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	fcitx
+
+.include <bsd.port.mk>
diff --git a/textproc/fcitx5-m17n/distinfo b/textproc/fcitx5-m17n/distinfo
new file mode 100644
index 000000000000..38d9dbfc1e98
--- /dev/null
+++ b/textproc/fcitx5-m17n/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1672862738
+SHA256 (fcitx-fcitx5-m17n-5.0.11_GH0.tar.gz) = f37cf47837863ceee96136ef432746e4083fff34af95708303ad82485d09f93d
+SIZE (fcitx-fcitx5-m17n-5.0.11_GH0.tar.gz) = 26069
diff --git a/textproc/fcitx5-m17n/pkg-descr b/textproc/fcitx5-m17n/pkg-descr
new file mode 100644
index 000000000000..b6044eb70504
--- /dev/null
+++ b/textproc/fcitx5-m17n/pkg-descr
@@ -0,0 +1,2 @@
+The libm17n, a multilingual input method engine, backend of the Fcitx5 IM
+framework.
diff --git a/textproc/fcitx5-m17n/pkg-plist b/textproc/fcitx5-m17n/pkg-plist
new file mode 100644
index 000000000000..8694adfaa5ee
--- /dev/null
+++ b/textproc/fcitx5-m17n/pkg-plist
@@ -0,0 +1,15 @@
+lib/fcitx5/m17n.so
+share/fcitx5/addon/m17n.conf
+share/fcitx5/m17n/default
+share/locale/ca/LC_MESSAGES/fcitx5-m17n.mo
+share/locale/da/LC_MESSAGES/fcitx5-m17n.mo
+share/locale/de/LC_MESSAGES/fcitx5-m17n.mo
+share/locale/he/LC_MESSAGES/fcitx5-m17n.mo
+share/locale/ja/LC_MESSAGES/fcitx5-m17n.mo
+share/locale/ko/LC_MESSAGES/fcitx5-m17n.mo
+share/locale/ru/LC_MESSAGES/fcitx5-m17n.mo
+share/locale/tr/LC_MESSAGES/fcitx5-m17n.mo
+share/locale/vi/LC_MESSAGES/fcitx5-m17n.mo
+share/locale/zh_CN/LC_MESSAGES/fcitx5-m17n.mo
+share/locale/zh_TW/LC_MESSAGES/fcitx5-m17n.mo
+share/metainfo/org.fcitx.Fcitx5.Addon.M17N.metainfo.xml