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

From: Jason Helfman <jgh_at_FreeBSD.org>
Date: Tue, 11 Oct 2022 00:55:23 UTC
The branch main has been updated by jgh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d20a3cf7e8483a0e5931c7cfc27686bcc699d910

commit d20a3cf7e8483a0e5931c7cfc27686bcc699d910
Author:     Jason Helfman <jgh@FreeBSD.org>
AuthorDate: 2022-10-11 00:52:50 +0000
Commit:     Jason Helfman <jgh@FreeBSD.org>
CommitDate: 2022-10-11 00:52:50 +0000

    x11-fonts/atkinson-hyperlegible: shift to fontsdir for installations
---
 x11-fonts/atkinson-hyperlegible/Makefile  | 10 ++++----
 x11-fonts/atkinson-hyperlegible/pkg-plist | 40 +++++++++++++++----------------
 2 files changed, 24 insertions(+), 26 deletions(-)

diff --git a/x11-fonts/atkinson-hyperlegible/Makefile b/x11-fonts/atkinson-hyperlegible/Makefile
index d7dd8b7a249f..3015cc7c867a 100644
--- a/x11-fonts/atkinson-hyperlegible/Makefile
+++ b/x11-fonts/atkinson-hyperlegible/Makefile
@@ -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>
diff --git a/x11-fonts/atkinson-hyperlegible/pkg-plist b/x11-fonts/atkinson-hyperlegible/pkg-plist
index 6a467d1a4d58..701be838254c 100644
--- a/x11-fonts/atkinson-hyperlegible/pkg-plist
+++ b/x11-fonts/atkinson-hyperlegible/pkg-plist
@@ -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