description Japanese proportional TrueType font
long_description ${description}
homepage http://wiki.fdiary.net/font/?sazanami
master_sites http://osdn.dl.sourceforge.jp/efont/10087/ \
http://keihanna.dl.sourceforge.jp/efont/10087/ \
http://kyushu-u.dl.sourceforge.jp/efont/10087/
distname sazanami-${version}
checksums md5 ceef10579a75c92483171f3bd7f77df2
depends_lib port:mkfontscale
set fontsdir ${destroot}${prefix}/share/fonts/sazanami
xinstall -d -m 755 ${destroot}${prefix}/share/doc/ ${fontsdir}
xinstall -m 644 ${worksrcpath}/sazanami-mincho.ttf ${fontsdir}
xinstall -m 644 ${worksrcpath}/sazanami-gothic.ttf ${fontsdir}
#mkfontscale && mkfontdir
system "mkfontscale ${fontsdir} && mkfontdir ${fontsdir}"
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 ${worksrcpath}/README \
${destroot}${prefix}/share/doc/${name}