aboutsummaryrefslogtreecommitdiffstats
path: root/ukrainian/monacofonts
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2001-04-09 06:32:55 +0800
committermi <mi@FreeBSD.org>2001-04-09 06:32:55 +0800
commitddf9e1488f992b51a6ad515454febaccaffb8233 (patch)
treeb91381f47352afdc5997ac81597b00b86dbecde8 /ukrainian/monacofonts
parentca348f1b9ba0a49efdcec970235bb3c2849569fd (diff)
downloadfreebsd-ports-gnome-ddf9e1488f992b51a6ad515454febaccaffb8233.tar.gz
freebsd-ports-gnome-ddf9e1488f992b51a6ad515454febaccaffb8233.tar.zst
freebsd-ports-gnome-ddf9e1488f992b51a6ad515454febaccaffb8233.zip
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
Diffstat (limited to 'ukrainian/monacofonts')
-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
7 files changed, 90 insertions, 0 deletions
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