git: 0847bf18e4d9 - main - Add x11-fonts/bpmf-genseki: Bopomofo IVS version of GenSeki Gothic 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=0847bf18e4d9d15c2b03cdc3dbe1a217c09dea64

commit 0847bf18e4d9d15c2b03cdc3dbe1a217c09dea64
Author:     Li-Wen Hsu <[email protected]>
AuthorDate: 2026-08-12 08:46:21 +0000
Commit:     Li-Wen Hsu <[email protected]>
CommitDate: 2026-08-12 08:51:34 +0000

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

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 91c26d650256..f19b4db0a955 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -30,6 +30,7 @@
     SUBDIR += bitter
     SUBDIR += blackout
     SUBDIR += bpmf-genryu
+    SUBDIR += bpmf-genseki
     SUBDIR += c64bdf
     SUBDIR += cantarell-fonts
     SUBDIR += cascadia-code
diff --git a/x11-fonts/bpmf-genseki/Makefile b/x11-fonts/bpmf-genseki/Makefile
new file mode 100644
index 000000000000..04e93c1d1ec6
--- /dev/null
+++ b/x11-fonts/bpmf-genseki/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	bpmf-genseki
+PORTVERSION=	1.500
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/ButTaiwan/bpmfvs/releases/download/v${PORTVERSION}/
+DISTNAME=	BpmfGenSekiGothic
+DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
+
+MAINTAINER=	[email protected]
+COMMENT=	Bopomofo IVS version of GenSeki Gothic 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-genseki/distinfo b/x11-fonts/bpmf-genseki/distinfo
new file mode 100644
index 000000000000..999528e3cde3
--- /dev/null
+++ b/x11-fonts/bpmf-genseki/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1786493983
+SHA256 (bpmf-genseki-1.500/BpmfGenSekiGothic.zip) = ad3182c0e65532172511866ad773205aaabce0d6a0c51e71d5d0c9e76e84d570
+SIZE (bpmf-genseki-1.500/BpmfGenSekiGothic.zip) = 20215432
diff --git a/x11-fonts/bpmf-genseki/pkg-descr b/x11-fonts/bpmf-genseki/pkg-descr
new file mode 100644
index 000000000000..684db7282a83
--- /dev/null
+++ b/x11-fonts/bpmf-genseki/pkg-descr
@@ -0,0 +1,11 @@
+BpmfGenSekiGothic is a Bopomofo IVS build of GenSeki Gothic: 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/genseki-font
diff --git a/x11-fonts/bpmf-genseki/pkg-plist b/x11-fonts/bpmf-genseki/pkg-plist
new file mode 100644
index 000000000000..60388bda5bb9
--- /dev/null
+++ b/x11-fonts/bpmf-genseki/pkg-plist
@@ -0,0 +1,6 @@
+%%FONTSDIR%%/BpmfGenSekiGothic-B.ttf
+%%FONTSDIR%%/BpmfGenSekiGothic-H.ttf
+%%FONTSDIR%%/BpmfGenSekiGothic-L.ttf
+%%FONTSDIR%%/BpmfGenSekiGothic-M.ttf
+%%FONTSDIR%%/BpmfGenSekiGothic-R.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.