diff options
-rw-r--r-- | japanese/font-genshingothic/Makefile | 16 | ||||
-rw-r--r-- | japanese/font-genshingothic/pkg-plist | 2 |
2 files changed, 10 insertions, 8 deletions
diff --git a/japanese/font-genshingothic/Makefile b/japanese/font-genshingothic/Makefile index 6e6c413b30d4..79362c19ad2b 100644 --- a/japanese/font-genshingothic/Makefile +++ b/japanese/font-genshingothic/Makefile @@ -2,7 +2,7 @@ PORTNAME= genshingothic PORTVERSION= 20150607 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= japanese x11-fonts MASTER_SITES= OSDN/users/8/8634 PKGNAMEPREFIX= ja-font- @@ -13,7 +13,7 @@ COMMENT= GenShinGothic Japanese TrueType fonts LICENSE= OFL11 USES= 7z fonts:fc -FONTNAME= ${PORTNAME} +FONTPATHSPEC= ${FONTNAME}:pri=60 NO_ARCH= yes NO_BUILD= yes PKGINSTALL= ${WRKDIR}/pkg-install @@ -29,13 +29,13 @@ do-install: cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${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} diff --git a/japanese/font-genshingothic/pkg-plist b/japanese/font-genshingothic/pkg-plist index dc8bcaddbcc2..ba26ea94caac 100644 --- a/japanese/font-genshingothic/pkg-plist +++ b/japanese/font-genshingothic/pkg-plist @@ -1,5 +1,7 @@ etc/fonts/conf.avail/20-unhint-genshingothic.conf etc/fonts/conf.avail/62-fonts-genshingothic.conf +etc/fonts/conf.d/20-unhint-genshingothic.conf +etc/fonts/conf.d/62-fonts-genshingothic.conf %%FONTSDIR%%/GenShinGothic-Bold.ttf %%FONTSDIR%%/GenShinGothic-ExtraLight.ttf %%FONTSDIR%%/GenShinGothic-Heavy.ttf |