summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2019-12-30 17:48:48 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2019-12-30 17:48:48 +0000
commitc8d30e133a849f80f25a435e5a63b5b76c49af8b (patch)
treeda9527e2c71bcef3e8664a5301058133568d8da2 /japanese
parentUse FONTPATHSPEC (diff)
Use FONTPATHSPEC
Notes
Notes: svn path=/head/; revision=521553
Diffstat (limited to 'japanese')
-rw-r--r--japanese/font-hackgen/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/japanese/font-hackgen/Makefile b/japanese/font-hackgen/Makefile
index af7f7cfe95e9..6744c586fedd 100644
--- a/japanese/font-hackgen/Makefile
+++ b/japanese/font-hackgen/Makefile
@@ -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 GenJyuu-Gothic
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>