diff --git a/chinese/Makefile b/chinese/Makefile index 534a15ae021a..dd3bbae81a2c 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -1,138 +1,139 @@ 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 += bpmf-vsime SUBDIR += bsdconv-opencc SUBDIR += bug5 SUBDIR += c2t SUBDIR += cconv SUBDIR += chiconv SUBDIR += chinese-calendar SUBDIR += cless SUBDIR += cnprint SUBDIR += dictd-database SUBDIR += elffont SUBDIR += enscript SUBDIR += fandol SUBDIR += fcitx SUBDIR += fcitx-chewing SUBDIR += fcitx-cloudpinyin SUBDIR += fcitx-configtool SUBDIR += fcitx-libpinyin 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-array SUBDIR += ibus-cangjie SUBDIR += ibus-chewing SUBDIR += ibus-libpinyin SUBDIR += ibus-pinyin SUBDIR += ibus-rime SUBDIR += ibus-table-chinese SUBDIR += jis2gb 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 += opencc SUBDIR += opencc-cli 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 += phpbb3-tw SUBDIR += py-OpenCC SUBDIR += py-chinese-calendar SUBDIR += py-rjieba 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 += tintin++ SUBDIR += ttf2pt1 SUBDIR += ttfm SUBDIR += ve SUBDIR += wenju SUBDIR += wordpress-zh_CN SUBDIR += wordpress-zh_TW .include diff --git a/chinese/bpmf-vsime/Makefile b/chinese/bpmf-vsime/Makefile new file mode 100644 index 000000000000..2e36edbe6bb4 --- /dev/null +++ b/chinese/bpmf-vsime/Makefile @@ -0,0 +1,42 @@ +PORTNAME= bpmf-vsime +PORTVERSION= 1.500 +CATEGORIES= chinese +MASTER_SITES= https://github.com/ButTaiwan/bpmfvs/releases/download/v${PORTVERSION}/ +DISTNAME= Bpmf_VSIME +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= Bopomofo IVS reading selection tool +WWW= https://github.com/ButTaiwan/bpmfvs + +LICENSE= APACHE20 CC-BY-ND-3.0 MIT +LICENSE_COMB= multi +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-2.0.txt +LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT.txt + +RUN_DEPENDS= ${LOCALBASE}/share/fonts/bpmf-zihikai/BpmfZihiKaiStd-Regular.ttf:x11-fonts/bpmf-zihikai + +USES= zip + +NO_ARCH= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes + +SUB_FILES= pkg-message + +PORTDATA= index.html ime.js jquery.min.js poyin_db.js tzdic zhdicui.js \ + zhuivsdic.js zihaidic.css + +# Render with the font installed by x11-fonts/bpmf-zihikai instead of the +# copy bundled in the distfile, which is not installed. +post-patch: + @${REINPLACE_CMD} -e "s|url('BpmfZihiKaiStd-Regular.ttf')|url('../fonts/bpmf-zihikai/BpmfZihiKaiStd-Regular.ttf')|" \ + ${WRKSRC}/index.html ${WRKSRC}/zihaidic.css + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/NOTICE.txt ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include diff --git a/chinese/bpmf-vsime/distinfo b/chinese/bpmf-vsime/distinfo new file mode 100644 index 000000000000..94916e424583 --- /dev/null +++ b/chinese/bpmf-vsime/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1786519491 +SHA256 (bpmf-vsime-1.500/Bpmf_VSIME.zip) = 5418641577b378dcbfe5763726746569cbd26f62a7af19b027ae5adb3e79974f +SIZE (bpmf-vsime-1.500/Bpmf_VSIME.zip) = 13091401 diff --git a/chinese/bpmf-vsime/files/pkg-message.in b/chinese/bpmf-vsime/files/pkg-message.in new file mode 100644 index 000000000000..1b38c55bd6c3 --- /dev/null +++ b/chinese/bpmf-vsime/files/pkg-message.in @@ -0,0 +1,10 @@ +[ +{ type: install + message: <