Skip to content

Commit

Permalink
x11-fonts/noto-hk: 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 945bc85 commit 9cd15bb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 88 deletions.
40 changes: 6 additions & 34 deletions x11-fonts/noto-hk/Makefile
@@ -1,44 +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= -hk
DISTFILES= LICENSE \
${NOTO_HK_FONTS}
DIST_SUBDIR= Noto/CJK/${PORTVERSION}
EXTRACT_ONLY= # empty

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Fonts family (Traditional Chinese Hong Kong)
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-hk>=0:x11-fonts/noto-sans-hk \
noto-serif-hk>=0:x11-fonts/noto-serif-hk

USES= fonts

NO_ARCH= yes
NO_BUILD= yes

NOTO_HK_FONTS= NotoSansCJKhk-Black.otf \
NotoSansCJKhk-Bold.otf \
NotoSansCJKhk-DemiLight.otf \
NotoSansCJKhk-Light.otf \
NotoSansCJKhk-Medium.otf \
NotoSansCJKhk-Regular.otf \
NotoSansCJKhk-Thin.otf \
NotoSansHK-Black.otf \
NotoSansHK-Bold.otf \
NotoSansHK-DemiLight.otf \
NotoSansHK-Light.otf \
NotoSansHK-Medium.otf \
NotoSansHK-Regular.otf \
NotoSansHK-Thin.otf \
NotoSansMonoCJKhk-Bold.otf \
NotoSansMonoCJKhk-Regular.otf

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

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

This file was deleted.

4 changes: 1 addition & 3 deletions x11-fonts/noto-hk/pkg-descr
Expand Up @@ -6,6 +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 Traditional Chinese Hong Kong fonts.

See also: https://github.com/googlefonts/noto-cjk
This port is the meta port for Traditional Chinese Hong Kong fonts.
16 changes: 0 additions & 16 deletions x11-fonts/noto-hk/pkg-plist

This file was deleted.

0 comments on commit 9cd15bb

Please sign in to comment.