git: 47b752ce9905 - main - Add x11-fonts/bpmf-zihikai: Bopomofo IVS version of Zihi Kai Std font

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=47b752ce9905a4e8871562e966d38dede15707d9

commit 47b752ce9905a4e8871562e966d38dede15707d9
Author:     Li-Wen Hsu <[email protected]>
AuthorDate: 2026-08-12 08:46:32 +0000
Commit:     Li-Wen Hsu <[email protected]>
CommitDate: 2026-08-12 08:51:37 +0000

    Add x11-fonts/bpmf-zihikai: Bopomofo IVS version of Zihi Kai Std font
    
    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.
    
    The Han glyphs of this font are licensed under CC-BY 4.0 rather than the
    SIL Open Font License 1.1 that covers the rest of the family.
---
 x11-fonts/Makefile               |  1 +
 x11-fonts/bpmf-zihikai/Makefile  | 30 ++++++++++++++++++++++++++++++
 x11-fonts/bpmf-zihikai/distinfo  |  3 +++
 x11-fonts/bpmf-zihikai/pkg-descr | 12 ++++++++++++
 x11-fonts/bpmf-zihikai/pkg-plist |  2 ++
 5 files changed, 48 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 1d30e00154d4..4f919d936034 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -38,6 +38,7 @@
     SUBDIR += bpmf-huninn
     SUBDIR += bpmf-iansui
     SUBDIR += bpmf-special
+    SUBDIR += bpmf-zihikai
     SUBDIR += c64bdf
     SUBDIR += cantarell-fonts
     SUBDIR += cascadia-code
diff --git a/x11-fonts/bpmf-zihikai/Makefile b/x11-fonts/bpmf-zihikai/Makefile
new file mode 100644
index 000000000000..d9c4a50348b4
--- /dev/null
+++ b/x11-fonts/bpmf-zihikai/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	bpmf-zihikai
+PORTVERSION=	1.500
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/ButTaiwan/bpmfvs/releases/download/v${PORTVERSION}/
+DISTNAME=	BpmfZihiKaiStd
+DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
+
+MAINTAINER=	[email protected]
+COMMENT=	Bopomofo IVS version of Zihi Kai Std font
+WWW=		https://github.com/ButTaiwan/bpmfvs
+
+LICENSE=	APACHE20 CC-BY-4.0 OFL11
+LICENSE_COMB=	multi
+LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-2.0.txt
+LICENSE_FILE_OFL11=	${WRKSRC}/LICENSE-ZihiKaiStd.txt
+LICENSE_FILE_CC-BY-4.0=	${WRKSRC}/LICENSE-ZihiKaiStd.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-zihikai/distinfo b/x11-fonts/bpmf-zihikai/distinfo
new file mode 100644
index 000000000000..979a1ce8af02
--- /dev/null
+++ b/x11-fonts/bpmf-zihikai/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1786518318
+SHA256 (bpmf-zihikai-1.500/BpmfZihiKaiStd.zip) = 728723239116c2a2f44fee3ef7137f3f8537a19a6f707c823d0345c5a1d234af
+SIZE (bpmf-zihikai-1.500/BpmfZihiKaiStd.zip) = 9567647
diff --git a/x11-fonts/bpmf-zihikai/pkg-descr b/x11-fonts/bpmf-zihikai/pkg-descr
new file mode 100644
index 000000000000..89b89e2abee9
--- /dev/null
+++ b/x11-fonts/bpmf-zihikai/pkg-descr
@@ -0,0 +1,12 @@
+BpmfZihiKaiStd is a Bopomofo IVS build of the Zihi Kai Std standard kai
+typeface: 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.
+
+The Han glyphs are licensed under CC-BY 4.0 and the remaining glyphs under
+the SIL Open Font License 1.1.
diff --git a/x11-fonts/bpmf-zihikai/pkg-plist b/x11-fonts/bpmf-zihikai/pkg-plist
new file mode 100644
index 000000000000..e63faeb48a09
--- /dev/null
+++ b/x11-fonts/bpmf-zihikai/pkg-plist
@@ -0,0 +1,2 @@
+%%FONTSDIR%%/BpmfZihiKaiStd-Regular.ttf
+%%DOCSDIR%%/NOTICE.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.