Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2019 17:41:01 +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: r521551 - head/japanese/font-genjyuugothic
Message-ID:  <201912301741.xBUHf1i4046114@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ume
Date: Mon Dec 30 17:41:00 2019
New Revision: 521551
URL: https://svnweb.freebsd.org/changeset/ports/521551

Log:
  Use FONTPATHSPEC

Modified:
  head/japanese/font-genjyuugothic/Makefile
  head/japanese/font-genjyuugothic/pkg-plist

Modified: head/japanese/font-genjyuugothic/Makefile
==============================================================================
--- head/japanese/font-genjyuugothic/Makefile	Mon Dec 30 17:22:12 2019	(r521550)
+++ head/japanese/font-genjyuugothic/Makefile	Mon Dec 30 17:41:00 2019	(r521551)
@@ -2,7 +2,7 @@
 
 PORTNAME=	genjyuugothic
 PORTVERSION=	20150607
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	OSDN/users/8/8636
 PKGNAMEPREFIX=	ja-font-
@@ -13,7 +13,7 @@ COMMENT=	GenJyuuGothic 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
@@ -29,13 +29,13 @@ do-install:
 	cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}
 	${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-genjyuugothic/pkg-plist
==============================================================================
--- head/japanese/font-genjyuugothic/pkg-plist	Mon Dec 30 17:22:12 2019	(r521550)
+++ head/japanese/font-genjyuugothic/pkg-plist	Mon Dec 30 17:41:00 2019	(r521551)
@@ -1,5 +1,7 @@
 etc/fonts/conf.avail/20-unhint-genjyuugothic.conf
 etc/fonts/conf.avail/62-fonts-genjyuugothic.conf
+etc/fonts/conf.d/20-unhint-genjyuugothic.conf
+etc/fonts/conf.d/62-fonts-genjyuugothic.conf
 %%FONTSDIR%%/GenJyuuGothic-Bold.ttf
 %%FONTSDIR%%/GenJyuuGothic-ExtraLight.ttf
 %%FONTSDIR%%/GenJyuuGothic-Heavy.ttf



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