mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Use FONTPATHSPEC
This commit is contained in:
parent
7a23c7ebb5
commit
c8d30e133a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521553
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user