aboutsummaryrefslogtreecommitdiff
path: root/japanese/k10
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@FreeBSD.org>1998-03-12 15:42:43 +0000
committerJun-ichiro itojun Hagino <itojun@FreeBSD.org>1998-03-12 15:42:43 +0000
commitf3dfda78df1e11f5fb90273d994cd2fdcb0303ae (patch)
tree00c41690b0d874a746fe8bad1d75a795dc3fcc52 /japanese/k10
parentb2f495fb637d215fad53c7ec3923bf737c4015bd (diff)
downloadports-f3dfda78df1e11f5fb90273d994cd2fdcb0303ae.tar.gz
ports-f3dfda78df1e11f5fb90273d994cd2fdcb0303ae.zip
add ports/japanese/k10
"X11 10-dot kanji font 'naga10 font'" PR: 5962
Notes
Notes: svn path=/head/; revision=10124
Diffstat (limited to 'japanese/k10')
-rw-r--r--japanese/k10/Makefile25
-rw-r--r--japanese/k10/distinfo1
-rw-r--r--japanese/k10/files/patch-aa22
-rw-r--r--japanese/k10/files/patch-ab8
-rw-r--r--japanese/k10/pkg-comment1
-rw-r--r--japanese/k10/pkg-descr7
-rw-r--r--japanese/k10/pkg-plist12
7 files changed, 76 insertions, 0 deletions
diff --git a/japanese/k10/Makefile b/japanese/k10/Makefile
new file mode 100644
index 000000000000..ec67964b312a
--- /dev/null
+++ b/japanese/k10/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: naga10
+# Version required: 1.0
+# Date created: 25 Feb 1998
+# Whom: Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
+#
+# $Id$
+#
+
+DISTNAME= knj10-1.00
+PKGNAME= ja-naga10-1.0
+CATEGORIES= japanese x11
+MASTER_SITES= http://gondow-www.cs.titech.ac.jp/~snagao/fonts/
+
+MAINTAINER= usagi@ruby.club.or.jp
+
+USE_X11= yes
+WRKSRC= ${WRKDIR}/knj10-1.00
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/naga10
+ @${CP} ${WRKSRC}/README ${PREFIX}/share/doc/naga10/
+.endif
+
+.include <bsd.port.mk>
diff --git a/japanese/k10/distinfo b/japanese/k10/distinfo
new file mode 100644
index 000000000000..8f5da03a46a1
--- /dev/null
+++ b/japanese/k10/distinfo
@@ -0,0 +1 @@
+MD5 (knj10-1.00.tar.gz) = 4c94ac2abc1e112d2336779678117346
diff --git a/japanese/k10/files/patch-aa b/japanese/k10/files/patch-aa
new file mode 100644
index 000000000000..d40eabc6f799
--- /dev/null
+++ b/japanese/k10/files/patch-aa
@@ -0,0 +1,22 @@
+--- /dev/null Wed Feb 25 11:48:19 1998
++++ Makefile Wed Feb 25 11:46:18 1998
+@@ -0,0 +1,19 @@
++all:
++ bdftopcf 5x10B.bdf | compress > 5x10B.pcf.Z
++ bdftopcf 5x10a.bdf | compress > 5x10a.pcf.Z
++ bdftopcf 5x10rk.bdf | compress > 5x10rk.pcf.Z
++ bdftopcf knj10.bdf | compress > knj10.pcf.Z
++ bdftopcf knj10B.bdf | compress > knj10B.pcf.Z
++
++install:
++ mkdir -p ${PREFIX}/lib/X11/fonts/misc
++ cp 5x10B.pcf.Z ${PREFIX}/lib/X11/fonts/misc/
++ cp 5x10a.pcf.Z ${PREFIX}/lib/X11/fonts/misc/
++ cp 5x10rk.pcf.Z ${PREFIX}/lib/X11/fonts/misc/
++ cp knj10.pcf.Z ${PREFIX}/lib/X11/fonts/misc/
++ cp knj10B.pcf.Z ${PREFIX}/lib/X11/fonts/misc/
++ cp fonts.alias.naga10 ${PREFIX}/lib/X11/fonts/misc/
++ cd ${PREFIX}/lib/X11/fonts/misc/ ; mkfontdir ; \
++ touch fonts.alias ; cp fonts.alias fonts.alias.orig ; \
++ cat fonts.alias.orig fonts.alias.naga10 > fonts.alias; \
++ rm fonts.alias.orig fonts.alias.naga10
diff --git a/japanese/k10/files/patch-ab b/japanese/k10/files/patch-ab
new file mode 100644
index 000000000000..9dd2d4a044ce
--- /dev/null
+++ b/japanese/k10/files/patch-ab
@@ -0,0 +1,8 @@
+--- /dev/null Wed Feb 25 11:48:19 1998
++++ fonts.alias.naga10 Wed Feb 25 11:48:16 1998
+@@ -0,0 +1,5 @@
++k10 -misc-fixed-medium-r-normal--10-90-75-75-c-100-jisx0208.1983-0
++k10b -misc-fixed-bold-r-normal--10-90-75-75-c-100-jisx0208.1983-0
++a10 -misc-fixed-medium-r-normal--10-90-75-75-c-50-iso8859-1
++a10b -misc-fixed-bold-r-normal--10-90-75-75-c-50-iso8859-1
++r10 -misc-fixed-medium-r-normal--10-90-75-75-c-50-jisx0201.1976-0
diff --git a/japanese/k10/pkg-comment b/japanese/k10/pkg-comment
new file mode 100644
index 000000000000..ef5eae105926
--- /dev/null
+++ b/japanese/k10/pkg-comment
@@ -0,0 +1 @@
+X11 10-dot kanji font 'naga10 font'
diff --git a/japanese/k10/pkg-descr b/japanese/k10/pkg-descr
new file mode 100644
index 000000000000..df89b1684009
--- /dev/null
+++ b/japanese/k10/pkg-descr
@@ -0,0 +1,7 @@
+Japanese 10 dot font named `naga10'.
+
+You can use 'k10' as an alias for knj10.pcf.Z, and 'a10' for 5x10a.pcf.Z.
+For detail description, please read the 'README'
+
+A simple usage:
+ % kterm -fn a10 -fr r10 -fk k10 -km euc
diff --git a/japanese/k10/pkg-plist b/japanese/k10/pkg-plist
new file mode 100644
index 000000000000..90be55f9ac99
--- /dev/null
+++ b/japanese/k10/pkg-plist
@@ -0,0 +1,12 @@
+lib/X11/fonts/misc/5x10B.pcf.Z
+lib/X11/fonts/misc/5x10a.pcf.Z
+lib/X11/fonts/misc/5x10rk.pcf.Z
+lib/X11/fonts/misc/knj10.pcf.Z
+lib/X11/fonts/misc/knj10B.pcf.Z
+share/doc/naga10/README
+@exec cd %D/lib/X11/fonts/misc ; mkfontdir
+@exec echo "Updating misc/fonts.alias"
+@exec cd %D/lib/X11/fonts/misc ; touch fonts.alias ; cp fonts.alias fonts.alias.orig ; (cat fonts.alias.orig ; echo "k10 -misc-fixed-medium-r-normal--10-90-75-75-c-100-jisx0208.1983-0" ; echo "k10b -misc-fixed-bold-r-normal--10-90-75-75-c-100-jisx0208.1983-0" ; echo "a10 -misc-fixed-medium-r-normal--10-90-75-75-c-50-iso8859-1" ; echo "a10b -misc-fixed-bold-r-normal--10-90-75-75-c-50-iso8859-1" ; echo "r10 -misc-fixed-medium-r-normal--10-90-75-75-c-50-jisx0201.1976-0") > fonts.alias ; rm fonts.alias.orig
+@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 'misc\-fixed\-medium\-r\-normal\-\-10' fonts.alias.orig | grep -v 'misc\-fixed\-bold\-r\-normal\-\-10' > fonts.alias; rm fonts.alias.orig
+@dirrm share/doc/naga10