# Template file for 'font-FixedMisc'
pkgname=font-FixedMisc
version=20130517
revision=1
wrksrc="FixedMisc"
hostmakedepends="bdftopcf"
depends="font-util"
noarch="yes"
font_dirs="/usr/share/fonts/X11/misc"
short_desc="MirOS FixedMisc font (9x18)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="Public Domain"
homepage="https://www.mirbsd.org/cvs.cgi/contrib/fonts/fixed/"
distfiles="https://www.mirbsd.org/MirOS/dist/mir/Foundry/FixedMisc-${version}.tgz"
checksum=58db817cdedab1def246eb70bfd8b8e623d62ee4831bbafbc320c53ee706ee3e

do_install() {
	vmkdir usr/share/fonts/X11/misc
	bdftopcf -t mirf18hw.bdf | gzip -n9 >${DESTDIR}/usr/share/fonts/X11/misc/mirf18hw.pcf.gz
	bdftopcf -t mirf18fw.bdf | gzip -n9 >${DESTDIR}/usr/share/fonts/X11/misc/mirf18fw.pcf.gz
	vlicense README LICENSE
}
