From c8a0452b3f7d8b02011b60e82c84bbf0bfbe3fb5 Mon Sep 17 00:00:00 2001 From: fcambus Date: Wed, 19 Sep 2018 07:30:30 +0000 Subject: [PATCH] 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@ --- fonts/spleen/Makefile | 37 +++++++++++++++++++++++++++++++++++++ fonts/spleen/distinfo | 2 ++ fonts/spleen/pkg/DESCR | 2 ++ fonts/spleen/pkg/PLIST | 11 +++++++++++ 4 files changed, 52 insertions(+) create mode 100644 fonts/spleen/Makefile create mode 100644 fonts/spleen/distinfo create mode 100644 fonts/spleen/pkg/DESCR create mode 100644 fonts/spleen/pkg/PLIST diff --git a/fonts/spleen/Makefile b/fonts/spleen/Makefile new file mode 100644 index 00000000000..da1fc55aa35 --- /dev/null +++ b/fonts/spleen/Makefile @@ -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 + +# 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 diff --git a/fonts/spleen/distinfo b/fonts/spleen/distinfo new file mode 100644 index 00000000000..2ee7c9aea9b --- /dev/null +++ b/fonts/spleen/distinfo @@ -0,0 +1,2 @@ +SHA256 (spleen-1.0.0.tar.gz) = tL945kb4uchfDuhw5kclBsz14URUjj8gnrtX+vkNb6A= +SIZE (spleen-1.0.0.tar.gz) = 45088 diff --git a/fonts/spleen/pkg/DESCR b/fonts/spleen/pkg/DESCR new file mode 100644 index 00000000000..90285ec6f79 --- /dev/null +++ b/fonts/spleen/pkg/DESCR @@ -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. diff --git a/fonts/spleen/pkg/PLIST b/fonts/spleen/pkg/PLIST new file mode 100644 index 00000000000..b9180fa0876 --- /dev/null +++ b/fonts/spleen/pkg/PLIST @@ -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