aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2019-12-31 02:06:29 +0800
committerume <ume@FreeBSD.org>2019-12-31 02:06:29 +0800
commit771b7a95da186d6b3a0758fe5b110f336a101f80 (patch)
treef7059513c7285b96c6ee8a978744be91e17e82b0 /japanese
parent8b88d3784e2b385846439884c390a69220927d81 (diff)
downloadfreebsd-ports-gnome-771b7a95da186d6b3a0758fe5b110f336a101f80.tar.gz
freebsd-ports-gnome-771b7a95da186d6b3a0758fe5b110f336a101f80.tar.zst
freebsd-ports-gnome-771b7a95da186d6b3a0758fe5b110f336a101f80.zip
Use FONTPATHSPEC
Diffstat (limited to 'japanese')
-rw-r--r--japanese/font-rounded-mgenplus/Makefile14
-rw-r--r--japanese/font-rounded-mgenplus/pkg-plist2
2 files changed, 9 insertions, 7 deletions
diff --git a/japanese/font-rounded-mgenplus/Makefile b/japanese/font-rounded-mgenplus/Makefile
index 269816b90ab4..ae3a0c216a01 100644
--- a/japanese/font-rounded-mgenplus/Makefile
+++ b/japanese/font-rounded-mgenplus/Makefile
@@ -13,7 +13,7 @@ COMMENT= Rounded Mgen+ Japanese TrueType fonts
LICENSE= OFL11
USES= 7z fonts:fc
-FONTNAME= ${PORTNAME}
+FONTPATHSPEC= ${FONTNAME}:pri=60
NO_ARCH= yes
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/pkg-install
@@ -93,13 +93,13 @@ do-install:
.endfor
${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \
${STAGEDIR}${PREFIX}/etc/fonts/conf.d
- ${INSTALL_DATA} ${FILESDIR}/20-unhint-${PORTNAME}.conf \
- ${FILESDIR}/62-fonts-${PORTNAME}.conf \
+ ${INSTALL_DATA} ${FILESDIR}/20-unhint-${FONTNAME}.conf \
+ ${FILESDIR}/62-fonts-${FONTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/fonts/conf.avail
- ${LN} -s -f ../conf.avail/20-unhint-${PORTNAME}.conf \
- ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf
- ${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \
- ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf
+ ${LN} -s -f ../conf.avail/20-unhint-${FONTNAME}.conf \
+ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${FONTNAME}.conf
+ ${LN} -s -f ../conf.avail/62-fonts-${FONTNAME}.conf \
+ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${FONTNAME}.conf
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/japanese/font-rounded-mgenplus/pkg-plist b/japanese/font-rounded-mgenplus/pkg-plist
index 72d9644b1556..5bbf873dd326 100644
--- a/japanese/font-rounded-mgenplus/pkg-plist
+++ b/japanese/font-rounded-mgenplus/pkg-plist
@@ -1,5 +1,7 @@
etc/fonts/conf.avail/20-unhint-rounded-mgenplus.conf
etc/fonts/conf.avail/62-fonts-rounded-mgenplus.conf
+etc/fonts/conf.d/20-unhint-rounded-mgenplus.conf
+etc/fonts/conf.d/62-fonts-rounded-mgenplus.conf
%%ROUNDED_MGENPLUS_1C%%%%FONTSDIR%%/rounded-mgenplus-1c-black.ttf
%%ROUNDED_MGENPLUS_1C%%%%FONTSDIR%%/rounded-mgenplus-1c-bold.ttf
%%ROUNDED_MGENPLUS_1C%%%%FONTSDIR%%/rounded-mgenplus-1c-heavy.ttf