Skip to content

Commit

Permalink
x11-fonts/noto-sc: Convert to a meta port
Browse files Browse the repository at this point in the history
- Update to Sans 2.004 and Serif 2.001
- Update WWW
- Update pkg-descr
  • Loading branch information
sunpoet committed Dec 30, 2022
1 parent c77f760 commit f8819e4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 145 deletions.
54 changes: 6 additions & 48 deletions x11-fonts/noto-sc/Makefile
@@ -1,58 +1,16 @@
PORTNAME= noto
PORTVERSION= 2.002
PORTVERSION= 2.004
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/googlefonts/noto-cjk/raw/v20201206-cjk/
PKGNAMESUFFIX= -sc
DISTFILES= LICENSE \
${NOTO_SC_FONTS}
DIST_SUBDIR= Noto/CJK/${PORTVERSION}
EXTRACT_ONLY= # empty

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Fonts family (Simplified Chinese)
WWW= https://www.google.com/get/noto/
WWW= https://www.google.com/get/noto/ \
https://github.com/googlefonts/noto-cjk

LICENSE= OFL11
LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/LICENSE
RUN_DEPENDS= noto-sans-sc>=0:x11-fonts/noto-sans-sc \
noto-serif-sc>=0:x11-fonts/noto-serif-sc

USES= fonts

NO_ARCH= yes
NO_BUILD= yes

NOTO_SC_FONTS= NotoSansCJKsc-Black.otf \
NotoSansCJKsc-Bold.otf \
NotoSansCJKsc-DemiLight.otf \
NotoSansCJKsc-Light.otf \
NotoSansCJKsc-Medium.otf \
NotoSansCJKsc-Regular.otf \
NotoSansCJKsc-Thin.otf \
NotoSansMonoCJKsc-Bold.otf \
NotoSansMonoCJKsc-Regular.otf \
NotoSansSC-Black.otf \
NotoSansSC-Bold.otf \
NotoSansSC-DemiLight.otf \
NotoSansSC-Light.otf \
NotoSansSC-Medium.otf \
NotoSansSC-Regular.otf \
NotoSansSC-Thin.otf \
NotoSerifCJKsc-Black.otf \
NotoSerifCJKsc-Bold.otf \
NotoSerifCJKsc-ExtraLight.otf \
NotoSerifCJKsc-Light.otf \
NotoSerifCJKsc-Medium.otf \
NotoSerifCJKsc-Regular.otf \
NotoSerifCJKsc-SemiBold.otf \
NotoSerifSC-Black.otf \
NotoSerifSC-Bold.otf \
NotoSerifSC-ExtraLight.otf \
NotoSerifSC-Light.otf \
NotoSerifSC-Medium.otf \
NotoSerifSC-Regular.otf \
NotoSerifSC-SemiBold.otf

do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${NOTO_SC_FONTS} ${STAGEDIR}${FONTSDIR}
USES= metaport

.include <bsd.port.mk>
63 changes: 0 additions & 63 deletions x11-fonts/noto-sc/distinfo

This file was deleted.

5 changes: 1 addition & 4 deletions x11-fonts/noto-sc/pkg-descr
Expand Up @@ -6,7 +6,4 @@ and letters in the Basic Multilingual Plane of Unicode. It also provides limited
coverage of CJK Ideographs in Plane 2 of Unicode as necessary to support
standards from China and Japan.

This port is the set of Simplified Chinese fonts which supports GB 18030 and
China's latest standard Table of General Chinese Characters published in 2013.

See also: https://github.com/googlefonts/noto-cjk
This port is the meta port for Simplified Chinese fonts.
30 changes: 0 additions & 30 deletions x11-fonts/noto-sc/pkg-plist

This file was deleted.

0 comments on commit f8819e4

Please sign in to comment.