Since terminus now has its own build infrastructure to produce otb
fonts, we should probably use it.

Index: Makefile
===================================================================
RCS file: /cvs/ports/fonts/terminus-font/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile    5 May 2023 02:02:46 -0000       1.23
+++ Makefile    6 May 2023 17:00:08 -0000
@@ -1,6 +1,7 @@
 COMMENT =              fixed width fonts especially for long hacking sessions
 
 DISTNAME =             terminus-font-4.49.1
+REVISION =             0
 CATEGORIES =           fonts x11
 
 HOMEPAGE =             http://terminus-font.sourceforge.net/
@@ -20,7 +21,7 @@ CONFIGURE_STYLE =     simple
 NO_TEST =              Yes
 USE_X11 =              Yes
 
-ALL_TARGET =           pcf pcf-8bit raw
+ALL_TARGET =           pcf pcf-8bit raw otb
 
 FONTDIR =              ${PREFIX}/share/fonts/terminus
 
@@ -42,10 +43,6 @@ PATCH_LIST = patch-* ${FLAVOR_PATCHES}
 PKG_ARCH =     *
 
 post-build:
-       cd ${WRKSRC} && \
-       for bdf in ter-u???.bdf; do \
-               ${X11BASE}/bin/fonttosfnt -o `basename $$bdf .bdf`.otb $$bdf; \
-       done
        ${GZIP_CMD} ${WRKSRC}/*.pcf
 
 do-install:
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/fonts/terminus-font/pkg/PLIST,v
retrieving revision 1.7
diff -u -p -r1.7 PLIST
--- pkg/PLIST   11 Mar 2022 19:00:27 -0000      1.7
+++ pkg/PLIST   6 May 2023 17:00:08 -0000
@@ -227,12 +227,10 @@ share/fonts/terminus/ter-u14b.otb
 share/fonts/terminus/ter-u14b.pcf.gz
 share/fonts/terminus/ter-u14n.otb
 share/fonts/terminus/ter-u14n.pcf.gz
-share/fonts/terminus/ter-u14v.otb
 share/fonts/terminus/ter-u16b.otb
 share/fonts/terminus/ter-u16b.pcf.gz
 share/fonts/terminus/ter-u16n.otb
 share/fonts/terminus/ter-u16n.pcf.gz
-share/fonts/terminus/ter-u16v.otb
 share/fonts/terminus/ter-u18b.otb
 share/fonts/terminus/ter-u18b.pcf.gz
 share/fonts/terminus/ter-u18n.otb

Reply via email to