git: ff93bbe05087 - main - Add x11-fonts/bpmf-genryu: Bopomofo IVS version of GenRyu 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=ff93bbe050870471783e61aa3dce25b668f3d2c0

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

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

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 7614c2d5b950..91c26d650256 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -29,6 +29,7 @@
     SUBDIR += bitstream-vera
     SUBDIR += bitter
     SUBDIR += blackout
+    SUBDIR += bpmf-genryu
     SUBDIR += c64bdf
     SUBDIR += cantarell-fonts
     SUBDIR += cascadia-code
diff --git a/x11-fonts/bpmf-genryu/Makefile b/x11-fonts/bpmf-genryu/Makefile
new file mode 100644
index 000000000000..32c6f45531ca
--- /dev/null
+++ b/x11-fonts/bpmf-genryu/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	bpmf-genryu
+PORTVERSION=	1.500
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/ButTaiwan/bpmfvs/releases/download/v${PORTVERSION}/
+DISTNAME=	BpmfGenRyuMin
+DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
+
+MAINTAINER=	[email protected]
+COMMENT=	Bopomofo IVS version of GenRyu 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-genryu/distinfo b/x11-fonts/bpmf-genryu/distinfo
new file mode 100644
index 000000000000..6ad078b11b62
--- /dev/null
+++ b/x11-fonts/bpmf-genryu/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1786493980
+SHA256 (bpmf-genryu-1.500/BpmfGenRyuMin.zip) = 86a47a28dc750894d59b017869f8d61e9835f2ac13b55cbf48fdcc6b07bf6e8d
+SIZE (bpmf-genryu-1.500/BpmfGenRyuMin.zip) = 32697956
diff --git a/x11-fonts/bpmf-genryu/pkg-descr b/x11-fonts/bpmf-genryu/pkg-descr
new file mode 100644
index 000000000000..a852accf357f
--- /dev/null
+++ b/x11-fonts/bpmf-genryu/pkg-descr
@@ -0,0 +1,11 @@
+BpmfGenRyuMin is a Bopomofo IVS build of GenRyu 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/genryu-font
diff --git a/x11-fonts/bpmf-genryu/pkg-plist b/x11-fonts/bpmf-genryu/pkg-plist
new file mode 100644
index 000000000000..bc7942a57652
--- /dev/null
+++ b/x11-fonts/bpmf-genryu/pkg-plist
@@ -0,0 +1,8 @@
+%%FONTSDIR%%/BpmfGenRyuMin-B.ttf
+%%FONTSDIR%%/BpmfGenRyuMin-EL.ttf
+%%FONTSDIR%%/BpmfGenRyuMin-H.ttf
+%%FONTSDIR%%/BpmfGenRyuMin-L.ttf
+%%FONTSDIR%%/BpmfGenRyuMin-M.ttf
+%%FONTSDIR%%/BpmfGenRyuMin-R.ttf
+%%FONTSDIR%%/BpmfGenRyuMin-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.