git: 1e3a667805b7 - main - Add x11-fonts/bpmf-special: Bopomofo IVS boxed and Bopomofo-only fonts
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=1e3a667805b7e44c85f1d1f2cef8828250097ccb commit 1e3a667805b7e44c85f1d1f2cef8828250097ccb Author: Li-Wen Hsu <[email protected]> AuthorDate: 2026-08-12 08:46:31 +0000 Commit: Li-Wen Hsu <[email protected]> CommitDate: 2026-08-12 08:51:37 +0000 Add x11-fonts/bpmf-special: Bopomofo IVS boxed and Bopomofo-only fonts 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-special/Makefile | 29 +++++++++++++++++++++++++++++ x11-fonts/bpmf-special/distinfo | 3 +++ x11-fonts/bpmf-special/pkg-descr | 13 +++++++++++++ x11-fonts/bpmf-special/pkg-plist | 3 +++ 5 files changed, 49 insertions(+) diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index e960e6caf46d..1d30e00154d4 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -37,6 +37,7 @@ SUBDIR += bpmf-genyog SUBDIR += bpmf-huninn SUBDIR += bpmf-iansui + SUBDIR += bpmf-special SUBDIR += c64bdf SUBDIR += cantarell-fonts SUBDIR += cascadia-code diff --git a/x11-fonts/bpmf-special/Makefile b/x11-fonts/bpmf-special/Makefile new file mode 100644 index 000000000000..530344fd88ce --- /dev/null +++ b/x11-fonts/bpmf-special/Makefile @@ -0,0 +1,29 @@ +PORTNAME= bpmf-special +PORTVERSION= 1.500 +CATEGORIES= x11-fonts +MASTER_SITES= https://github.com/ButTaiwan/bpmfvs/releases/download/v${PORTVERSION}/ +DISTNAME= BpmfSpecial +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= [email protected] +COMMENT= Bopomofo IVS boxed and Bopomofo-only fonts +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-special/distinfo b/x11-fonts/bpmf-special/distinfo new file mode 100644 index 000000000000..9dfb5672dfce --- /dev/null +++ b/x11-fonts/bpmf-special/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1786518320 +SHA256 (bpmf-special-1.500/BpmfSpecial.zip) = a54839ee922b7edafdd8cd5fd3d8b40810adac8110704b220e0770addf0d9dff +SIZE (bpmf-special-1.500/BpmfSpecial.zip) = 1238959 diff --git a/x11-fonts/bpmf-special/pkg-descr b/x11-fonts/bpmf-special/pkg-descr new file mode 100644 index 000000000000..e124cb9af600 --- /dev/null +++ b/x11-fonts/bpmf-special/pkg-descr @@ -0,0 +1,13 @@ +Two special Bopomofo IVS fonts from the Bopomofo IVS font specification: +BpmfZihiBox draws each Han character and its Bopomofo reading inside a box, +and BpmfZihiOnly renders only the Bopomofo reading with the Han character +omitted. + +They are meant to be used together with a regular Bopomofo IVS font, for +worksheets and other teaching material where the reading has to be shown on +its own or in a ruled frame. + +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. diff --git a/x11-fonts/bpmf-special/pkg-plist b/x11-fonts/bpmf-special/pkg-plist new file mode 100644 index 000000000000..e1295e8559e8 --- /dev/null +++ b/x11-fonts/bpmf-special/pkg-plist @@ -0,0 +1,3 @@ +%%FONTSDIR%%/BpmfZihiBox-R.ttf +%%FONTSDIR%%/BpmfZihiOnly-R.ttf +%%DOCSDIR%%/NOTICE.txt