Import fonts/spleen.

Spleen is a monospaced bitmap font for consoles and terminals.
It is available in 5 sizes: 5x8, 8x16, 12x24, 16x32, and 32x64.

OK sthen@, rsadowski@
This commit is contained in:
fcambus 2018-09-19 07:30:30 +00:00
parent 127ef694cb
commit c8a0452b3f
4 changed files with 52 additions and 0 deletions

37
fonts/spleen/Makefile Normal file
View File

@ -0,0 +1,37 @@
# $OpenBSD: Makefile,v 1.1.1.1 2018/09/19 07:30:30 fcambus Exp $
COMMENT = monospaced bitmap fonts for consoles and terminals
V = 1.0.0
DISTNAME = spleen-$V
CATEGORIES = fonts
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = https://github.com/fcambus/spleen/releases/download/$V/
NO_TEST = Yes
USE_X11 = Yes
FONTDIR = ${PREFIX}/share/fonts/spleen
do-build:
cd ${WRKSRC}; \
for file in *.bdf; do \
font=`basename $$file .bdf`; \
${X11BASE}/bin/bdftopcf -t -o $$font.pcf $$font.bdf; \
done
${GZIP_CMD} ${WRKSRC}/*.pcf
do-install:
${INSTALL_DATA_DIR} ${FONTDIR}
${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${FONTDIR}
${INSTALL_DATA} ${WRKSRC}/fonts.alias-spleen ${FONTDIR}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spleen
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/spleen
.include <bsd.port.mk>

2
fonts/spleen/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (spleen-1.0.0.tar.gz) = tL945kb4uchfDuhw5kclBsz14URUjj8gnrtX+vkNb6A=
SIZE (spleen-1.0.0.tar.gz) = 45088

2
fonts/spleen/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
Spleen is a monospaced bitmap font for consoles and terminals.
It is available in 5 sizes: 5x8, 8x16, 12x24, 16x32, and 32x64.

11
fonts/spleen/pkg/PLIST Normal file
View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/09/19 07:30:30 fcambus Exp $
share/doc/spleen/
share/doc/spleen/README.md
share/fonts/
@fontdir share/fonts/spleen/
share/fonts/spleen/fonts.alias-spleen
share/fonts/spleen/spleen-12x24.pcf.gz
share/fonts/spleen/spleen-16x32.pcf.gz
share/fonts/spleen/spleen-32x64.pcf.gz
share/fonts/spleen/spleen-5x8.pcf.gz
share/fonts/spleen/spleen-8x16.pcf.gz