git: d06e15b1e7e5 - main - x11-fonts/terminus-font: Install otp fonts

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Sat, 12 Aug 2023 19:57:42 UTC
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d06e15b1e7e5ad9a2e231fcc3fed91c13d22bdda

commit d06e15b1e7e5ad9a2e231fcc3fed91c13d22bdda
Author:     Andrey Zholos <aaz@q-fu.com>
AuthorDate: 2023-08-12 19:56:04 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2023-08-12 19:56:04 +0000

    x11-fonts/terminus-font: Install otp fonts
    
    This was missed in the ports 4.49 update
    
    PR:             256266
    Approved by:    x11 (blanket)
---
 x11-fonts/terminus-font/Makefile  |  4 +++-
 x11-fonts/terminus-font/pkg-plist | 18 ++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/x11-fonts/terminus-font/Makefile b/x11-fonts/terminus-font/Makefile
index ee4cc2d218e0..9973007a6ec8 100644
--- a/x11-fonts/terminus-font/Makefile
+++ b/x11-fonts/terminus-font/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	terminus-font
 PORTVERSION=	4.49.1
+PORTREVISION=	1
 CATEGORIES=	x11-fonts
 MASTER_SITES=	SF/${PORTNAME:tl}/${PORTNAME}-${PORTVERSION:R}
 
@@ -31,7 +32,7 @@ SUB_FILES=	pkg-message
 
 .include <bsd.port.options.mk>
 
-ALL_TARGET=	pcf pcf-8bit
+ALL_TARGET=	pcf pcf-8bit otb
 
 post-extract:
 .if ${PORT_OPTIONS:MAO2}
@@ -77,5 +78,6 @@ post-build:
 do-install:
 	@${MKDIR} ${STAGEDIR}${FONTSDIR}
 	${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.otb ${STAGEDIR}${FONTSDIR}
 
 .include <bsd.port.mk>
diff --git a/x11-fonts/terminus-font/pkg-plist b/x11-fonts/terminus-font/pkg-plist
index 7302dc3a539d..8cd868150872 100644
--- a/x11-fonts/terminus-font/pkg-plist
+++ b/x11-fonts/terminus-font/pkg-plist
@@ -250,3 +250,21 @@
 %%FONTSDIR%%/ter-x28n.pcf.gz
 %%FONTSDIR%%/ter-x32b.pcf.gz
 %%FONTSDIR%%/ter-x32n.pcf.gz
+%%FONTSDIR%%/ter-u12b.otb
+%%FONTSDIR%%/ter-u12n.otb
+%%FONTSDIR%%/ter-u14b.otb
+%%FONTSDIR%%/ter-u14n.otb
+%%FONTSDIR%%/ter-u16b.otb
+%%FONTSDIR%%/ter-u16n.otb
+%%FONTSDIR%%/ter-u18b.otb
+%%FONTSDIR%%/ter-u18n.otb
+%%FONTSDIR%%/ter-u20b.otb
+%%FONTSDIR%%/ter-u20n.otb
+%%FONTSDIR%%/ter-u22b.otb
+%%FONTSDIR%%/ter-u22n.otb
+%%FONTSDIR%%/ter-u24b.otb
+%%FONTSDIR%%/ter-u24n.otb
+%%FONTSDIR%%/ter-u28b.otb
+%%FONTSDIR%%/ter-u28n.otb
+%%FONTSDIR%%/ter-u32b.otb
+%%FONTSDIR%%/ter-u32n.otb