git: d32aeded4391 - main - Add x11-fonts/bpmf-zihisans: Bopomofo IVS version of Zihi Sans 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=d32aeded439175be23c52b42f74d643cc0e21a8c

commit d32aeded439175be23c52b42f74d643cc0e21a8c
Author:     Li-Wen Hsu <[email protected]>
AuthorDate: 2026-08-12 08:46:33 +0000
Commit:     Li-Wen Hsu <[email protected]>
CommitDate: 2026-08-12 08:51:38 +0000

    Add x11-fonts/bpmf-zihisans: Bopomofo IVS version of Zihi Sans 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-zihisans/Makefile  | 29 +++++++++++++++++++++++++++++
 x11-fonts/bpmf-zihisans/distinfo  |  3 +++
 x11-fonts/bpmf-zihisans/pkg-descr | 11 +++++++++++
 x11-fonts/bpmf-zihisans/pkg-plist |  7 +++++++
 5 files changed, 51 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 4f919d936034..3e8448ef37fd 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -39,6 +39,7 @@
     SUBDIR += bpmf-iansui
     SUBDIR += bpmf-special
     SUBDIR += bpmf-zihikai
+    SUBDIR += bpmf-zihisans
     SUBDIR += c64bdf
     SUBDIR += cantarell-fonts
     SUBDIR += cascadia-code
diff --git a/x11-fonts/bpmf-zihisans/Makefile b/x11-fonts/bpmf-zihisans/Makefile
new file mode 100644
index 000000000000..435c7daeaf00
--- /dev/null
+++ b/x11-fonts/bpmf-zihisans/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	bpmf-zihisans
+PORTVERSION=	1.500
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/ButTaiwan/bpmfvs/releases/download/v${PORTVERSION}/
+DISTNAME=	BpmfZihiSans
+DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
+
+MAINTAINER=	[email protected]
+COMMENT=	Bopomofo IVS version of Zihi Sans 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-ZihiSans.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-zihisans/distinfo b/x11-fonts/bpmf-zihisans/distinfo
new file mode 100644
index 000000000000..6eb6cce9d5cb
--- /dev/null
+++ b/x11-fonts/bpmf-zihisans/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1786518319
+SHA256 (bpmf-zihisans-1.500/BpmfZihiSans.zip) = 571965a1c1f25c5681d0a293b5f89b5cd54285d22e25c59702d45a98502b13a9
+SIZE (bpmf-zihisans-1.500/BpmfZihiSans.zip) = 18663918
diff --git a/x11-fonts/bpmf-zihisans/pkg-descr b/x11-fonts/bpmf-zihisans/pkg-descr
new file mode 100644
index 000000000000..4a42ea35448c
--- /dev/null
+++ b/x11-fonts/bpmf-zihisans/pkg-descr
@@ -0,0 +1,11 @@
+BpmfZihiSans is a Bopomofo IVS build of Zihi Sans: 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-sans
diff --git a/x11-fonts/bpmf-zihisans/pkg-plist b/x11-fonts/bpmf-zihisans/pkg-plist
new file mode 100644
index 000000000000..b89108d254cb
--- /dev/null
+++ b/x11-fonts/bpmf-zihisans/pkg-plist
@@ -0,0 +1,7 @@
+%%FONTSDIR%%/BpmfZihiSans-Bold.ttf
+%%FONTSDIR%%/BpmfZihiSans-ExtraLight.ttf
+%%FONTSDIR%%/BpmfZihiSans-Heavy.ttf
+%%FONTSDIR%%/BpmfZihiSans-Light.ttf
+%%FONTSDIR%%/BpmfZihiSans-Medium.ttf
+%%FONTSDIR%%/BpmfZihiSans-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.