Lines 1-5
Link Here
|
1 |
PORTNAME= noto |
1 |
PORTNAME= noto |
2 |
PORTVERSION= 2.042 |
2 |
PORTVERSION= 2.042 |
|
|
3 |
PORTREVISION= 1 |
3 |
CATEGORIES= x11-fonts |
4 |
CATEGORIES= x11-fonts |
4 |
MASTER_SITES= https://github.com/googlefonts/noto-emoji/raw/v${PORTVERSION}/fonts/ |
5 |
MASTER_SITES= https://github.com/googlefonts/noto-emoji/raw/v${PORTVERSION}/fonts/ |
5 |
PKGNAMESUFFIX= -emoji |
6 |
PKGNAMESUFFIX= -emoji |
Lines 20-31
USES= fonts
Link Here
|
20 |
NO_ARCH= yes |
21 |
NO_ARCH= yes |
21 |
NO_BUILD= yes |
22 |
NO_BUILD= yes |
22 |
|
23 |
|
23 |
PLIST_FILES= ${FONTSDIR}/Noto-COLRv1.ttf \ |
24 |
PLIST_FILES= ${FONTSDIR}/NotoColorEmoji.ttf |
24 |
${FONTSDIR}/NotoColorEmoji.ttf |
25 |
|
|
|
26 |
OPTIONS_DEFINE= COLRv1 |
27 |
COLRv1_DESC= Install Noto-COLRv1 |
28 |
COLRv1_PLIST_FILES+= ${FONTSDIR}/Noto-COLRv1.ttf |
29 |
|
30 |
.include <bsd.port.options.mk> |
25 |
|
31 |
|
26 |
do-install: |
32 |
do-install: |
27 |
${MKDIR} ${STAGEDIR}${FONTSDIR} |
33 |
${MKDIR} ${STAGEDIR}${FONTSDIR} |
|
|
34 |
.if ${PORT_OPTIONS:MCOLRv1} |
28 |
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Noto-COLRv1.ttf ${STAGEDIR}${FONTSDIR} |
35 |
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Noto-COLRv1.ttf ${STAGEDIR}${FONTSDIR} |
|
|
36 |
.endif |
29 |
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/NotoColorEmoji.ttf ${STAGEDIR}${FONTSDIR} |
37 |
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/NotoColorEmoji.ttf ${STAGEDIR}${FONTSDIR} |
30 |
|
38 |
|
31 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.mk> |