git: 48a277e243af - main - Add x11-fonts/bpmf-gensen: Bopomofo IVS version of GenSen Rounded 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=48a277e243af04b47207ebe8aa27acbee9fbf21c commit 48a277e243af04b47207ebe8aa27acbee9fbf21c Author: Li-Wen Hsu <[email protected]> AuthorDate: 2026-08-12 08:46:22 +0000 Commit: Li-Wen Hsu <[email protected]> CommitDate: 2026-08-12 08:51:34 +0000 Add x11-fonts/bpmf-gensen: Bopomofo IVS version of GenSen Rounded 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-gensen/Makefile | 29 +++++++++++++++++++++++++++++ x11-fonts/bpmf-gensen/distinfo | 3 +++ x11-fonts/bpmf-gensen/pkg-descr | 11 +++++++++++ x11-fonts/bpmf-gensen/pkg-plist | 7 +++++++ 5 files changed, 51 insertions(+) diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index f19b4db0a955..d699de4bb30c 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -31,6 +31,7 @@ SUBDIR += blackout SUBDIR += bpmf-genryu SUBDIR += bpmf-genseki + SUBDIR += bpmf-gensen SUBDIR += c64bdf SUBDIR += cantarell-fonts SUBDIR += cascadia-code diff --git a/x11-fonts/bpmf-gensen/Makefile b/x11-fonts/bpmf-gensen/Makefile new file mode 100644 index 000000000000..4d6d4778e572 --- /dev/null +++ b/x11-fonts/bpmf-gensen/Makefile @@ -0,0 +1,29 @@ +PORTNAME= bpmf-gensen +PORTVERSION= 1.500 +CATEGORIES= x11-fonts +MASTER_SITES= https://github.com/ButTaiwan/bpmfvs/releases/download/v${PORTVERSION}/ +DISTNAME= BpmfGenSenRounded +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= [email protected] +COMMENT= Bopomofo IVS version of GenSen Rounded 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-gensen/distinfo b/x11-fonts/bpmf-gensen/distinfo new file mode 100644 index 000000000000..7c68e957b625 --- /dev/null +++ b/x11-fonts/bpmf-gensen/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1786493986 +SHA256 (bpmf-gensen-1.500/BpmfGenSenRounded.zip) = 01548ac7216758bd2a2a46143ed41b26004198df2b07ab24b337c88505f8e558 +SIZE (bpmf-gensen-1.500/BpmfGenSenRounded.zip) = 25801701 diff --git a/x11-fonts/bpmf-gensen/pkg-descr b/x11-fonts/bpmf-gensen/pkg-descr new file mode 100644 index 000000000000..f42650542b35 --- /dev/null +++ b/x11-fonts/bpmf-gensen/pkg-descr @@ -0,0 +1,11 @@ +BpmfGenSenRounded is a Bopomofo IVS build of GenSen Rounded: 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/gensen-font diff --git a/x11-fonts/bpmf-gensen/pkg-plist b/x11-fonts/bpmf-gensen/pkg-plist new file mode 100644 index 000000000000..d500dbca41a6 --- /dev/null +++ b/x11-fonts/bpmf-gensen/pkg-plist @@ -0,0 +1,7 @@ +%%FONTSDIR%%/BpmfGenSenRounded-B.ttf +%%FONTSDIR%%/BpmfGenSenRounded-EL.ttf +%%FONTSDIR%%/BpmfGenSenRounded-H.ttf +%%FONTSDIR%%/BpmfGenSenRounded-L.ttf +%%FONTSDIR%%/BpmfGenSenRounded-M.ttf +%%FONTSDIR%%/BpmfGenSenRounded-R.ttf +%%DOCSDIR%%/NOTICE.txt