Use FONTPATHSPEC
This commit is contained in:
parent
372be2a40b
commit
c6bd31ad12
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521555
1 changed files with 8 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= myricam
|
||||
PORTVERSION= 2.012.20180119
|
||||
#PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= japanese x11-fonts
|
||||
MASTER_SITES= https://github.com/tomokuni/Myrica/raw/master/product/
|
||||
PKGNAMEPREFIX= ja-font-
|
||||
|
@ -13,7 +13,7 @@ MAINTAINER= ume@FreeBSD.org
|
|||
COMMENT= Myrica free TrueType fonts for programming
|
||||
|
||||
USES= fonts:fc 7z
|
||||
FONTNAME= myricam
|
||||
FONTPATHSPEC= ${FONTNAME}:pri=60
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
|
@ -30,13 +30,13 @@ do-install:
|
|||
cd ${WRKSRC} && ${INSTALL_DATA} *.TTC ${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}
|
||||
|
|
Loading…
Reference in a new issue