Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2019 17:48:48 +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: r521553 - head/japanese/font-hackgen
Message-ID:  <201912301748.xBUHmmWZ049883@repo.freebsd.org>

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

Log:
  Use FONTPATHSPEC

Modified:
  head/japanese/font-hackgen/Makefile

Modified: head/japanese/font-hackgen/Makefile
==============================================================================
--- head/japanese/font-hackgen/Makefile	Mon Dec 30 17:41:46 2019	(r521552)
+++ head/japanese/font-hackgen/Makefile	Mon Dec 30 17:48:48 2019	(r521553)
@@ -2,7 +2,7 @@
 
 PORTNAME=	hackgen
 PORTVERSION=	1.3.1
-#PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	https://github.com/yuru7/HackGen/releases/download/v${PORTVERSION}/
 PKGNAMEPREFIX=	ja-font-
@@ -14,6 +14,7 @@ COMMENT=	HackGen is a composite font of Hack and GenJy
 LICENSE=	OFL11
 
 USES=		fonts:fc zip
+FONTPATHSPEC=	${FONTNAME}:pri=60
 NO_ARCH=	yes
 NO_BUILD=	yes
 PKGINSTALL=	${WRKDIR}/pkg-install
@@ -64,12 +65,12 @@ 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
 
 .include <bsd.port.mk>



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