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
This commit is contained in:
Mikhail Teterin 2001-04-08 22:32:55 +00:00
parent 52c3bb952f
commit 9b4a890f3b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41092
8 changed files with 91 additions and 0 deletions

View file

@ -2,5 +2,6 @@
#
# SUBDIR += dir
SUBDIR += monacofonts
.include <bsd.port.subdir.mk>

View file

@ -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 <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (monaco.zip) = e5d0aa91407c5a9616bdae346fdc36f0

View file

@ -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}

View file

@ -0,0 +1 @@
A collection of 5 "fixed" fonts for X11 from www.brama.com

View file

@ -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

View file

@ -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.

View file

@ -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