git: dbfbec3be664 - main - x11-fonts/gnu-unifont-otf: Add gnu-unifont-otf 15.1.02 (copied from gnu-unifont-ttf)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 30 Sep 2023 00:47:44 UTC
The branch main has been updated by sunpoet:

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

commit dbfbec3be66458fd9443e8264524ea0316fd07ce
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-30 00:18:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-30 00:44:17 +0000

    x11-fonts/gnu-unifont-otf: Add gnu-unifont-otf 15.1.02 (copied from gnu-unifont-ttf)
    
    GNU Unifont is a free bitmap font that covers the Unicode Basic Multilingual
    Plane (BMP), using an intermediate bitmapped font format.
    
    This is converted to OpenType.
---
 x11-fonts/Makefile                  |  1 +
 x11-fonts/gnu-unifont-otf/Makefile  | 33 +++++++++++++++++++++++++++++++++
 x11-fonts/gnu-unifont-otf/distinfo  |  7 +++++++
 x11-fonts/gnu-unifont-otf/pkg-descr |  4 ++++
 4 files changed, 45 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 7c210df88965..8c9e5162ab70 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -129,6 +129,7 @@
     SUBDIR += genyo
     SUBDIR += genyog
     SUBDIR += gnu-unifont
+    SUBDIR += gnu-unifont-otf
     SUBDIR += gnu-unifont-ttf
     SUBDIR += gofont-ttf
     SUBDIR += gohufont
diff --git a/x11-fonts/gnu-unifont-otf/Makefile b/x11-fonts/gnu-unifont-otf/Makefile
new file mode 100644
index 000000000000..8bbfaacf6698
--- /dev/null
+++ b/x11-fonts/gnu-unifont-otf/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	unifont
+PORTVERSION=	15.1.02
+CATEGORIES=	x11-fonts
+MASTER_SITES=	GNU/unifont/unifont-${PORTVERSION}
+PKGNAMEPREFIX=	gnu-
+PKGNAMESUFFIX=	-otf
+DISTFILES=	${FONTFILES:S|$|-${PORTVERSION}${FONTSUFFIX}|}
+EXTRACT_ONLY=	# empty
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	GNU Unicode TrueType font
+WWW=		https://unifoundry.com/unifont/index.html
+
+LICENSE=	GPLv2+
+
+USES=		fonts
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+FONTSDIR=	${PREFIX}/share/fonts/gnu-unifont-otf
+PLIST_FILES=	${FONTFILES:S|^|${FONTSDIR}/|:S|$|${FONTSUFFIX}|}
+
+FONTFILES=	unifont unifont_csur unifont_upper
+FONTSUFFIX=	.otf
+
+do-install:
+	${MKDIR} ${STAGEDIR}${FONTSDIR}
+.for i in ${FONTFILES}
+	${INSTALL_DATA} ${DISTDIR}/${i}-${PORTVERSION}${FONTSUFFIX} ${STAGEDIR}${FONTSDIR}/${i}${FONTSUFFIX}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/gnu-unifont-otf/distinfo b/x11-fonts/gnu-unifont-otf/distinfo
new file mode 100644
index 000000000000..9b0bc40775f8
--- /dev/null
+++ b/x11-fonts/gnu-unifont-otf/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1696001248
+SHA256 (unifont-15.1.02.otf) = 7e6866ef8cdceb024ad9fe57903abf0517392effab0af7034687601c24a25100
+SIZE (unifont-15.1.02.otf) = 5105244
+SHA256 (unifont_csur-15.1.02.otf) = 3495bc222c362e97f230738c7d2d529540698bfab802856f83c99a98abff902e
+SIZE (unifont_csur-15.1.02.otf) = 573348
+SHA256 (unifont_upper-15.1.02.otf) = 393230580da9fbb95da840793ba275f33539455a2cc02d2dd46ef67c57822a95
+SIZE (unifont_upper-15.1.02.otf) = 5857632
diff --git a/x11-fonts/gnu-unifont-otf/pkg-descr b/x11-fonts/gnu-unifont-otf/pkg-descr
new file mode 100644
index 000000000000..1e4e30841d55
--- /dev/null
+++ b/x11-fonts/gnu-unifont-otf/pkg-descr
@@ -0,0 +1,4 @@
+GNU Unifont is a free bitmap font that covers the Unicode Basic Multilingual
+Plane (BMP), using an intermediate bitmapped font format.
+
+This is converted to OpenType.