git: 5ba192122fda - main - textproc/docproj-fonts-cjk: Add docproj-fonts-cjk 20221225
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Dec 2022 09:07:38 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5ba192122fdabb02bdc6ad3afac66631c2c586be commit 5ba192122fdabb02bdc6ad3afac66631c2c586be Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-12-30 08:35:59 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-12-30 09:03:57 +0000 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. --- textproc/Makefile | 1 + textproc/docproj-fonts-cjk/Makefile | 38 ++++++++++++++++++++++++++++++++++++ textproc/docproj-fonts-cjk/distinfo | 11 +++++++++++ textproc/docproj-fonts-cjk/pkg-descr | 5 +++++ 4 files changed, 55 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 53bfa12e2f32..ec4a4f99152c 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -158,6 +158,7 @@ SUBDIR += docbook2odf SUBDIR += docbookrx SUBDIR += docproj + SUBDIR += docproj-fonts-cjk SUBDIR += docproj-legacy SUBDIR += dom4j SUBDIR += domc diff --git a/textproc/docproj-fonts-cjk/Makefile b/textproc/docproj-fonts-cjk/Makefile new file mode 100644 index 000000000000..dcdf4a933320 --- /dev/null +++ b/textproc/docproj-fonts-cjk/Makefile @@ -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> diff --git a/textproc/docproj-fonts-cjk/distinfo b/textproc/docproj-fonts-cjk/distinfo new file mode 100644 index 000000000000..cc6e2f198ca5 --- /dev/null +++ b/textproc/docproj-fonts-cjk/distinfo @@ -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 diff --git a/textproc/docproj-fonts-cjk/pkg-descr b/textproc/docproj-fonts-cjk/pkg-descr new file mode 100644 index 000000000000..8b1309e78fcf --- /dev/null +++ b/textproc/docproj-fonts-cjk/pkg-descr @@ -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.