1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Use FONTPATHSPEC

This commit is contained in:
Hajimu UMEMOTO 2019-12-30 18:06:29 +00:00
parent 3b3b632e16
commit c8f872d1cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521558
2 changed files with 9 additions and 7 deletions

View File

@ -13,7 +13,7 @@ COMMENT= Rounded Mgen+ Japanese TrueType fonts
LICENSE= OFL11 LICENSE= OFL11
USES= 7z fonts:fc USES= 7z fonts:fc
FONTNAME= ${PORTNAME} FONTPATHSPEC= ${FONTNAME}:pri=60
NO_ARCH= yes NO_ARCH= yes
NO_BUILD= yes NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/pkg-install PKGINSTALL= ${WRKDIR}/pkg-install
@ -93,13 +93,13 @@ do-install:
.endfor .endfor
${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \
${STAGEDIR}${PREFIX}/etc/fonts/conf.d ${STAGEDIR}${PREFIX}/etc/fonts/conf.d
${INSTALL_DATA} ${FILESDIR}/20-unhint-${PORTNAME}.conf \ ${INSTALL_DATA} ${FILESDIR}/20-unhint-${FONTNAME}.conf \
${FILESDIR}/62-fonts-${PORTNAME}.conf \ ${FILESDIR}/62-fonts-${FONTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/fonts/conf.avail ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail
${LN} -s -f ../conf.avail/20-unhint-${PORTNAME}.conf \ ${LN} -s -f ../conf.avail/20-unhint-${FONTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${FONTNAME}.conf
${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \ ${LN} -s -f ../conf.avail/62-fonts-${FONTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${FONTNAME}.conf
post-install-DOCS-on: post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -1,5 +1,7 @@
etc/fonts/conf.avail/20-unhint-rounded-mgenplus.conf etc/fonts/conf.avail/20-unhint-rounded-mgenplus.conf
etc/fonts/conf.avail/62-fonts-rounded-mgenplus.conf etc/fonts/conf.avail/62-fonts-rounded-mgenplus.conf
etc/fonts/conf.d/20-unhint-rounded-mgenplus.conf
etc/fonts/conf.d/62-fonts-rounded-mgenplus.conf
%%ROUNDED_MGENPLUS_1C%%%%FONTSDIR%%/rounded-mgenplus-1c-black.ttf %%ROUNDED_MGENPLUS_1C%%%%FONTSDIR%%/rounded-mgenplus-1c-black.ttf
%%ROUNDED_MGENPLUS_1C%%%%FONTSDIR%%/rounded-mgenplus-1c-bold.ttf %%ROUNDED_MGENPLUS_1C%%%%FONTSDIR%%/rounded-mgenplus-1c-bold.ttf
%%ROUNDED_MGENPLUS_1C%%%%FONTSDIR%%/rounded-mgenplus-1c-heavy.ttf %%ROUNDED_MGENPLUS_1C%%%%FONTSDIR%%/rounded-mgenplus-1c-heavy.ttf