summaryrefslogtreecommitdiff
path: root/fonts/unifont
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-09-12 18:22:22 +0000
committerwiz <wiz@pkgsrc.org>2015-09-12 18:22:22 +0000
commit28e42797048c7335b99c5b8662521d5492047f73 (patch)
treeaa5a977c07dbdaaa4780ccdbcfbabfb2205a0d1a /fonts/unifont
parentc070819581845e3f5997c6493dc9f3e1273101be (diff)
downloadpkgsrc-28e42797048c7335b99c5b8662521d5492047f73.tar.gz
Import unifont-8.0.01 as fonts/unifont.
GNU Unifont is an official GNU package. It is a dual-width (8x16/16x16) bitmap font, designed to provide coverage for all of Unicode Plane 0, the Basic Multilingual Plane (BMP). GNU Unifont has a glyph for each visible code point in the Unicode Basic Multilingual Plane (Plane 0) and some glyphs in the Supplemental Multilingual Plane (Plane 1). This version also includes many glyphs in Michael Everson's ConScript Unicode Registry (CSUR). Unifont only provides a single glyph for each character, making it impossible to handle any language properly that needs context-dependent character shaping. It is supplied in the form of a hex file, with a converter to convert it to BDF. See http://czyborra.com/unifont/ or http://unifoundry.com/unifont.html for more information. The BDF font is converted to PCF, and the hex file is converted to a TrueType font.
Diffstat (limited to 'fonts/unifont')
-rw-r--r--fonts/unifont/DESCR16
-rw-r--r--fonts/unifont/Makefile35
-rw-r--r--fonts/unifont/PLIST69
-rw-r--r--fonts/unifont/distinfo6
-rw-r--r--fonts/unifont/patches/patch-man_Makefile15
5 files changed, 141 insertions, 0 deletions
diff --git a/fonts/unifont/DESCR b/fonts/unifont/DESCR
new file mode 100644
index 00000000000..e39569b528f
--- /dev/null
+++ b/fonts/unifont/DESCR
@@ -0,0 +1,16 @@
+GNU Unifont is an official GNU package. It is a dual-width
+(8x16/16x16) bitmap font, designed to provide coverage for all of
+Unicode Plane 0, the Basic Multilingual Plane (BMP).
+
+GNU Unifont has a glyph for each visible code point in the Unicode
+Basic Multilingual Plane (Plane 0) and some glyphs in the Supplemental
+Multilingual Plane (Plane 1). This version also includes many
+glyphs in Michael Everson's ConScript Unicode Registry (CSUR).
+
+Unifont only provides a single glyph for each character, making it
+impossible to handle any language properly that needs context-dependent
+character shaping. It is supplied in the form of a hex file, with
+a converter to convert it to BDF. See http://czyborra.com/unifont/
+or http://unifoundry.com/unifont.html for more information. The
+BDF font is converted to PCF, and the hex file is converted to a
+TrueType font.
diff --git a/fonts/unifont/Makefile b/fonts/unifont/Makefile
new file mode 100644
index 00000000000..e8f420f06ec
--- /dev/null
+++ b/fonts/unifont/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2015/09/12 18:22:22 wiz Exp $
+
+DISTNAME= unifont-8.0.01
+CATEGORIES= fonts
+MASTER_SITES= http://unifoundry.com/pub/${DISTNAME}/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://unifoundry.com/unifont.html
+COMMENT= GNU Unifont - glyphs for all printable code points in Unicode 8.0 BMP
+LICENSE= gnu-gpl-v2 # or later
+
+USE_TOOLS+= gmake perl:run
+
+MAKE_FLAGS+= USRDIR=${PREFIX}
+MAKE_FLAGS+= CONSOLEDEST=${DESTDIR}${PREFIX}/share/fonts/consolefonts
+MAKE_FLAGS+= FONTDEST=${DESTDIR}${PREFIX}/share/fonts
+MAKE_FLAGS+= PKGMANDIR=${PKGMANDIR}
+
+MAKE_JOBS_SAFE= no
+
+REPLACE_PERL+= src/bdfimplode
+REPLACE_PERL+= src/hex2bdf
+REPLACE_PERL+= src/hex2sfd
+REPLACE_PERL+= src/hexbraille
+REPLACE_PERL+= src/hexdraw
+REPLACE_PERL+= src/hexkinya
+REPLACE_PERL+= src/hexmerge
+REPLACE_PERL+= src/johab2ucs2
+REPLACE_PERL+= src/unifont-viewer
+REPLACE_PERL+= src/unifontchojung
+REPLACE_PERL+= src/unifontksx
+REPLACE_PERL+= src/unihex2png
+REPLACE_PERL+= src/unipng2hex
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/unifont/PLIST b/fonts/unifont/PLIST
new file mode 100644
index 00000000000..841a91dbaab
--- /dev/null
+++ b/fonts/unifont/PLIST
@@ -0,0 +1,69 @@
+@comment $NetBSD: PLIST,v 1.1 2015/09/12 18:22:22 wiz Exp $
+bin/bdfimplode
+bin/hex2bdf
+bin/hex2sfd
+bin/hexbraille
+bin/hexdraw
+bin/hexkinya
+bin/hexmerge
+bin/johab2ucs2
+bin/unibdf2hex
+bin/unibmp2hex
+bin/unicoverage
+bin/unidup
+bin/unifont-viewer
+bin/unifontchojung
+bin/unifontksx
+bin/unifontpic
+bin/unigencircles
+bin/unigenwidth
+bin/unihex2bmp
+bin/unihex2png
+bin/unihexfill
+bin/unihexgen
+bin/unipagecount
+bin/unipng2hex
+man/man1/bdfimplode.1
+man/man1/hex2bdf.1
+man/man1/hex2sfd.1
+man/man1/hexbraille.1
+man/man1/hexdraw.1
+man/man1/hexkinya.1
+man/man1/hexmerge.1
+man/man1/johab2ucs2.1
+man/man1/unibdf2hex.1
+man/man1/unibmp2hex.1
+man/man1/unicoverage.1
+man/man1/unidup.1
+man/man1/unifont-viewer.1
+man/man1/unifontchojung.1
+man/man1/unifontksx.1
+man/man1/unifontpic.1
+man/man1/unigencircles.1
+man/man1/unigenwidth.1
+man/man1/unihex2bmp.1
+man/man1/unihex2png.1
+man/man1/unihexfill.1
+man/man1/unihexgen.1
+man/man1/unipagecount.1
+man/man1/unipng2hex.1
+man/man5/unifont.5
+share/fonts/X11/misc/unifont.pcf.gz
+share/fonts/X11/misc/unifont_csur.pcf.gz
+share/fonts/X11/misc/unifont_sample.pcf.gz
+share/fonts/consolefonts/Unifont-APL8x16.psf.gz
+share/fonts/truetype/unifont/unifont.ttf
+share/fonts/truetype/unifont/unifont_csur.ttf
+share/fonts/truetype/unifont/unifont_sample.ttf
+share/fonts/truetype/unifont/unifont_upper.ttf
+share/fonts/truetype/unifont/unifont_upper_csur.ttf
+share/unifont/ChangeLog.gz
+share/unifont/INSTALL.gz
+share/unifont/NEWS.gz
+share/unifont/README.gz
+share/unifont/bmp-combining.txt
+share/unifont/unifont.bmp
+share/unifont/unifont.hex
+share/unifont/unifont.info.gz
+share/unifont/unifont.txt.gz
+share/unifont/wchardata.c
diff --git a/fonts/unifont/distinfo b/fonts/unifont/distinfo
new file mode 100644
index 00000000000..30a496fba7f
--- /dev/null
+++ b/fonts/unifont/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/09/12 18:22:22 wiz Exp $
+
+SHA1 (unifont-8.0.01.tar.gz) = 235736072e6a7202ea7807559e028fd4e95fc424
+RMD160 (unifont-8.0.01.tar.gz) = 2aad88872215b625cb84aa327531cdd97c8b8fd2
+Size (unifont-8.0.01.tar.gz) = 19157156 bytes
+SHA1 (patch-man_Makefile) = 3d4274578270fc8df1e713ffacaecabfa356383a
diff --git a/fonts/unifont/patches/patch-man_Makefile b/fonts/unifont/patches/patch-man_Makefile
new file mode 100644
index 00000000000..abca4732285
--- /dev/null
+++ b/fonts/unifont/patches/patch-man_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-man_Makefile,v 1.1 2015/09/12 18:22:22 wiz Exp $
+
+Adapt path for pkgsrc.
+
+--- man/Makefile.orig 2014-10-22 00:44:55.000000000 +0000
++++ man/Makefile
+@@ -16,7 +16,7 @@ MAN5PAGES = unifont.5
+ # to override the setting below.
+ #
+ PREFIX = /usr
+-INSTALLDIR = $(PREFIX)/share/man
++INSTALLDIR = $(PREFIX)/${PKGMANDIR}
+
+ #
+ # Set "COMPRESS = 0" to install uncompressed man pages (the default), or