diff options
Diffstat (limited to 'japanese/k10/Makefile')
-rw-r--r-- | japanese/k10/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/japanese/k10/Makefile b/japanese/k10/Makefile index 0d0ab51bd794..67f883d7700a 100644 --- a/japanese/k10/Makefile +++ b/japanese/k10/Makefile @@ -3,7 +3,7 @@ PORTNAME= naga10 PORTVERSION= 1.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= japanese x11-fonts MASTER_SITES= http://hp.vector.co.jp/authors/VA013391/fonts/ DISTNAME= knj10-${PORTVERSION} @@ -13,12 +13,10 @@ COMMENT= X11 10-dot Kanji font 'naga10 font' BUILD_DEPENDS= mkbold:${PORTSDIR}/x11-fonts/mkbold-mkitalic \ bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf -RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ - mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale -FONTSDIR= lib/X11/fonts/local -MAKE_ENV= FONTSDIR=${FONTSDIR} -PLIST_SUB= FONTSDIR=${FONTSDIR} +USES= fonts + +MAKE_ENV= FONTSDIR=${FONTSDIR:S,${PREFIX},,} OPTIONS_DEFINE= DOCS @@ -26,7 +24,7 @@ post-extract: ${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/naga10 - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/naga10/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |