svn commit: r521558 - head/japanese/font-rounded-mgenplus

Hajimu UMEMOTO ume at FreeBSD.org
Mon Dec 30 18:06:30 UTC 2019


Author: ume
Date: Mon Dec 30 18:06:29 2019
New Revision: 521558
URL: https://svnweb.freebsd.org/changeset/ports/521558

Log:
  Use FONTPATHSPEC

Modified:
  head/japanese/font-rounded-mgenplus/Makefile
  head/japanese/font-rounded-mgenplus/pkg-plist

Modified: head/japanese/font-rounded-mgenplus/Makefile
==============================================================================
--- head/japanese/font-rounded-mgenplus/Makefile	Mon Dec 30 18:04:48 2019	(r521557)
+++ head/japanese/font-rounded-mgenplus/Makefile	Mon Dec 30 18:06:29 2019	(r521558)
@@ -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}

Modified: head/japanese/font-rounded-mgenplus/pkg-plist
==============================================================================
--- head/japanese/font-rounded-mgenplus/pkg-plist	Mon Dec 30 18:04:48 2019	(r521557)
+++ head/japanese/font-rounded-mgenplus/pkg-plist	Mon Dec 30 18:06:29 2019	(r521558)
@@ -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


More information about the svn-ports-all mailing list