Index: MOVED =================================================================== --- MOVED +++ MOVED @@ -15795,3 +15795,4 @@ www/py-qpy||2020-12-12|Has expired: Uses deprecated version of python news/py-sabyenc|news/py-sabyenc3|2020-12-12|Has expired: Uses deprecated version of python devel/py-gobject||2020-12-12|Has expired: Uses deprecated version of python +chinese/brise||2020-12-16|brise was obseleted upstream in favor of plum Index: chinese/Makefile =================================================================== --- chinese/Makefile +++ chinese/Makefile @@ -14,7 +14,6 @@ SUBDIR += autoconvert SUBDIR += big5width SUBDIR += bitchx - SUBDIR += brise SUBDIR += bsdconv-opencc SUBDIR += bug5 SUBDIR += c2t @@ -92,6 +91,8 @@ SUBDIR += pycangjie SUBDIR += pyzy SUBDIR += qe + SUBDIR += rime-data + SUBDIR += rime-cantonese SUBDIR += scim-fcitx SUBDIR += scim-pinyin SUBDIR += scim-tables Index: chinese/brise/Makefile =================================================================== --- chinese/brise/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# $FreeBSD$ - -PORTNAME= brise -PORTVERSION= 0.35 -DISTVERSIONPREFIX= ${PORTNAME}- -CATEGORIES= chinese textproc - -MAINTAINER= hiroto.kagotani@gmail.com -COMMENT= Rime Schema Repository - -LICENSE= GPLv3 - -BUILD_DEPENDS= rime_deployer:chinese/librime - -USES= gmake -USE_GITHUB= yes -GH_ACCOUNT= rime - -MAKE_ARGS+= RIME_DATA_DIR=${DATADIR} - -.include Index: chinese/brise/distinfo =================================================================== --- chinese/brise/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (rime-brise-brise-0.35_GH0.tar.gz) = 1baa756658b29a28444292f19f34608e5008b8424a041dec5cc3df2debaebd65 -SIZE (rime-brise-brise-0.35_GH0.tar.gz) = 6707359 Index: chinese/brise/pkg-descr =================================================================== --- chinese/brise/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Rime Schema Repository. - -WWW: https://rime.github.io/ Index: chinese/brise/pkg-plist =================================================================== --- chinese/brise/pkg-plist +++ /dev/null @@ -1,55 +0,0 @@ -%%DATADIR%%/bopomofo.schema.yaml -%%DATADIR%%/bopomofo_tw.schema.yaml -%%DATADIR%%/cangjie5.dict.yaml -%%DATADIR%%/cangjie5.prism.bin -%%DATADIR%%/cangjie5.reverse.bin -%%DATADIR%%/cangjie5.schema.yaml -%%DATADIR%%/cangjie5.table.bin -%%DATADIR%%/cangjie5_express.schema.yaml -%%DATADIR%%/combo_pinyin.schema.yaml -%%DATADIR%%/default.yaml -%%DATADIR%%/double_pinyin.schema.yaml -%%DATADIR%%/double_pinyin_abc.schema.yaml -%%DATADIR%%/double_pinyin_flypy.schema.yaml -%%DATADIR%%/double_pinyin_mspy.schema.yaml -%%DATADIR%%/emoji.dict.yaml -%%DATADIR%%/emoji.schema.yaml -%%DATADIR%%/essay.txt -%%DATADIR%%/ipa_xsampa.dict.yaml -%%DATADIR%%/ipa_xsampa.schema.yaml -%%DATADIR%%/jyutping.dict.yaml -%%DATADIR%%/jyutping.schema.yaml -%%DATADIR%%/luna_pinyin.dict.yaml -%%DATADIR%%/luna_pinyin.prism.bin -%%DATADIR%%/luna_pinyin.reverse.bin -%%DATADIR%%/luna_pinyin.schema.yaml -%%DATADIR%%/luna_pinyin.table.bin -%%DATADIR%%/luna_pinyin_fluency.prism.bin -%%DATADIR%%/luna_pinyin_fluency.schema.yaml -%%DATADIR%%/luna_pinyin_simp.prism.bin -%%DATADIR%%/luna_pinyin_simp.schema.yaml -%%DATADIR%%/luna_pinyin_tw.prism.bin -%%DATADIR%%/luna_pinyin_tw.schema.yaml -%%DATADIR%%/pinyin_simp.dict.yaml -%%DATADIR%%/pinyin_simp.schema.yaml -%%DATADIR%%/quick5.dict.yaml -%%DATADIR%%/quick5.schema.yaml -%%DATADIR%%/sampheng.schema.yaml -%%DATADIR%%/soutzoe.dict.yaml -%%DATADIR%%/soutzoe.schema.yaml -%%DATADIR%%/stroke.dict.yaml -%%DATADIR%%/stroke.prism.bin -%%DATADIR%%/stroke.reverse.bin -%%DATADIR%%/stroke.schema.yaml -%%DATADIR%%/stroke.table.bin -%%DATADIR%%/symbols.yaml -%%DATADIR%%/terra_pinyin.dict.yaml -%%DATADIR%%/terra_pinyin.schema.yaml -%%DATADIR%%/wubi86.dict.yaml -%%DATADIR%%/wubi86.schema.yaml -%%DATADIR%%/wubi_pinyin.schema.yaml -%%DATADIR%%/wugniu.schema.yaml -%%DATADIR%%/wugniu_lopha.dict.yaml -%%DATADIR%%/wugniu_lopha.schema.yaml -%%DATADIR%%/zyenpheng.dict.yaml -%%DATADIR%%/zyenpheng.schema.yaml Index: chinese/fcitx-rime/Makefile =================================================================== --- chinese/fcitx-rime/Makefile +++ chinese/fcitx-rime/Makefile @@ -3,24 +3,26 @@ PORTNAME= fcitx-rime PORTVERSION= 0.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= chinese MASTER_SITES= http://download.fcitx-im.org/${PORTNAME}/ DIST_SUBDIR= fcitx +PATCH_SITES= https://github.com/fcitx/${PORTNAME}/commit/ +PATCHFILES= a3a9fffb6ee89adc327ad8a7dec05d5f35414f9d.patch:-p1 + MAINTAINER= lichray@gmail.com COMMENT= RIME support for Fcitx LICENSE= GPLv2 -BUILD_DEPENDS= bash:shells/bash +BUILD_DEPENDS= bash:shells/bash \ + ${LOCALBASE}/share/rime-data/default.yaml:chinese/rime-data LIB_DEPENDS= libfcitx-config.so:chinese/fcitx \ librime.so:chinese/librime -RUN_DEPENDS= ${LOCALBASE}/share/brise/default.yaml:chinese/brise +RUN_DEPENDS= ${LOCALBASE}/share/rime-data/default.yaml:chinese/rime-data -USES= cmake gettext gnome pkgconfig tar:xz +USES= cmake gettext gnome localbase pkgconfig tar:xz INSTALLS_ICONS= yes -CMAKE_ARGS+= -DBRISE_DIR=${LOCALBASE}/share/brise - .include Index: chinese/fcitx-rime/distinfo =================================================================== --- chinese/fcitx-rime/distinfo +++ chinese/fcitx-rime/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1536696850 +TIMESTAMP = 1608116604 SHA256 (fcitx/fcitx-rime-0.3.2.tar.xz) = f97ea6f515fcc5f526cc25dce3d4ba05fa1c83001f68502d6c284ba39cd5a82d SIZE (fcitx/fcitx-rime-0.3.2.tar.xz) = 40960 +SHA256 (fcitx/a3a9fffb6ee89adc327ad8a7dec05d5f35414f9d.patch) = b108314263ab980947f92ad08ac42642cc5e5274f256bc3cb0d2e86825a78586 +SIZE (fcitx/a3a9fffb6ee89adc327ad8a7dec05d5f35414f9d.patch) = 3167 Index: chinese/rime-cantonese/Makefile =================================================================== --- /dev/null +++ chinese/rime-cantonese/Makefile @@ -0,0 +1,65 @@ +# Created by: Ka Ho Ng +# $FreeBSD$ + +PORTNAME= rime-cantonese +DISTVERSION= g20201212 +CATEGORIES= chinese textproc + +MAINTAINER= khng300@gmail.com +COMMENT= Rime Cantonese (Jyutping) schema support + +LICENSE= CC-BY-4.0 ODbL +LICENSE_COMB= multi +LICENSE_NAME_ODbL= Open Database License +LICENSE_FILE_CC-BY-4.0= ${WRKSRC}/LICENSE-CC-BY +LICENSE_FILE_ODbL= ${WRKSRC}/LICENSE-ODbL +LICENSE_PERMS_ODbL= dist-mirror dist-sell auto-accept + +BUILD_DEPENDS= rime_deployer:chinese/librime \ + ${LOCALBASE}/share/rime-data/default.yaml:chinese/rime-data +RUN_DEPENDS= ${LOCALBASE}/share/rime-data/default.yaml:chinese/rime-data + +USES= localbase + +OPTIONS_DEFINE= DOCS +OPTIONS_SUB= yes + +USE_GITHUB= yes +GH_ACCOUNT= rime +GH_TAGNAME= 99785a30d1f3bffef4142bbc7b73435a73a16cb1 + +NO_ARCH= yes + +PORTDOCS= README.md README-cmn.md README-en.md demo/* + +PRELUDE_FILES= default.yaml key_bindings.yaml punctuation.yaml symbols.yaml +ESSAY_FILES= essay.txt +SCHEMA_FILES= jyut6ping3.schema.yaml jyut6ping3_ipa.schema.yaml +OUT_DIR= ${WRKDIR}/out + +do-build: + @${MKDIR} ${OUT_DIR} + @${RLN} ${WRKSRC}/* ${OUT_DIR} +.for i in ${PRELUDE_FILES} ${ESSAY_FILES} + @${RLN} ${LOCALBASE}/share/rime-data/${i} ${OUT_DIR} +.endfor +.for i in ${SCHEMA_FILES} + rime_deployer --compile ${WRKSRC}/${i} ${OUT_DIR} +.endfor + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/rime-data + @${MKDIR} ${STAGEDIR}${PREFIX}/share/rime-data/opencc + ${INSTALL_DATA} ${WRKSRC}/opencc/* ${STAGEDIR}${PREFIX}/share/rime-data/opencc + ${INSTALL_DATA} ${WRKSRC}/*.yaml ${STAGEDIR}${PREFIX}/share/rime-data + (cd ${OUT_DIR}/build && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/rime-data/build) + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR}/demo + ${INSTALL_MAN} ${WRKSRC}/demo/* ${STAGEDIR}${DOCSDIR}/demo + ${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README-cmn.md ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README-en.md ${STAGEDIR}${DOCSDIR} + +.include Index: chinese/rime-cantonese/distinfo =================================================================== --- /dev/null +++ chinese/rime-cantonese/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1608031935 +SHA256 (rime-rime-cantonese-g20201212-99785a30d1f3bffef4142bbc7b73435a73a16cb1_GH0.tar.gz) = 0a34a829c2cf2379259cfa9fec5bea57697049aee9e5f051fb94a428d8804cc1 +SIZE (rime-rime-cantonese-g20201212-99785a30d1f3bffef4142bbc7b73435a73a16cb1_GH0.tar.gz) = 3585583 Index: chinese/rime-cantonese/pkg-descr =================================================================== --- /dev/null +++ chinese/rime-cantonese/pkg-descr @@ -0,0 +1,3 @@ +This is the Rime Jyutping schema for Cantonese input support. + +WWW: https://github.com/rime/rime-cantonese Index: chinese/rime-cantonese/pkg-plist =================================================================== --- /dev/null +++ chinese/rime-cantonese/pkg-plist @@ -0,0 +1,18 @@ +share/rime-data/build/jyut6ping3.prism.bin +share/rime-data/build/jyut6ping3.prism.txt +share/rime-data/build/jyut6ping3.reverse.bin +share/rime-data/build/jyut6ping3.schema.yaml +share/rime-data/build/jyut6ping3.table.bin +share/rime-data/build/jyut6ping3.table.txt +share/rime-data/build/jyut6ping3_ipa.prism.bin +share/rime-data/build/jyut6ping3_ipa.prism.txt +share/rime-data/build/jyut6ping3_ipa.schema.yaml +share/rime-data/jyut6ping3.dict.yaml +share/rime-data/jyut6ping3.lettered.dict.yaml +share/rime-data/jyut6ping3.maps.dict.yaml +share/rime-data/jyut6ping3.phrase.dict.yaml +share/rime-data/jyut6ping3.schema.yaml +share/rime-data/jyut6ping3_ipa.schema.yaml +share/rime-data/opencc/HKVariantsFull.txt +share/rime-data/opencc/t2hkf.json +share/rime-data/symbols_cantonese.yaml Index: chinese/rime-data/Makefile =================================================================== --- /dev/null +++ chinese/rime-data/Makefile @@ -0,0 +1,57 @@ +# Created by: Ka Ho Ng +# $FreeBSD$ + +PORTNAME= rime-data +DISTVERSION= g20201216 +CATEGORIES= chinese textproc + +MAINTAINER= khng300@gmail.com +COMMENT= Rime data files + +LICENSE= LGPL3 + +BUILD_DEPENDS= bash:shells/bash \ + rime_deployer:chinese/librime + +USES= shebangfix +SHEBANG_GLOB= *.sh *.conf + +USE_GITHUB= nodefault +GH_ACCOUNT= rime:plum,prelude,essay,luna_pinyin,bopomofo,cangjie,stroke,terra_pinyin +GH_PROJECT= plum:plum \ + rime-prelude:prelude \ + rime-essay:essay \ + rime-luna-pinyin:luna_pinyin \ + rime-bopomofo:bopomofo \ + rime-cangjie:cangjie \ + rime-stroke:stroke \ + rime-terra-pinyin:terra_pinyin +GH_TAGNAME= 2c233db:plum \ + 00a5b5a:prelude \ + 964ff5c:essay \ + 3e03d65:luna_pinyin \ + ed25098:bopomofo \ + d0f6f52:cangjie \ + ea8576d:stroke \ + 5a445e2:terra_pinyin +GH_SUBDIR= plum:plum \ + plum/package/rime/prelude:prelude \ + plum/package/rime/essay:essay \ + plum/package/rime/luna-pinyin:luna_pinyin \ + plum/package/rime/bopomofo:bopomofo \ + plum/package/rime/cangjie:cangjie \ + plum/package/rime/stroke:stroke \ + plum/package/rime/terra-pinyin:terra_pinyin + +NO_ARCH= yes + +OUT_DIR= ${WRKDIR}/out + +do-build: + (cd ${WRKSRC}/plum && no_update=1 scripts/install-packages.sh :preset ${OUT_DIR}) + rime_deployer --build ${OUT_DIR} + +do-install: + (cd ${OUT_DIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) + +.include Index: chinese/rime-data/distinfo =================================================================== --- /dev/null +++ chinese/rime-data/distinfo @@ -0,0 +1,17 @@ +TIMESTAMP = 1608114914 +SHA256 (rime-plum-2c233db_GH0.tar.gz) = 263ca3fc05f25a5dec50a875e98339b9f98b37e45b80de7111335e711c51eccc +SIZE (rime-plum-2c233db_GH0.tar.gz) = 19090 +SHA256 (rime-rime-prelude-00a5b5a_GH0.tar.gz) = 1230f10adbcbfd035eaad41574bba4fac5715dcdb8bc130c6402de8c63c089ee +SIZE (rime-rime-prelude-00a5b5a_GH0.tar.gz) = 18283 +SHA256 (rime-rime-essay-964ff5c_GH0.tar.gz) = a3390d2529633b8f58c33268a1748a1bafc7337f6ee2794877b2af4e17b1dff8 +SIZE (rime-rime-essay-964ff5c_GH0.tar.gz) = 1771535 +SHA256 (rime-rime-luna-pinyin-3e03d65_GH0.tar.gz) = 65b52882c8110bc5b4ab9a544cdacc927ccff9379184132f0a8c28d03b6ff32c +SIZE (rime-rime-luna-pinyin-3e03d65_GH0.tar.gz) = 393668 +SHA256 (rime-rime-bopomofo-ed25098_GH0.tar.gz) = cc6428129c21a7b71d26bfb87bb6f903208fde5e1291b88e5241f10cc386f574 +SIZE (rime-rime-bopomofo-ed25098_GH0.tar.gz) = 5833 +SHA256 (rime-rime-cangjie-d0f6f52_GH0.tar.gz) = ba8b7361b865c0affa20b0699698e98c9ae799bb65988cc067a1d57bed96f72a +SIZE (rime-rime-cangjie-d0f6f52_GH0.tar.gz) = 392786 +SHA256 (rime-rime-stroke-ea8576d_GH0.tar.gz) = 2c65855be8c468b3112baa569a3a1a5003ad6f1a6b0e84567427916af5113af8 +SIZE (rime-rime-stroke-ea8576d_GH0.tar.gz) = 714871 +SHA256 (rime-rime-terra-pinyin-5a445e2_GH0.tar.gz) = 224101514a35e9ee200229bb439bacf1a8c707b59774d18fbe4c4d9735532d29 +SIZE (rime-rime-terra-pinyin-5a445e2_GH0.tar.gz) = 730272 Index: chinese/rime-data/pkg-descr =================================================================== --- /dev/null +++ chinese/rime-data/pkg-descr @@ -0,0 +1,3 @@ +This contains a preset of Rime data files. + +WWW: https://github.com/rime/plum Index: chinese/rime-data/pkg-plist =================================================================== --- /dev/null +++ chinese/rime-data/pkg-plist @@ -0,0 +1,49 @@ +%%DATADIR%%/bopomofo.schema.yaml +%%DATADIR%%/bopomofo_express.schema.yaml +%%DATADIR%%/bopomofo_tw.schema.yaml +%%DATADIR%%/build/bopomofo.prism.bin +%%DATADIR%%/build/bopomofo.schema.yaml +%%DATADIR%%/build/bopomofo_tw.prism.bin +%%DATADIR%%/build/bopomofo_tw.schema.yaml +%%DATADIR%%/build/cangjie5.prism.bin +%%DATADIR%%/build/cangjie5.reverse.bin +%%DATADIR%%/build/cangjie5.schema.yaml +%%DATADIR%%/build/cangjie5.table.bin +%%DATADIR%%/build/default.yaml +%%DATADIR%%/build/luna_pinyin.prism.bin +%%DATADIR%%/build/luna_pinyin.reverse.bin +%%DATADIR%%/build/luna_pinyin.schema.yaml +%%DATADIR%%/build/luna_pinyin.table.bin +%%DATADIR%%/build/luna_pinyin_fluency.prism.bin +%%DATADIR%%/build/luna_pinyin_fluency.schema.yaml +%%DATADIR%%/build/luna_pinyin_simp.prism.bin +%%DATADIR%%/build/luna_pinyin_simp.schema.yaml +%%DATADIR%%/build/luna_quanpin.prism.bin +%%DATADIR%%/build/luna_quanpin.schema.yaml +%%DATADIR%%/build/stroke.prism.bin +%%DATADIR%%/build/stroke.reverse.bin +%%DATADIR%%/build/stroke.schema.yaml +%%DATADIR%%/build/stroke.table.bin +%%DATADIR%%/build/terra_pinyin.prism.bin +%%DATADIR%%/build/terra_pinyin.reverse.bin +%%DATADIR%%/build/terra_pinyin.schema.yaml +%%DATADIR%%/build/terra_pinyin.table.bin +%%DATADIR%%/cangjie5.dict.yaml +%%DATADIR%%/cangjie5.schema.yaml +%%DATADIR%%/cangjie5_express.schema.yaml +%%DATADIR%%/default.yaml +%%DATADIR%%/essay.txt +%%DATADIR%%/key_bindings.yaml +%%DATADIR%%/luna_pinyin.dict.yaml +%%DATADIR%%/luna_pinyin.schema.yaml +%%DATADIR%%/luna_pinyin_fluency.schema.yaml +%%DATADIR%%/luna_pinyin_simp.schema.yaml +%%DATADIR%%/luna_pinyin_tw.schema.yaml +%%DATADIR%%/luna_quanpin.schema.yaml +%%DATADIR%%/punctuation.yaml +%%DATADIR%%/stroke.dict.yaml +%%DATADIR%%/stroke.schema.yaml +%%DATADIR%%/symbols.yaml +%%DATADIR%%/terra_pinyin.dict.yaml +%%DATADIR%%/terra_pinyin.schema.yaml +%%DATADIR%%/user.yaml