aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-09-30 00:18:34 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-09-30 00:44:17 +0000
commitdbfbec3be66458fd9443e8264524ea0316fd07ce (patch)
treef1c8c48b6ee040ff6ba52998c22d320c5ff0a215
parent7a90f89055292bfe52352aec690daf9f7bc65fde (diff)
downloadports-dbfbec3be66458fd9443e8264524ea0316fd07ce.tar.gz
ports-dbfbec3be66458fd9443e8264524ea0316fd07ce.zip
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.
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/gnu-unifont-otf/Makefile33
-rw-r--r--x11-fonts/gnu-unifont-otf/distinfo7
-rw-r--r--x11-fonts/gnu-unifont-otf/pkg-descr4
4 files changed, 45 insertions, 0 deletions
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.