From 9b4a890f3b3dfc5d8dbf064683fb218fc3f3a15a Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Sun, 8 Apr 2001 22:32:55 +0000 Subject: 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 --- ukrainian/Makefile | 1 + ukrainian/monacofonts/Makefile | 32 ++++++++++++++++++++++++++++++++ ukrainian/monacofonts/distinfo | 1 + ukrainian/monacofonts/files/Makefile | 31 +++++++++++++++++++++++++++++++ ukrainian/monacofonts/pkg-comment | 1 + ukrainian/monacofonts/pkg-descr | 9 +++++++++ ukrainian/monacofonts/pkg-message | 8 ++++++++ ukrainian/monacofonts/pkg-plist | 8 ++++++++ 8 files changed, 91 insertions(+) create mode 100644 ukrainian/monacofonts/Makefile create mode 100644 ukrainian/monacofonts/distinfo create mode 100644 ukrainian/monacofonts/files/Makefile create mode 100644 ukrainian/monacofonts/pkg-comment create mode 100644 ukrainian/monacofonts/pkg-descr create mode 100644 ukrainian/monacofonts/pkg-message create mode 100644 ukrainian/monacofonts/pkg-plist diff --git a/ukrainian/Makefile b/ukrainian/Makefile index caa64b99fe23..87b44fd96c9b 100644 --- a/ukrainian/Makefile +++ b/ukrainian/Makefile @@ -2,5 +2,6 @@ # # SUBDIR += dir + SUBDIR += monacofonts .include diff --git a/ukrainian/monacofonts/Makefile b/ukrainian/monacofonts/Makefile new file mode 100644 index 000000000000..ef10ab79b463 --- /dev/null +++ b/ukrainian/monacofonts/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: koi8rPS +# Date created: 22 July 1999 +# Whom: mi@aldan.algebra.com +# +# $FreeBSD$ +# + +PORTNAME= monaco +PORTVERSION= 1.0 +CATEGORIES= ukrainian x11-fonts +MASTER_SITES= http://www.brama.com/compute/unix/ +PKGNAMEPREFIX= koi8-u- +PKGNAMESUFFIX= -x11 +DISTNAME= ${PORTNAME} + +MAINTAINER= mi@aldan.algebra.com + +BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86 + +USE_ZIP= yes +USE_X_PREFIX= yes + +WRKSRC= ${WRKDIR}/Monaco.bdf + +MAKEFILE= ${FILESDIR}/Makefile +MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}" MKDIR="${MKDIR}" +MAKE_ARGS+= -j 2 + +post-install: + ${CAT} ${PKGMESSAGE} + +.include diff --git a/ukrainian/monacofonts/distinfo b/ukrainian/monacofonts/distinfo new file mode 100644 index 000000000000..e2a65d07e566 --- /dev/null +++ b/ukrainian/monacofonts/distinfo @@ -0,0 +1 @@ +MD5 (monaco.zip) = e5d0aa91407c5a9616bdae346fdc36f0 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} diff --git a/ukrainian/monacofonts/pkg-comment b/ukrainian/monacofonts/pkg-comment new file mode 100644 index 000000000000..8744ccd03437 --- /dev/null +++ b/ukrainian/monacofonts/pkg-comment @@ -0,0 +1 @@ +A collection of 5 "fixed" fonts for X11 from www.brama.com diff --git a/ukrainian/monacofonts/pkg-descr b/ukrainian/monacofonts/pkg-descr new file mode 100644 index 000000000000..10f97d1688db --- /dev/null +++ b/ukrainian/monacofonts/pkg-descr @@ -0,0 +1,9 @@ +Monaco KOI8-U Cyrillic fonts for X11 systems in BDF format. Total of +five bitmap fonts. + +This port installs PCF versions of the fonts and generates the +fonts.alias file, which provides, for the koi8-u and koi8-r encodings -- +some applications have the encodings (such as koi8-r) harcoded in them, +but koi8-u is a superset of koi8-r. + +WWW: http://www.brama.com/compute/unix.html diff --git a/ukrainian/monacofonts/pkg-message b/ukrainian/monacofonts/pkg-message new file mode 100644 index 000000000000..7b0a420bbce7 --- /dev/null +++ b/ukrainian/monacofonts/pkg-message @@ -0,0 +1,8 @@ + + For your X-server to use the fonts, you have to add + the ${X11BASE}/lib/X11/fonts/koi8u-monaco (X11BASE is, + usually, /usr/X11R6) to the server's font-path. Use + ``xset fp+'' to do this for the current X-session and + consult your X-server's documentation to make this + permanent. + diff --git a/ukrainian/monacofonts/pkg-plist b/ukrainian/monacofonts/pkg-plist new file mode 100644 index 000000000000..a7d8ca024a10 --- /dev/null +++ b/ukrainian/monacofonts/pkg-plist @@ -0,0 +1,8 @@ +lib/X11/fonts/koi8u-monaco/italic09.pcf.gz +lib/X11/fonts/koi8u-monaco/italic12.pcf.gz +lib/X11/fonts/koi8u-monaco/roman09.pcf.gz +lib/X11/fonts/koi8u-monaco/roman10.pcf.gz +lib/X11/fonts/koi8u-monaco/roman12.pcf.gz +lib/X11/fonts/koi8u-monaco/fonts.dir +lib/X11/fonts/koi8u-monaco/fonts.alias +@dirrm lib/X11/fonts/koi8u-monaco -- cgit v1.2.3