x11-fonts/atkinson-hyperlegible: shift to fontsdir for installations

This commit is contained in:
Jason Helfman 2022-10-11 00:52:50 +00:00
parent e2bbffc836
commit d20a3cf7e8
2 changed files with 24 additions and 26 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= atkinson-hyperlegible
PORTVERSION= 2020.0514
PORTREVISION= 1
CATEGORIES= x11-fonts accessibility
MASTER_SITES= https://brailleinstitute.org/wp-content/uploads/${PORTNAME}-font/:source1 \
http://brailleinstitute.org/wp-content/uploads/2020/11/:source2
@ -39,20 +40,17 @@ post-extract:
@${FIND} ${WRKSRC} -type f -exec ${MV} {} ${WRKSRC}/allfonts \;
do-install:
@${DO_NADA}
@${MKDIR} ${STAGEDIR}${FONTSDIR}
do-install-TTF-on:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/allfonts/*.ttf ${STAGEDIR}${FONTSDIR}
do-install-OTF-on:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/allfonts/*.otf ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/allfonts/*.otf ${STAGEDIR}${FONTSDIR}
post-install-WEB-on:
.for ext in svg eot woff woff2
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/allfonts/*.${ext} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/allfonts/*.${ext} ${STAGEDIR}${FONTSDIR}
.endfor
.include <bsd.port.mk>

View File

@ -1,24 +1,24 @@
%%OTF%%%%DATADIR%%/Atkinson-Hyperlegible-Bold-102.otf
%%OTF%%%%DATADIR%%/Atkinson-Hyperlegible-BoldItalic-102.otf
%%OTF%%%%DATADIR%%/Atkinson-Hyperlegible-Italic-102.otf
%%OTF%%%%DATADIR%%/Atkinson-Hyperlegible-Regular-102.otf
%%OTF%%%%FONTSDIR%%/Atkinson-Hyperlegible-Bold-102.otf
%%OTF%%%%FONTSDIR%%/Atkinson-Hyperlegible-BoldItalic-102.otf
%%OTF%%%%FONTSDIR%%/Atkinson-Hyperlegible-Italic-102.otf
%%OTF%%%%FONTSDIR%%/Atkinson-Hyperlegible-Regular-102.otf
%%TTF%%%%FONTSDIR%%/Atkinson-Hyperlegible-Bold-102.ttf
%%TTF%%%%FONTSDIR%%/Atkinson-Hyperlegible-BoldItalic-102.ttf
%%TTF%%%%FONTSDIR%%/Atkinson-Hyperlegible-Italic-102.ttf
%%TTF%%%%FONTSDIR%%/Atkinson-Hyperlegible-Regular-102.ttf
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Bold-102.eot
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Bold-102.svg
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Bold-102.woff
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Bold-102a.woff2
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-BoldItalic-102.eot
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-BoldItalic-102.svg
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-BoldItalic-102.woff
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-BoldItalic-102a.woff2
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Italic-102.eot
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Italic-102.svg
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Italic-102.woff
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Italic-102a.woff2
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Regular-102.eot
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Regular-102.svg
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Regular-102.woff
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Regular-102a.woff2
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-Bold-102.eot
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-Bold-102.svg
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-Bold-102.woff
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-Bold-102a.woff2
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-BoldItalic-102.eot
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-BoldItalic-102.svg
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-BoldItalic-102.woff
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-BoldItalic-102a.woff2
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-Italic-102.eot
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-Italic-102.svg
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-Italic-102.woff
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-Italic-102a.woff2
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-Regular-102.eot
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-Regular-102.svg
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-Regular-102.woff
%%WEB%%%%FONTSDIR%%/Atkinson-Hyperlegible-Regular-102a.woff2