@fontdir takes care of running mkfontdir, it shouldn't be needed as a separate build step. See pkg_create(1).

--
 Sent from a phone, apologies for poor formatting.

On 31 July 2022 11:26:25 Omar Polo <o...@omarpolo.com> wrote:

Hello,

"Thim Cederlund" <t...@cederlund.de> wrote:
Hi ports@,

% pkg_info cursed-font
Information for inst:cursed-font-1.0.0

Comment:
monospaced 9x18 bitmap font for low-DPI screens

Description:
cursed font is a 9x18 bitmapped font designed for low-DPI screens.
It was originally an embiggened and monospace-ified version of Apple's Chicago
font from System 6, but it also takes inspiration from many other fonts such
as bizcat, ttyp0, tamzen, scientifica.

Maintainer: Thim Cederlund <t...@cederlund.de>

WWW: https://github.com/kiedtl/cursed


Picture of the font in use: https://tilde.team/~kiedtl/images/cursed/sdemo.png

the font is a bit too big for my tastes, but the port looks good! :)

two minor nitpicks regarding the indentation, but otherwise it's ok for
me to import it if someone wants to.  no need to send an updated
tarball, i trust whoever imports it to adjust the indentation

maybe we should print a note about `xset +fp /usr/local/...; xset fp
rehash' when installing bitmap fonts?  not an issue per-se, other
packages like dina-fonts lacks it.

--- Makefile.orig Sun Jul 31 12:18:09 2022
+++ Makefile Sun Jul 31 12:20:05 2022
@@ -1,6 +1,6 @@
COMMENT = monospaced 9x18 bitmap font for low-DPI screens

-V = 1.0.0
+V = 1.0.0
PKGNAME = cursed-font-${V}

GH_PROJECT = cursed
@@ -22,7 +22,7 @@
do-build:
 ${X11BASE}/bin/bdftopcf -t ${WRKSRC}/font.bdf \
 | gzip -9 >${WRKSRC}/cursed.pcf.gz
- ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb ${WRKSRC}/font.bdf
+ ${X11BASE}/bin/fonttosfnt -o ${WRKSRC}/cursed.otb ${WRKSRC}/font.bdf
 ${X11BASE}/bin/mkfontdir ${WRKSRC}
 egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
 sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias

Reply via email to