Skip to content

Commit

Permalink
x11-fonts/gnu-unifont-otf: Add gnu-unifont-otf 15.1.02 (copied from g…
Browse files Browse the repository at this point in the history
…nu-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.
  • Loading branch information
sunpoet committed Sep 30, 2023
1 parent 7a90f89 commit dbfbec3
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions x11-fonts/Makefile
Expand Up @@ -129,6 +129,7 @@
SUBDIR += genyo
SUBDIR += genyog
SUBDIR += gnu-unifont
SUBDIR += gnu-unifont-otf
SUBDIR += gnu-unifont-ttf
SUBDIR += gofont-ttf
SUBDIR += gohufont
Expand Down
33 changes: 33 additions & 0 deletions 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>
7 changes: 7 additions & 0 deletions 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
4 changes: 4 additions & 0 deletions 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.

0 comments on commit dbfbec3

Please sign in to comment.