aboutsummaryrefslogtreecommitdiff
path: root/japanese/k12
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-04-01 11:38:33 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-04-01 11:38:33 +0000
commit2bf5313e6ba9d576c99376338d5d190b13a30492 (patch)
treee43ec579bad18ca7c592382705a8bed6b483ef81 /japanese/k12
parent6ddc828d43e5d7ec73b4efa2639605bfa916ec45 (diff)
downloadports-2bf5313e6ba9d576c99376338d5d190b13a30492.tar.gz
ports-2bf5313e6ba9d576c99376338d5d190b13a30492.zip
Notes
Diffstat (limited to 'japanese/k12')
-rw-r--r--japanese/k12/Makefile22
-rw-r--r--japanese/k12/distinfo1
-rw-r--r--japanese/k12/files/patch-aa17
-rw-r--r--japanese/k12/files/patch-ab19
-rw-r--r--japanese/k12/pkg-comment1
-rw-r--r--japanese/k12/pkg-descr9
-rw-r--r--japanese/k12/pkg-plist9
-rw-r--r--japanese/k12/pkg-req10
8 files changed, 88 insertions, 0 deletions
diff --git a/japanese/k12/Makefile b/japanese/k12/Makefile
new file mode 100644
index 000000000000..88103b51dd04
--- /dev/null
+++ b/japanese/k12/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: k12font
+# Version required: 1.0
+# Date created: 24 June 1996
+# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
+#
+# $Id$
+#
+
+DISTNAME= k12font-1.0
+CATEGORIES= japanese x11
+MASTER_SITES= ftp://ftp.noc.titech.ac.jp/pub/tmp/aki/FreeBSD/etc/
+DISTFILES= kaname_k12_bdf.tar.gz
+
+MAINTAINER= mita@jp.FreeBSD.org
+
+USE_X11= yes
+NO_WRKSUBDIR= yes
+
+post-install:
+ @/bin/sh ${PKGDIR}/REQ ${PKGNAME} INSTALL
+
+.include <bsd.port.mk>
diff --git a/japanese/k12/distinfo b/japanese/k12/distinfo
new file mode 100644
index 000000000000..bbc64d9124c5
--- /dev/null
+++ b/japanese/k12/distinfo
@@ -0,0 +1 @@
+MD5 (kaname_k12_bdf.tar.gz) = e0a103ceeffe0aa1c5670458f47452b3
diff --git a/japanese/k12/files/patch-aa b/japanese/k12/files/patch-aa
new file mode 100644
index 000000000000..2774dd9ee3cd
--- /dev/null
+++ b/japanese/k12/files/patch-aa
@@ -0,0 +1,17 @@
+*** /dev/null Sat Jul 6 10:38:40 1996
+--- Makefile Sat Jul 6 12:25:35 1996
+***************
+*** 0 ****
+--- 1,12 ----
++ all:
++ bdftopcf knmhn12x.bdf > knmhn12x.pcf
++ bdftopcf knmzn12x.bdf > knmzn12x.pcf
++ compress *.pcf
++ install:
++ if [ ! -d /usr/X11R6/lib/X11/k12 ] ; then \
++ mkdir -p /usr/X11R6/lib/X11/k12 ; fi
++ if [ ! -d /usr/X11R6/lib/X11/fonts/misc ] ; then \
++ mkdir -p /usr/X11R6/lib/X11/fonts/misc ; fi
++ cp knmhn12x.pcf.Z knmzn12x.pcf.Z /usr/X11R6/lib/X11/fonts/misc/
++ cp readme.kaname_bdf doc.orig/* /usr/X11R6/lib/X11/k12
++ cd /usr/X11R6/lib/X11/fonts/misc ; mkfontdir
diff --git a/japanese/k12/files/patch-ab b/japanese/k12/files/patch-ab
new file mode 100644
index 000000000000..a25d5bbca4bb
--- /dev/null
+++ b/japanese/k12/files/patch-ab
@@ -0,0 +1,19 @@
+*** readme.kaname_bdf.orig Sat Jul 6 12:02:19 1996
+--- readme.kaname_bdf Sat Jul 6 12:02:25 1996
+***************
+*** 2,8 ****
+
+ readme.kaname_bdf $@$3$N%U%!%$%k(J
+ knmhn12x.bdf X11$@MQ$N(J6x12$@%I%C%H$N(JJISX0201.1976$@%U%)%s%H(J
+! knmhz12x.bdf X11$@MQ$N(J12x12$@%I%C%H$N(JJISX0208.1983$@%U%)%s%H(J
+ doc.orig/* $@85$N%"!<%+%$%V$K4^$^$l$F$$$?%I%-%e%a%s%H(J
+ $@$3$N(J12$@%I%C%H4A;z%U%)%s%H$O!"K~3+@=:n=j(J($@"((J)$@$N3$O786M&;N;a$K(J
+ $@$h$C$F:n$i$l$?(J X68000 SX-Windows $@MQ$N%U%j!<$N%U%)%s%H$r(J
+--- 2,8 ----
+
+ readme.kaname_bdf $@$3$N%U%!%$%k(J
+ knmhn12x.bdf X11$@MQ$N(J6x12$@%I%C%H$N(JJISX0201.1976$@%U%)%s%H(J
+! knmzn12x.bdf X11$@MQ$N(J12x12$@%I%C%H$N(JJISX0208.1983$@%U%)%s%H(J
+ doc.orig/* $@85$N%"!<%+%$%V$K4^$^$l$F$$$?%I%-%e%a%s%H(J
+ $@$3$N(J12$@%I%C%H4A;z%U%)%s%H$O!"K~3+@=:n=j(J($@"((J)$@$N3$O786M&;N;a$K(J
+ $@$h$C$F:n$i$l$?(J X68000 SX-Windows $@MQ$N%U%j!<$N%U%)%s%H$r(J
diff --git a/japanese/k12/pkg-comment b/japanese/k12/pkg-comment
new file mode 100644
index 000000000000..4d2dbfd81b9f
--- /dev/null
+++ b/japanese/k12/pkg-comment
@@ -0,0 +1 @@
+X11 12-dot kanji font
diff --git a/japanese/k12/pkg-descr b/japanese/k12/pkg-descr
new file mode 100644
index 000000000000..b19be8760d9d
--- /dev/null
+++ b/japanese/k12/pkg-descr
@@ -0,0 +1,9 @@
+Japanese 12 dot font named `kanamecho'.
+knmhn12x.pcf:-MNKANAME-Fixed-Medium-R-Normal--12-110-75-75-C-60-JISX0201.1976-0
+knmzn12x.pcf:-MNKANAME-Fixed-Medium-R-Normal--12-110-75-75-C-120-JISX0208.1983-0
+
+You can also use 'k12' as an alias for knmzn12x.pcf, and 'r12' for knmhn12x.pcf.
+
+Simple usage:
+ % kterm -fn r12 -fk k12 -fl r12
+ % mule -fn r12
diff --git a/japanese/k12/pkg-plist b/japanese/k12/pkg-plist
new file mode 100644
index 000000000000..52bd1c3aeae5
--- /dev/null
+++ b/japanese/k12/pkg-plist
@@ -0,0 +1,9 @@
+lib/X11/fonts/misc/knmhn12x.pcf.Z
+lib/X11/fonts/misc/knmzn12x.pcf.Z
+lib/X11/k12/gijutsu-siryou.doc
+lib/X11/k12/kaname.doc
+lib/X11/k12/readme.kaname_bdf
+lib/X11/k12/readme.knm
+@exec cd %D/lib/X11/fonts/misc ; mkfontdir
+@unexec cd %D/lib/X11/fonts/misc ; mkfontdir
+@unexec echo "updating fonts.alias" ; cd %D/lib/X11/fonts/misc; cp fonts.alias fonts.alias.orig; grep -v '\-mnkaname\-fixed\-medium\-r\-normal' fonts.alias.orig > fonts.alias; rm fonts.alias.orig
diff --git a/japanese/k12/pkg-req b/japanese/k12/pkg-req
new file mode 100644
index 000000000000..382e9dffeef0
--- /dev/null
+++ b/japanese/k12/pkg-req
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ "$2" != "INSTALL" ] ; then
+ exit 0
+fi
+echo "Updating misc/fonts.alias"
+cd /usr/X11R6/lib/X11/fonts/misc
+touch fonts.alias
+cp fonts.alias fonts.alias.orig
+(cat fonts.alias.orig ; echo "k12 -mnkaname-fixed-medium-r-normal--12-110-75-75-c-120-jisx0208.1983-0" ; echo "r12 -mnkaname-fixed-medium-r-normal--12-110-75-75-c-60-jisx0201.1976-0") > fonts.alias
+rm fonts.alias.orig