From ac9302cad6827ce0ce4beb80b1be9a7a47658adb Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Thu, 5 Jan 2023 04:57:22 +0800 Subject: [PATCH] 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(+) create mode 100644 textproc/fcitx5-m17n/Makefile create mode 100644 textproc/fcitx5-m17n/distinfo create mode 100644 textproc/fcitx5-m17n/pkg-descr create mode 100644 textproc/fcitx5-m17n/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index 6077cd5532873..00a94edf7efae 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 0000000000000..25f96995d60de --- /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 diff --git a/textproc/fcitx5-m17n/distinfo b/textproc/fcitx5-m17n/distinfo new file mode 100644 index 0000000000000..38d9dbfc1e984 --- /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 0000000000000..b6044eb70504a --- /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 0000000000000..8694adfaa5eea --- /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