1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Japanese 12-dot fonts for X. Might be useful to laptop users.

Submitted by:	mita@jp.FreeBSD.org (MITA Yoshio)
This commit is contained in:
Satoshi Asami 1997-04-01 11:38:33 +00:00
parent 6ddc828d43
commit 2bf5313e6b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6088
8 changed files with 88 additions and 0 deletions

22
japanese/k12/Makefile Normal file
View File

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

1
japanese/k12/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (kaname_k12_bdf.tar.gz) = e0a103ceeffe0aa1c5670458f47452b3

View File

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

View File

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

1
japanese/k12/pkg-comment Normal file
View File

@ -0,0 +1 @@
X11 12-dot kanji font

9
japanese/k12/pkg-descr Normal file
View File

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

9
japanese/k12/pkg-plist Normal file
View File

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

10
japanese/k12/pkg-req Normal file
View File

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