git: ce8a7f64106b - main - Add x11-fonts/bpmf-genyo: Bopomofo IVS version of GenYo Min font family
Li-Wen Hsu <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce8a7f64106bbcac1c936baafe7b649e7cd7a83e commit ce8a7f64106bbcac1c936baafe7b649e7cd7a83e Author: Li-Wen Hsu <[email protected]> AuthorDate: 2026-08-12 08:46:25 +0000 Commit: Li-Wen Hsu <[email protected]> CommitDate: 2026-08-12 08:51:35 +0000 Add x11-fonts/bpmf-genyo: Bopomofo IVS version of GenYo Min font family The Bopomofo IVS fonts render a Han character together with its Bopomofo reading, selected through Ideographic Variation Sequences and Private Use Area code points. chinese/fcitx5-mcbopomofo 3.0 and later can emit such text in its Bopomofo font annotation mode, which is aimed at educators and publishers who need Bopomofo-annotated material. --- x11-fonts/Makefile | 1 + x11-fonts/bpmf-genyo/Makefile | 29 +++++++++++++++++++++++++++++ x11-fonts/bpmf-genyo/distinfo | 3 +++ x11-fonts/bpmf-genyo/pkg-descr | 11 +++++++++++ x11-fonts/bpmf-genyo/pkg-plist | 8 ++++++++ 5 files changed, 52 insertions(+) diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 06c9e56dda0e..79d029a804aa 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -33,6 +33,7 @@ SUBDIR += bpmf-genseki SUBDIR += bpmf-gensen SUBDIR += bpmf-genwan + SUBDIR += bpmf-genyo SUBDIR += c64bdf SUBDIR += cantarell-fonts SUBDIR += cascadia-code diff --git a/x11-fonts/bpmf-genyo/Makefile b/x11-fonts/bpmf-genyo/Makefile new file mode 100644 index 000000000000..81c857e21b8b --- /dev/null +++ b/x11-fonts/bpmf-genyo/Makefile @@ -0,0 +1,29 @@ +PORTNAME= bpmf-genyo +PORTVERSION= 1.500 +CATEGORIES= x11-fonts +MASTER_SITES= https://github.com/ButTaiwan/bpmfvs/releases/download/v${PORTVERSION}/ +DISTNAME= BpmfGenYoMin +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= [email protected] +COMMENT= Bopomofo IVS version of GenYo Min font family +WWW= https://github.com/ButTaiwan/bpmfvs + +LICENSE= APACHE20 OFL11 +LICENSE_COMB= multi +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-2.0.txt +LICENSE_FILE_OFL11= ${WRKSRC}/LICENSE-Gen.txt + +USES= fonts zip + +NO_ARCH= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes + +do-install: + ${MKDIR} ${STAGEDIR}${FONTSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}/ + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/NOTICE.txt ${STAGEDIR}${DOCSDIR}/ + +.include <bsd.port.mk> diff --git a/x11-fonts/bpmf-genyo/distinfo b/x11-fonts/bpmf-genyo/distinfo new file mode 100644 index 000000000000..4fdda563bd56 --- /dev/null +++ b/x11-fonts/bpmf-genyo/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1786493996 +SHA256 (bpmf-genyo-1.500/BpmfGenYoMin.zip) = b528def37e8e5998493a8dc7da1088f5b446f7ed2478ff98af27fcb67b8ecd83 +SIZE (bpmf-genyo-1.500/BpmfGenYoMin.zip) = 28522201 diff --git a/x11-fonts/bpmf-genyo/pkg-descr b/x11-fonts/bpmf-genyo/pkg-descr new file mode 100644 index 000000000000..e8e1efaeea73 --- /dev/null +++ b/x11-fonts/bpmf-genyo/pkg-descr @@ -0,0 +1,11 @@ +BpmfGenYoMin is a Bopomofo IVS build of GenYo Min: each Han character that +has more than one Bopomofo reading carries Ideographic Variation Sequences +and Private Use Area glyphs that render the character together with its +reading. + +Input methods that implement the Bopomofo IVS specification, such as +chinese/fcitx5-mcbopomofo in its Bopomofo font annotation mode, use these +fonts to produce Bopomofo-annotated text for teaching material and +publishing. + +Base font: https://github.com/ButTaiwan/genyo-font diff --git a/x11-fonts/bpmf-genyo/pkg-plist b/x11-fonts/bpmf-genyo/pkg-plist new file mode 100644 index 000000000000..49fcac0c7f0f --- /dev/null +++ b/x11-fonts/bpmf-genyo/pkg-plist @@ -0,0 +1,8 @@ +%%FONTSDIR%%/BpmfGenYoMin-B.ttf +%%FONTSDIR%%/BpmfGenYoMin-EL.ttf +%%FONTSDIR%%/BpmfGenYoMin-H.ttf +%%FONTSDIR%%/BpmfGenYoMin-L.ttf +%%FONTSDIR%%/BpmfGenYoMin-M.ttf +%%FONTSDIR%%/BpmfGenYoMin-R.ttf +%%FONTSDIR%%/BpmfGenYoMin-SB.ttf +%%DOCSDIR%%/NOTICE.txt