git: 263800a441c3 - main - Add x11-fonts/bpmf-zihiserif: Bopomofo IVS version of Zihi Serif 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=263800a441c3c032448e19bfe2668923ff798016 commit 263800a441c3c032448e19bfe2668923ff798016 Author: Li-Wen Hsu <[email protected]> AuthorDate: 2026-08-12 08:46:35 +0000 Commit: Li-Wen Hsu <[email protected]> CommitDate: 2026-08-12 08:51:38 +0000 Add x11-fonts/bpmf-zihiserif: Bopomofo IVS version of Zihi Serif 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-zihiserif/Makefile | 29 +++++++++++++++++++++++++++++ x11-fonts/bpmf-zihiserif/distinfo | 3 +++ x11-fonts/bpmf-zihiserif/pkg-descr | 11 +++++++++++ x11-fonts/bpmf-zihiserif/pkg-plist | 8 ++++++++ 5 files changed, 52 insertions(+) diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 3e8448ef37fd..cd8a7c6c6ddf 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -40,6 +40,7 @@ SUBDIR += bpmf-special SUBDIR += bpmf-zihikai SUBDIR += bpmf-zihisans + SUBDIR += bpmf-zihiserif SUBDIR += c64bdf SUBDIR += cantarell-fonts SUBDIR += cascadia-code diff --git a/x11-fonts/bpmf-zihiserif/Makefile b/x11-fonts/bpmf-zihiserif/Makefile new file mode 100644 index 000000000000..cc8b70750fb6 --- /dev/null +++ b/x11-fonts/bpmf-zihiserif/Makefile @@ -0,0 +1,29 @@ +PORTNAME= bpmf-zihiserif +PORTVERSION= 1.500 +CATEGORIES= x11-fonts +MASTER_SITES= https://github.com/ButTaiwan/bpmfvs/releases/download/v${PORTVERSION}/ +DISTNAME= BpmfZihiSerif +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= [email protected] +COMMENT= Bopomofo IVS version of Zihi Serif 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-ZihiSerif.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-zihiserif/distinfo b/x11-fonts/bpmf-zihiserif/distinfo new file mode 100644 index 000000000000..7016f0b37cf1 --- /dev/null +++ b/x11-fonts/bpmf-zihiserif/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1786518319 +SHA256 (bpmf-zihiserif-1.500/BpmfZihiSerif.zip) = a8de9a42f63ac5a618bfd755de9e2e87683aa37fd2efdd6b9ad0fb8bbacf80ab +SIZE (bpmf-zihiserif-1.500/BpmfZihiSerif.zip) = 27614480 diff --git a/x11-fonts/bpmf-zihiserif/pkg-descr b/x11-fonts/bpmf-zihiserif/pkg-descr new file mode 100644 index 000000000000..61f26e5729cc --- /dev/null +++ b/x11-fonts/bpmf-zihiserif/pkg-descr @@ -0,0 +1,11 @@ +BpmfZihiSerif is a Bopomofo IVS build of Zihi Serif: 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/adobe-fonts/source-han-serif diff --git a/x11-fonts/bpmf-zihiserif/pkg-plist b/x11-fonts/bpmf-zihiserif/pkg-plist new file mode 100644 index 000000000000..523d7d7d3e4c --- /dev/null +++ b/x11-fonts/bpmf-zihiserif/pkg-plist @@ -0,0 +1,8 @@ +%%FONTSDIR%%/BpmfZihiSerif-Bold.ttf +%%FONTSDIR%%/BpmfZihiSerif-ExtraLight.ttf +%%FONTSDIR%%/BpmfZihiSerif-Heavy.ttf +%%FONTSDIR%%/BpmfZihiSerif-Light.ttf +%%FONTSDIR%%/BpmfZihiSerif-Medium.ttf +%%FONTSDIR%%/BpmfZihiSerif-Regular.ttf +%%FONTSDIR%%/BpmfZihiSerif-SemiBold.ttf +%%DOCSDIR%%/NOTICE.txt