46 lines
1.1 KiB
Bash
46 lines
1.1 KiB
Bash
# Template file for 'font-spleen'
|
|
pkgname=font-spleen
|
|
version=2.0.2
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_cmd=bmake
|
|
make_build_target="pcf psf otb"
|
|
hostmakedepends="bmake bdftopcf bdf2psf fonttosfnt"
|
|
depends="font-util"
|
|
short_desc="Monospaced bitmap fonts"
|
|
maintainer="icp <pangolin@vivaldi.net>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/fcambus/spleen"
|
|
changelog="https://raw.githubusercontent.com/fcambus/spleen/master/ChangeLog"
|
|
distfiles="https://github.com/fcambus/spleen/releases/download/${version}/spleen-${version}.tar.gz"
|
|
checksum=f930eb02894aa06eb50aeaaa10b00420254d72320fa28c3a40f157a8c2943755
|
|
font_dirs="/usr/share/fonts/X11/spleen /usr/share/fonts/OTF"
|
|
|
|
post_build() {
|
|
gzip -n9 *.pcf *.psfu
|
|
}
|
|
|
|
do_check() {
|
|
# bmake: don't know how to make check. Stop
|
|
:
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/share/kbd/consolefonts
|
|
for f in *.psfu.gz; do
|
|
vinstall $f 644 usr/share/kbd/consolefonts
|
|
done
|
|
|
|
vmkdir usr/share/fonts/X11/spleen
|
|
for f in *.pcf.gz *.otb; do
|
|
vinstall $f 644 usr/share/fonts/X11/spleen
|
|
done
|
|
vinstall fonts.alias 644 usr/share/fonts/X11/spleen
|
|
|
|
for f in *.otf; do
|
|
vinstall $f 644 usr/share/fonts/OTF
|
|
done
|
|
|
|
vlicense LICENSE
|
|
}
|