Sat Sep 12 18:22:23 2015 UTC ()
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.


(wiz)
diff -r0 -r1.1 pkgsrc/fonts/unifont/DESCR
diff -r0 -r1.1 pkgsrc/fonts/unifont/Makefile
diff -r0 -r1.1 pkgsrc/fonts/unifont/PLIST
diff -r0 -r1.1 pkgsrc/fonts/unifont/distinfo
diff -r0 -r1.1 pkgsrc/fonts/unifont/patches/patch-man_Makefile

File Added: pkgsrc/fonts/unifont/DESCR
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.

File Added: pkgsrc/fonts/unifont/Makefile
# $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"

File Added: pkgsrc/fonts/unifont/PLIST
@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

File Added: pkgsrc/fonts/unifont/distinfo
$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

File Added: pkgsrc/fonts/unifont/patches/patch-man_Makefile
$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