diff --git a/chinese/Makefile b/chinese/Makefile index 4f521a2331f5..8328f021341d 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -1,140 +1,141 @@ COMMENT = Chinese support SUBDIR += CJKUnifonts SUBDIR += CNS11643-font SUBDIR += FreeWnn-lib SUBDIR += FreeWnn-server SUBDIR += arphicttf SUBDIR += aterm SUBDIR += auto-cn-l10n SUBDIR += auto-tw-l10n SUBDIR += autoconvert SUBDIR += big5width SUBDIR += bitchx SUBDIR += brise SUBDIR += bsdconv-opencc SUBDIR += bug5 SUBDIR += c2t SUBDIR += cconv SUBDIR += celvis SUBDIR += chiconv SUBDIR += chinese-calendar SUBDIR += cless SUBDIR += cnprint SUBDIR += dictd-database SUBDIR += enscript SUBDIR += eterm SUBDIR += fandol SUBDIR += fcitx SUBDIR += fcitx-chewing SUBDIR += fcitx-cloudpinyin SUBDIR += fcitx-configtool SUBDIR += fcitx-libpinyin SUBDIR += fcitx-rime SUBDIR += fcitx-table-extra SUBDIR += fcitx-ui-light SUBDIR += fcitx5-chewing SUBDIR += fcitx5-chinese-addons + SUBDIR += fcitx5-mcbopomofo SUBDIR += fcitx5-rime SUBDIR += fcitx5-table-extra SUBDIR += fcitx5-table-other SUBDIR += fireflyttf SUBDIR += font-std SUBDIR += fortunetw SUBDIR += gb2jis SUBDIR += gb2ps SUBDIR += gcin SUBDIR += gcin-gtk3 SUBDIR += gcin-qt5 SUBDIR += gydict SUBDIR += hc SUBDIR += ibus-cangjie SUBDIR += ibus-chewing SUBDIR += ibus-libpinyin SUBDIR += ibus-pinyin SUBDIR += ibus-rime SUBDIR += ibus-table-chinese SUBDIR += jis2gb SUBDIR += kcfonts SUBDIR += libcangjie SUBDIR += libchewing SUBDIR += libime SUBDIR += libime-jyutping SUBDIR += libpinyin SUBDIR += libreoffice-zh_CN SUBDIR += libreoffice-zh_TW SUBDIR += librime SUBDIR += libtabe SUBDIR += linux-wps-office-zh_CN SUBDIR += lunar SUBDIR += moettf SUBDIR += muni SUBDIR += oicq SUBDIR += opencc SUBDIR += opendesktop-fonts SUBDIR += oto SUBDIR += p5-Date-Chinese SUBDIR += p5-Encode-CNMap SUBDIR += p5-Encode-HanConvert SUBDIR += p5-Encode-HanExtra SUBDIR += p5-Lingua-Han-PinYin SUBDIR += p5-Lingua-Han-Utils SUBDIR += p5-Lingua-ZH-HanDetect SUBDIR += p5-Lingua-ZH-Keywords SUBDIR += p5-Lingua-ZH-Numbers SUBDIR += p5-Lingua-ZH-Romanize-Pinyin SUBDIR += p5-Lingua-ZH-Segment SUBDIR += p5-Lingua-ZH-Summarize SUBDIR += p5-Lingua-ZH-TaBE SUBDIR += p5-Lingua-ZH-Toke SUBDIR += p5-Lingua-ZH-WordSegmenter SUBDIR += p5-Lingua-ZH-Wrap SUBDIR += p5-Text-Greeking-zh_TW SUBDIR += pcmanx SUBDIR += php-opencc SUBDIR += phpbb-tw SUBDIR += phpbb3-tw SUBDIR += pycangjie SUBDIR += pyzy SUBDIR += qe SUBDIR += rime-array SUBDIR += rime-bopomofo SUBDIR += rime-cangjie SUBDIR += rime-cantonese SUBDIR += rime-combo-pinyin SUBDIR += rime-data-full SUBDIR += rime-double-pinyin SUBDIR += rime-emoji SUBDIR += rime-essay SUBDIR += rime-ipa SUBDIR += rime-jyutping SUBDIR += rime-luna-pinyin SUBDIR += rime-middle-chinese SUBDIR += rime-pinyin-simp SUBDIR += rime-prelude SUBDIR += rime-quick SUBDIR += rime-scj SUBDIR += rime-soutzoe SUBDIR += rime-stenotype SUBDIR += rime-stroke SUBDIR += rime-terra-pinyin SUBDIR += rime-wubi SUBDIR += rime-wugniu SUBDIR += scim-fcitx SUBDIR += scim-pinyin SUBDIR += scim-tables SUBDIR += sourcehansans-sc-otf SUBDIR += sourcehansans-tc-otf SUBDIR += sourcehanserif-sc-otf SUBDIR += sourcehanserif-tc-otf SUBDIR += taipeisanstc SUBDIR += tin SUBDIR += tintin++ SUBDIR += ttf2pt1 SUBDIR += ttfm SUBDIR += ve SUBDIR += wenju SUBDIR += wordpress-zh_CN SUBDIR += wordpress-zh_TW .include diff --git a/chinese/fcitx5-mcbopomofo/Makefile b/chinese/fcitx5-mcbopomofo/Makefile new file mode 100644 index 000000000000..ce72f17f33fe --- /dev/null +++ b/chinese/fcitx5-mcbopomofo/Makefile @@ -0,0 +1,24 @@ +PORTNAME= fcitx5-mcbopomofo +DISTVERSION= 2.4.2 +CATEGORIES= chinese textproc + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= McBopomofo for Fcitx5 +WWW= https://github.com/openvanilla/fcitx5-mcbopomofo + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 \ + libfmt.so:devel/libfmt + +USES= cmake compiler:c++17-lang gettext-tools kde:5 pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= openvanilla + +USE_KDE= ecm + +CMAKE_ARGS= -DENABLE_TEST=Off + +.include diff --git a/chinese/fcitx5-mcbopomofo/distinfo b/chinese/fcitx5-mcbopomofo/distinfo new file mode 100644 index 000000000000..42ac2733a5bc --- /dev/null +++ b/chinese/fcitx5-mcbopomofo/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672392270 +SHA256 (openvanilla-fcitx5-mcbopomofo-2.4.2_GH0.tar.gz) = 90061879b11db13b8fe1397888e7d100656de8cc6107fccddd4ab2bd8e8ad85d +SIZE (openvanilla-fcitx5-mcbopomofo-2.4.2_GH0.tar.gz) = 1858726 diff --git a/chinese/fcitx5-mcbopomofo/files/patch-src_McBopomofo.cpp b/chinese/fcitx5-mcbopomofo/files/patch-src_McBopomofo.cpp new file mode 100644 index 000000000000..c3a90e397bdc --- /dev/null +++ b/chinese/fcitx5-mcbopomofo/files/patch-src_McBopomofo.cpp @@ -0,0 +1,10 @@ +--- src/McBopomofo.cpp.orig 2022-12-30 09:01:33 UTC ++++ src/McBopomofo.cpp +@@ -31,6 +31,7 @@ + #include + + #include ++#include + #include + #include + diff --git a/chinese/fcitx5-mcbopomofo/pkg-descr b/chinese/fcitx5-mcbopomofo/pkg-descr new file mode 100644 index 000000000000..f007a3752ae6 --- /dev/null +++ b/chinese/fcitx5-mcbopomofo/pkg-descr @@ -0,0 +1 @@ +McBopomofo support for Fcitx5 input method framework. diff --git a/chinese/fcitx5-mcbopomofo/pkg-plist b/chinese/fcitx5-mcbopomofo/pkg-plist new file mode 100644 index 000000000000..91430a34d614 --- /dev/null +++ b/chinese/fcitx5-mcbopomofo/pkg-plist @@ -0,0 +1,16 @@ +lib/fcitx5/mcbopomofo.so +share/fcitx5/addon/mcbopomofo.conf +share/fcitx5/data/mcbopomofo-add-phrase-hook.sh +share/fcitx5/data/mcbopomofo-data-plain-bpmf.txt +share/fcitx5/data/mcbopomofo-data.txt +share/fcitx5/inputmethod/mcbopomofo-plain.conf +share/fcitx5/inputmethod/mcbopomofo.conf +share/icons/hicolor/24x24/apps/fcitx-mcbopomofo.png +share/icons/hicolor/24x24/apps/org.fcitx.Fcitx5.fcitx-mcbopomofo.png +share/icons/hicolor/32x32/apps/fcitx-mcbopomofo.png +share/icons/hicolor/32x32/apps/org.fcitx.Fcitx5.fcitx-mcbopomofo.png +share/icons/hicolor/64x64/apps/fcitx-mcbopomofo.png +share/icons/hicolor/64x64/apps/org.fcitx.Fcitx5.fcitx-mcbopomofo.png +share/locale/en/LC_MESSAGES/fcitx5-mcbopomofo.mo +share/locale/zh_TW/LC_MESSAGES/fcitx5-mcbopomofo.mo +share/metainfo/org.fcitx.Fcitx5.Addon.McBopomofo.metainfo.xml