git: 6d21aac1d176 - main - Add x11-fonts/bpmf-genwan: Bopomofo IVS version of GenWan 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=6d21aac1d1767404709e5aec60a55a52dc705213

commit 6d21aac1d1767404709e5aec60a55a52dc705213
Author:     Li-Wen Hsu <[email protected]>
AuthorDate: 2026-08-12 08:46:23 +0000
Commit:     Li-Wen Hsu <[email protected]>
CommitDate: 2026-08-12 08:51:35 +0000

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

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index d699de4bb30c..06c9e56dda0e 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -32,6 +32,7 @@
     SUBDIR += bpmf-genryu
     SUBDIR += bpmf-genseki
     SUBDIR += bpmf-gensen
+    SUBDIR += bpmf-genwan
     SUBDIR += c64bdf
     SUBDIR += cantarell-fonts
     SUBDIR += cascadia-code
diff --git a/x11-fonts/bpmf-genwan/Makefile b/x11-fonts/bpmf-genwan/Makefile
new file mode 100644
index 000000000000..e23cf449c343
--- /dev/null
+++ b/x11-fonts/bpmf-genwan/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	bpmf-genwan
+PORTVERSION=	1.500
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/ButTaiwan/bpmfvs/releases/download/v${PORTVERSION}/
+DISTNAME=	BpmfGenWanMin
+DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
+
+MAINTAINER=	[email protected]
+COMMENT=	Bopomofo IVS version of GenWan 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-genwan/distinfo b/x11-fonts/bpmf-genwan/distinfo
new file mode 100644
index 000000000000..1ac3317bac73
--- /dev/null
+++ b/x11-fonts/bpmf-genwan/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1786493990
+SHA256 (bpmf-genwan-1.500/BpmfGenWanMin.zip) = 6a90b26d19c23d0377bc892b961ed788a4450b0684cd565da54f7c0d512f80dc
+SIZE (bpmf-genwan-1.500/BpmfGenWanMin.zip) = 43055117
diff --git a/x11-fonts/bpmf-genwan/pkg-descr b/x11-fonts/bpmf-genwan/pkg-descr
new file mode 100644
index 000000000000..88a2f3acae17
--- /dev/null
+++ b/x11-fonts/bpmf-genwan/pkg-descr
@@ -0,0 +1,11 @@
+BpmfGenWanMin is a Bopomofo IVS build of GenWan 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/genwan-font
diff --git a/x11-fonts/bpmf-genwan/pkg-plist b/x11-fonts/bpmf-genwan/pkg-plist
new file mode 100644
index 000000000000..aeaddbbf0549
--- /dev/null
+++ b/x11-fonts/bpmf-genwan/pkg-plist
@@ -0,0 +1,6 @@
+%%FONTSDIR%%/BpmfGenWanMin-EL.ttf
+%%FONTSDIR%%/BpmfGenWanMin-L.ttf
+%%FONTSDIR%%/BpmfGenWanMin-M.ttf
+%%FONTSDIR%%/BpmfGenWanMin-R.ttf
+%%FONTSDIR%%/BpmfGenWanMin-SB.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.