svn commit: r521553 - head/japanese/font-hackgen
Hajimu UMEMOTO
ume at FreeBSD.org
Mon Dec 30 17:48:48 UTC 2019
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>
More information about the svn-ports-all
mailing list