PortSystem 1.0 name dejavu-fonts version 2.37 revision 0 categories x11 fonts license BitstreamVera maintainers nomaintainer 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. platforms any homepage https://dejavu-fonts.github.io master_sites sourceforge:project/dejavu/dejavu/${version}/ distname ${name}-ttf-${version} use_bzip2 yes checksums rmd160 437e39fc989ac3e891fa3354d9baa20b9ac6c43c \ sha256 fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7 \ size 5429777 depends_run port:fontconfig supported_archs noarch use_configure no build {} destroot { 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 57-dejavu-sans-mono.conf 57-dejavu-sans.conf 57-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} } } post-destroot { 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} } post-activate { system "${prefix}/bin/fc-cache -fv ${prefix}/share/fonts" } livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}