diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2001-04-08 22:32:55 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2001-04-08 22:32:55 +0000 |
commit | 9b4a890f3b3dfc5d8dbf064683fb218fc3f3a15a (patch) | |
tree | e35d3afad50ab60cd44d9146bee37103015d8c8c /ukrainian/monacofonts/files | |
parent | Ignore the checksum on notes.html as it changes way too often. (diff) |
Add monacofonts 1.0,
a collection of 5 "fixed" fonts for X11 from
www.brama.com.
PR: ports/22368
Submitted by: mi@aldan.algebra.com
Notes
Notes:
svn path=/head/; revision=41092
Diffstat (limited to 'ukrainian/monacofonts/files')
-rw-r--r-- | ukrainian/monacofonts/files/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ukrainian/monacofonts/files/Makefile b/ukrainian/monacofonts/files/Makefile new file mode 100644 index 000000000000..ba696f942135 --- /dev/null +++ b/ukrainian/monacofonts/files/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +.SUFFIXES: .bdf .pcf.gz + +STEMS:= italic09 italic12 roman09 roman10 roman12 +PCFS:= ${STEMS:S/$/.pcf.gz/} + +all: ${PCFS} fonts.dir fonts.alias + +.bdf.pcf.gz: + ${X11BASE}/bin/bdftopcf < $< | gzip -9 > $@ + +fonts.dir: ${PCFS} + ${X11BASE}/bin/mkfontdir + +# I don't know why ``isoir-111'' was chosen for this fonts' encoding -- +# they are in koi8-u, so the each will have a corresponding alias. +# Ukrainian koi8-u is a superset of Russian koi8-r, for applications +# that hardcode koi8-r in them, but omit koi8-u -- there will be another +# alias: +fonts.alias: fonts.dir + awk '/monaco/ { + name = $$2; gsub("isoir-111", "koi8-u", $$2); + print $$2 " " name; gsub("koi8-u", "koi8-r", $$2); + print $$2 " " name}' < fonts.dir > fonts.alias + +DIR= ${X11BASE}/lib/X11/fonts/koi8u-monaco + +install: all + ${MKDIR} ${DIR} + ${INSTALL_DATA} ${PCFS} fonts.dir fonts.alias ${DIR} |