# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name terminus-font version 4.49.1 license OFL-1.1 GPL-2+ categories x11 maintainers {gmail.com:emanuele.giaquinta @exg} openmaintainer set major [lindex [split $version .] 0] set minor [lindex [split $version .] 1] set myfontdir ${prefix}/share/fonts/misc description A clean monospaced font long_description Terminus Font is designed for long (8 and more hours \ per day) work with computers. It contains a total of \ about 110 language sets. Also included are IBM VGA, \ vt100 and xterm pseudographic characters. platforms any supported_archs noarch homepage http://terminus-font.sourceforge.net/ master_sites sourceforge:project/terminus-font/terminus-font-${major}.${minor} checksums rmd160 9312fd445f8c452fdf140d119eca03ba41fb2d82 \ sha256 d961c1b781627bf417f9b340693d64fc219e0113ad3a3af1a3424c7aa373ef79 \ size 648345 depends_build port:python39 \ port:bdftopcf depends_lib port:fontconfig \ port:mkfontscale configure.args --x11dir=${myfontdir} --otbdir=${myfontdir} build.target pcf otb build.args INT=python3.9 destroot.target install-pcf install-otb post-activate { system "${prefix}/bin/mkfontdir ${myfontdir}" system "${prefix}/bin/fc-cache ${myfontdir}" } post-deactivate { system "${prefix}/bin/mkfontdir ${myfontdir}" system "${prefix}/bin/fc-cache ${myfontdir}" } livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"