description The DejaVu fonts are a font family based on the Vera Fonts.
long_description ${description} \
Its purpose is to provide a wider range of characters while \
maintaining the original look and feel through the process of \
collaborative development (see authors), under a Free license.
homepage http://dejavu-fonts.org/
master_sites sourceforge:dejavu:
distname ${name}-ttf-${version}
checksums rmd160 437e39fc989ac3e891fa3354d9baa20b9ac6c43c \
sha256 fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7
depends_run port:fontconfig
set fontsdir ${destroot}${prefix}/share/fonts/${name}
xinstall -d -m 755 ${fontsdir}
xinstall -m 644 {*}[glob ${worksrcpath}/ttf/*.ttf] ${fontsdir}
xinstall -d -m 755 ${destroot}${prefix}/etc/fonts/conf.avail
xinstall -d -m 755 ${destroot}${prefix}/etc/fonts/conf.d
foreach f { 20-unhint-small-dejavu-sans-mono.conf
20-unhint-small-dejavu-sans.conf
20-unhint-small-dejavu-serif.conf
xinstall -m 644 ${worksrcpath}/fontconfig/${f} ${destroot}${prefix}/etc/fonts/conf.avail
ln -s ../conf.avail/${f} ${destroot}${prefix}/etc/fonts/conf.d/${f}
xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} AUTHORS BUGS LICENSE NEWS README.md langcover.txt status.txt unicover.txt ${destroot}${prefix}/share/doc/${name}
system "${prefix}/bin/fc-cache -fv ${prefix}/share/fonts"
livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}