summaryrefslogtreecommitdiff
path: root/ukrainian
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-04-08 22:32:55 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-04-08 22:32:55 +0000
commit9b4a890f3b3dfc5d8dbf064683fb218fc3f3a15a (patch)
treee35d3afad50ab60cd44d9146bee37103015d8c8c /ukrainian
parentIgnore 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')
-rw-r--r--ukrainian/Makefile1
-rw-r--r--ukrainian/monacofonts/Makefile32
-rw-r--r--ukrainian/monacofonts/distinfo1
-rw-r--r--ukrainian/monacofonts/files/Makefile31
-rw-r--r--ukrainian/monacofonts/pkg-comment1
-rw-r--r--ukrainian/monacofonts/pkg-descr9
-rw-r--r--ukrainian/monacofonts/pkg-message8
-rw-r--r--ukrainian/monacofonts/pkg-plist8
8 files changed, 91 insertions, 0 deletions
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 <bsd.port.subdir.mk>
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 <bsd.port.mk>
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