Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2019 18:06:29 +0000 (UTC)
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521558 - head/japanese/font-rounded-mgenplus
Message-ID:  <201912301806.xBUI6TcN062251@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912301806.xBUI6TcN062251>