description Free Japanese TrueType fonts named 'Kochi Mincho' and \
long_description ${description}
homepage http://wiki.fdiary.net/font/?kochi-alternative
master_sites http://osdn.dl.sourceforge.jp/efont/5411/ \
http://keihanna.dl.sourceforge.jp/efont/5411/ \
http://kyushu-u.dl.sourceforge.jp/efont/5411/
checksums md5 c4b14e287cf2b1688c649e2274e128b3
depends_lib port:mkfontscale
set fontsdir ${destroot}${prefix}/share/fonts/${name}
xinstall -m 755 -d ${fontsdir} ${destroot}${prefix}/share/doc/
xinstall -m 644 ${worksrcpath}/kochi-mincho-subst.ttf ${fontsdir}
xinstall -m 644 ${worksrcpath}/kochi-gothic-subst.ttf ${fontsdir}
#mkfontscale && mkfontdir
system "mkfontscale ${fontsdir} && mkfontdir ${fontsdir}"
file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} COPYING README.ja Changelog \
${destroot}${prefix}/share/doc/${name}