1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

textproc/docproj-fonts-cjk: Add docproj-fonts-cjk 20221225

The FreeBSD Documentation Project maintains the FAQ, Handbook and tutorials.

This port contains the required CJK font files for the FreeBSD Documentation
Project. They are required to build PDF files without tofu. Currently we use
Noto Sans Medium.
This commit is contained in:
Po-Chuan Hsieh 2022-12-30 16:35:59 +08:00
parent 3acf695994
commit 5ba192122f
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 55 additions and 0 deletions

View File

@ -158,6 +158,7 @@
SUBDIR += docbook2odf
SUBDIR += docbookrx
SUBDIR += docproj
SUBDIR += docproj-fonts-cjk
SUBDIR += docproj-legacy
SUBDIR += dom4j
SUBDIR += domc

View File

@ -0,0 +1,38 @@
PORTNAME= docproj-fonts-cjk
PORTVERSION= 20221225
CATEGORIES= textproc chinese
MASTER_SITES= https://github.com/googlefonts/noto-cjk/raw/Sans2.004/ \
https://github.com/googlefonts/noto-cjk/raw/Sans2.004/Sans/SubsetOTF/JP/:jp \
https://github.com/googlefonts/noto-cjk/raw/Sans2.004/Sans/SubsetOTF/KR/:kr \
https://github.com/googlefonts/noto-cjk/raw/Sans2.004/Sans/SubsetOTF/SC/:sc \
https://github.com/googlefonts/noto-cjk/raw/Sans2.004/Sans/SubsetOTF/TC/:tc
DISTFILES= LICENSE \
NotoSansJP-Medium.otf:jp \
NotoSansKR-Medium.otf:kr \
NotoSansSC-Medium.otf:sc \
NotoSansTC-Medium.otf:tc
DIST_SUBDIR= Noto/CJK/2.004
EXTRACT_ONLY= # empty
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= CJK fonts required by the FreeBSD Documentation Project
WWW= https://www.freebsd.org/docproj
LICENSE= OFL11
LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/LICENSE
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= ${DOCPROJ_FONTS:S|^|${DATADIR}/|}
DOCPROJ_FONTS= NotoSansJP-Medium.otf \
NotoSansKR-Medium.otf \
NotoSansSC-Medium.otf \
NotoSansTC-Medium.otf
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${DOCPROJ_FONTS} ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
TIMESTAMP = 1671956116
SHA256 (Noto/CJK/2.004/LICENSE) = 6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2
SIZE (Noto/CJK/2.004/LICENSE) = 4301
SHA256 (Noto/CJK/2.004/NotoSansJP-Medium.otf) = f396a3b57256e4515be9cb41f7aac54766d654890082a9f1b5c2451b5c093d8a
SIZE (Noto/CJK/2.004/NotoSansJP-Medium.otf) = 4549132
SHA256 (Noto/CJK/2.004/NotoSansKR-Medium.otf) = b46988ef13e8bac08f3933af686eaf770972994f9b6d335be0184d60169b5431
SIZE (Noto/CJK/2.004/NotoSansKR-Medium.otf) = 4669816
SHA256 (Noto/CJK/2.004/NotoSansSC-Medium.otf) = 7633f5a016d4dd95e685a69633d818aabc4644c4b08e26bd35b1b30c45ed5dda
SIZE (Noto/CJK/2.004/NotoSansSC-Medium.otf) = 8345436
SHA256 (Noto/CJK/2.004/NotoSansTC-Medium.otf) = bf206dca0975779bac71cb49a037a364156ca98a0c431b1b7d6b29fb8952ac7e
SIZE (Noto/CJK/2.004/NotoSansTC-Medium.otf) = 5695744

View File

@ -0,0 +1,5 @@
The FreeBSD Documentation Project maintains the FAQ, Handbook and tutorials.
This port contains the required CJK font files for the FreeBSD Documentation
Project. They are required to build PDF files without tofu. Currently we use
Noto Sans Medium.