1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

x11-fonts/noto-emoji: Add COLR option

- Bump PORTREVISION for package change

PR:		278019
Reported by:	Kenneth Raplee <kenrap@kennethraplee.com>, mew14930xvi <mew14930xvi@inbox.lv>
This commit is contained in:
Po-Chuan Hsieh 2024-04-01 02:53:03 +08:00
parent 93c376b7b5
commit 2878ca4905
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -1,5 +1,6 @@
PORTNAME= noto
PORTVERSION= 2.042
PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/googlefonts/noto-emoji/raw/v${PORTVERSION}/fonts/
PKGNAMESUFFIX= -emoji
@ -20,12 +21,18 @@ USES= fonts
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= ${FONTSDIR}/Noto-COLRv1.ttf \
${FONTSDIR}/NotoColorEmoji.ttf
PLIST_FILES= ${FONTSDIR}/NotoColorEmoji.ttf
OPTIONS_DEFINE= COLR
COLR_DESC= Install COLRv1 font
COLR_PLIST_FILES= ${FONTSDIR}/Noto-COLRv1.ttf
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Noto-COLRv1.ttf ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/NotoColorEmoji.ttf ${STAGEDIR}${FONTSDIR}
do-install-COLR-on:
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Noto-COLRv1.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>