aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2002-01-20 23:57:12 +0000
committerSADA Kenji <sada@FreeBSD.org>2002-01-20 23:57:12 +0000
commit97bd3a5c0a21a9aafc7264014471ff5aa0e4c507 (patch)
tree28ce0ebb565cbf044232c4f761d2609637517d16
parent1f0ffd7a6437331aae83739f64bc0c69939f2b4e (diff)
downloadports-97bd3a5c0a21a9aafc7264014471ff5aa0e4c507.tar.gz
ports-97bd3a5c0a21a9aafc7264014471ff5aa0e4c507.zip
Notes
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/bdf-fonts/Makefile39
-rw-r--r--japanese/bdf-fonts/pkg-comment1
-rw-r--r--japanese/bdf-fonts/pkg-deinstall22
-rw-r--r--japanese/bdf-fonts/pkg-descr1
-rw-r--r--japanese/bdf-fonts/pkg-install118
-rw-r--r--japanese/bdf-fonts/pkg-plist1
7 files changed, 183 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 6208656a9c3c..dde0ff11bb84 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -17,6 +17,7 @@
SUBDIR += another-htmllint
SUBDIR += aterm
SUBDIR += balsa
+ SUBDIR += bdf-fonts
SUBDIR += bible_names-fpw
SUBDIR += binder
SUBDIR += bjfilter360
diff --git a/japanese/bdf-fonts/Makefile b/japanese/bdf-fonts/Makefile
new file mode 100644
index 000000000000..2ce5d4a60917
--- /dev/null
+++ b/japanese/bdf-fonts/Makefile
@@ -0,0 +1,39 @@
+# Ports collection makefile for: Japanese Font Setup
+# Date created: 14 Jan 2002
+# Whom: KOMATSU Shinichiro
+#
+# $FreeBSD$
+#
+
+PORTNAME= bdf-fonts
+PORTVERSION= 1.0
+CATEGORIES= japanese x11-fonts
+DISTFILES= # empty
+
+MAINTAINER= koma2@jiro.c.u-tokyo.ac.jp
+
+RUN_DEPENDS= \
+ ${FONTSDIR}/jpnhn4-iso.pcf.gz:${PORTSDIR}/japanese/elisa8x8 \
+ ${FONTSDIR}/5x10B.pcf.gz:${PORTSDIR}/japanese/k10 \
+ ${FONTSDIR}/shnmk12.pcf.gz:${PORTSDIR}/japanese/shinonome \
+ ${FONTSDIR}/kanji18.pcf.gz:${PORTSDIR}/japanese/kanji18 \
+ ${FONTSDIR}/k20b.pcf.gz:${PORTSDIR}/japanese/kappa20 \
+ ${FONTSDIR}/kanji26.pcf.gz:${PORTSDIR}/japanese/kanji26 \
+ ${FONTSDIR}/K12-1.pcf.gz:${PORTSDIR}/japanese/jisx0213-fonts
+
+USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS+= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
+FONTSDIR= ${X11BASE}/lib/X11/fonts/local
+NO_BUILD= yes
+
+do-install:
+ @${SETENV} PKG_PREFIX=${PREFIX} \
+ ${PERL} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.post.mk>
diff --git a/japanese/bdf-fonts/pkg-comment b/japanese/bdf-fonts/pkg-comment
new file mode 100644
index 000000000000..3dbe91451b82
--- /dev/null
+++ b/japanese/bdf-fonts/pkg-comment
@@ -0,0 +1 @@
+Japanese Font Setup
diff --git a/japanese/bdf-fonts/pkg-deinstall b/japanese/bdf-fonts/pkg-deinstall
new file mode 100644
index 000000000000..25c713c5bbd3
--- /dev/null
+++ b/japanese/bdf-fonts/pkg-deinstall
@@ -0,0 +1,22 @@
+#!/usr/bin/perl
+$prefix = $ENV{'PKG_PREFIX'};
+$dir = "$prefix/lib/X11/fonts/local";
+$to = "$dir/fonts.alias";
+$from = "$to.orig";
+rename($to, $from) || die("Can't rename: $!");
+open(IN, $from) || die("Can't open $from: $!");
+open(OUT, ">$to") || die("Can't open $to: $!");
+while (<IN>) {
+ chop;
+ if (/^\s*!/ || /^\s*$/) {
+ print OUT "$_\n";
+ }
+ else {
+ @line = split(/\s+/, $_);
+ @elm = split(/-+/, $line[0]);
+ if ($elm[1] ne 'alias') {
+ print OUT "$_\n";
+ }
+ }
+}
+#system("$prefix/bin/xset fp rehash");
diff --git a/japanese/bdf-fonts/pkg-descr b/japanese/bdf-fonts/pkg-descr
new file mode 100644
index 000000000000..1af59985d4f5
--- /dev/null
+++ b/japanese/bdf-fonts/pkg-descr
@@ -0,0 +1 @@
+Japanese Font Setup (make fonts.alias for various size Japanese fonts)
diff --git a/japanese/bdf-fonts/pkg-install b/japanese/bdf-fonts/pkg-install
new file mode 100644
index 000000000000..05eb03e66b7c
--- /dev/null
+++ b/japanese/bdf-fonts/pkg-install
@@ -0,0 +1,118 @@
+#!/usr/bin/perl
+$prefix = $ENV{'PKG_PREFIX'};
+$dir = "$prefix/lib/X11/fonts/local";
+$to = "$dir/fonts.alias";
+$from = "$to.orig";
+$option = $ARGV[1];
+exit 0 if $option ne 'POST-INSTALL';
+rename($to, $from) || die("Can't rename: $!");
+open(IN, $from) || die("Can't open $from: $!");
+open(OUT, ">$to") || die("Can't open $to: $!");
+while (<IN>) {
+ chop;
+ if (/^\s*!/ || /^\s*$/) {
+ print OUT "$_\n";
+ }
+ else {
+ @line = split(/\s+/, $_);
+ @elm = split(/-+/, $line[0]);
+ if ($elm[1] ne 'alias') {
+ print OUT "$_\n";
+ }
+ }
+}
+for (split(/\n/, <<"END"))
+-alias-fixed-medium-r-normal--24-234-75-75-c-120-jisx0201.1976-0 -sony-fixed-medium-r-normal--24-170-100-100-c-120-jisx0201.1976-0
+-alias-fixed-medium-r-normal--20-190-75-75-c-200-jisx0201.1976-0 -kappa-fixed-medium-r-normal--20-190-75-75-c-100-jisx0201.1976-0
+-alias-fixed-bold-r-normal--20-190-75-75-c-200-jisx0201.1976-0 -kappa-fixed-bold-r-normal--20-190-75-75-c-100-jisx0201.1976-0
+-alias-fixed-medium-i-normal--20-190-75-75-c-200-jisx0201.1976-0 -kappa-fixed-medium-i-normal--20-190-75-75-c-100-jisx0201.1976-0
+-alias-fixed-bold-i-normal--20-190-75-75-c-200-jisx0201.1976-0 -kappa-fixed-bold-i-normal--20-190-75-75-c-100-jisx0201.1976-0
+-alias-fixed-medium-r-normal--16-156-75-75-c-80-jisx0201.1976-0 -shinonome-gothic-medium-r-normal--16-150-75-75-c-80-jisx0201.1976-0
+-alias-fixed-bold-r-normal--16-156-75-75-c-80-jisx0201.1976-0 -shinonome-gothic-bold-r-normal--16-150-75-75-c-80-jisx0201.1976-0
+-alias-fixed-medium-i-normal--16-156-75-75-c-80-jisx0201.1976-0 -shinonome-gothic-medium-i-normal--16-150-75-75-c-80-jisx0201.1976-0
+-alias-fixed-bold-i-normal--16-156-75-75-c-80-jisx0201.1976-0 -shinonome-gothic-bold-i-normal--16-150-75-75-c-80-jisx0201.1976-0
+-alias-fixed-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0 -shinonome-gothic-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0
+-alias-fixed-bold-r-normal--14-130-75-75-c-70-jisx0201.1976-0 -shinonome-gothic-bold-r-normal--14-130-75-75-c-70-jisx0201.1976-0
+-alias-fixed-medium-i-normal--14-130-75-75-c-70-jisx0201.1976-0 -shinonome-gothic-medium-i-normal--14-130-75-75-c-70-jisx0201.1976-0
+-alias-fixed-bold-i-normal--14-130-75-75-c-70-jisx0201.1976-0 -shinonome-gothic-bold-i-normal--14-130-75-75-c-70-jisx0201.1976-0
+-alias-fixed-medium-r-normal--12-104-75-75-c-60-jisx0201.1976-0 -shinonome-gothic-medium-r-normal--12-110-75-75-c-60-jisx0201.1976-0
+-alias-fixed-bold-r-normal--12-104-75-75-c-60-jisx0201.1976-0 -shinonome-gothic-bold-r-normal--12-110-75-75-c-60-jisx0201.1976-0
+-alias-fixed-medium-i-normal--12-104-75-75-c-60-jisx0201.1976-0 -shinonome-gothic-medium-i-normal--12-110-75-75-c-60-jisx0201.1976-0
+-alias-fixed-bold-i-normal--12-104-75-75-c-60-jisx0201.1976-0 -shinonome-gothic-bold-i-normal--12-110-75-75-c-60-jisx0201.1976-0
+-alias-fixed-medium-r-normal--10-78-75-75-c-100-jisx0201.1976-0 -misc-fixed-medium-r-normal--10-90-75-75-c-50-jisx0201.1976-0
+-alias-fixed-bold-r-normal--10-78-75-75-c-100-jisx0201.1976-0 -misc-fixed-bold-r-normal--10-90-75-75-c-50-jisx0201.1976-0
+-alias-fixed-medium-i-normal--10-78-75-75-c-100-jisx0201.1976-0 -misc-fixed-medium-i-normal--10-90-75-75-c-50-jisx0201.1976-0
+-alias-fixed-bold-i-normal--10-78-75-75-c-100-jisx0201.1976-0 -misc-fixed-bold-i-normal--10-90-75-75-c-50-jisx0201.1976-0
+-alias-fixed-medium-r-normal--8-70-75-75-c-120-jisx0201.1976-0 -hiro-fixed-medium-r-normal--8-70-75-75-c-40-jisx0201.1976-0
+-alias-fixed-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0
+-alias-fixed-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0
+-alias-fixed-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0
+-alias-fixed-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0
+-alias-fixed-medium-r-normal--24-234-75-75-c-240-jisx0208.1983-0 -jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0
+-alias-fixed-medium-r-normal--20-190-75-75-c-200-jisx0208.1983-0 -kappa-mincho-medium-r-normal--20-190-75-75-c-200-jisx0208.1983-0
+-alias-fixed-bold-r-normal--20-190-75-75-c-200-jisx0208.1983-0 -kappa-mincho-bold-r-normal--20-190-75-75-c-200-jisx0208.1983-0
+-alias-fixed-medium-i-normal--20-190-75-75-c-200-jisx0208.1983-0 -kappa-mincho-medium-i-normal--20-190-75-75-c-200-jisx0208.1983-0
+-alias-fixed-bold-i-normal--20-190-75-75-c-200-jisx0208.1983-0 -kappa-mincho-bold-i-normal--20-190-75-75-c-200-jisx0208.1983-0
+-alias-fixed-medium-r-normal--20-190-75-75-c-200-jisx0208.1990-0 -kappa-mincho-medium-r-normal--20-190-75-75-c-200-jisx0208.1990-0
+-alias-fixed-bold-r-normal--20-190-75-75-c-200-jisx0208.1990-0 -kappa-mincho-bold-r-normal--20-190-75-75-c-200-jisx0208.1990-0
+-alias-fixed-medium-i-normal--20-190-75-75-c-200-jisx0208.1990-0 -kappa-mincho-medium-i-normal--20-190-75-75-c-200-jisx0208.1990-0
+-alias-fixed-bold-i-normal--20-190-75-75-c-200-jisx0208.1990-0 -kappa-mincho-bold-i-normal--20-190-75-75-c-200-jisx0208.1990-0
+-alias-fixed-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0
+-alias-fixed-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0
+-alias-fixed-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0
+-alias-fixed-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0
+-alias-fixed-medium-r-normal--16-156-75-75-c-160-jisx0208.1983-0 -shinonome-gothic-medium-r-normal--16-150-75-75-c-160-jisx0208.1983-0
+-alias-fixed-bold-r-normal--16-156-75-75-c-160-jisx0208.1983-0 -shinonome-gothic-bold-r-normal--16-150-75-75-c-160-jisx0208.1983-0
+-alias-fixed-medium-i-normal--16-156-75-75-c-160-jisx0208.1983-0 -shinonome-gothic-medium-i-normal--16-150-75-75-c-160-jisx0208.1983-0
+-alias-fixed-bold-i-normal--16-156-75-75-c-160-jisx0208.1983-0 -shinonome-gothic-bold-i-normal--16-150-75-75-c-160-jisx0208.1983-0
+-alias-fixed-medium-r-normal--16-156-75-75-c-160-jisx0208.1990-0 -shinonome-gothic-medium-r-normal--16-150-75-75-c-160-jisx0208.1990-0
+-alias-fixed-bold-r-normal--16-156-75-75-c-160-jisx0208.1990-0 -shinonome-gothic-bold-r-normal--16-150-75-75-c-160-jisx0208.1990-0
+-alias-fixed-medium-i-normal--16-156-75-75-c-160-jisx0208.1990-0 -shinonome-gothic-medium-i-normal--16-150-75-75-c-160-jisx0208.1990-0
+-alias-fixed-bold-i-normal--16-156-75-75-c-160-jisx0208.1990-0 -shinonome-gothic-bold-i-normal--16-150-75-75-c-160-jisx0208.1990-0
+-alias-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0 -shinonome-gothic-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0
+-alias-fixed-bold-r-normal--14-130-75-75-c-140-jisx0208.1983-0 -shinonome-gothic-bold-r-normal--14-130-75-75-c-140-jisx0208.1983-0
+-alias-fixed-medium-i-normal--14-130-75-75-c-140-jisx0208.1983-0 -shinonome-gothic-medium-i-normal--14-130-75-75-c-140-jisx0208.1983-0
+-alias-fixed-bold-i-normal--14-130-75-75-c-140-jisx0208.1983-0 -shinonome-gothic-bold-i-normal--14-130-75-75-c-140-jisx0208.1983-0
+-alias-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1990-0 -shinonome-gothic-medium-r-normal--14-130-75-75-c-140-jisx0208.1990-0
+-alias-fixed-bold-r-normal--14-130-75-75-c-140-jisx0208.1990-0 -shinonome-gothic-bold-r-normal--14-130-75-75-c-140-jisx0208.1990-0
+-alias-fixed-medium-i-normal--14-130-75-75-c-140-jisx0208.1990-0 -shinonome-gothic-medium-i-normal--14-130-75-75-c-140-jisx0208.1990-0
+-alias-fixed-bold-i-normal--14-130-75-75-c-140-jisx0208.1990-0 -shinonome-gothic-bold-i-normal--14-130-75-75-c-140-jisx0208.1990-0
+-alias-fixed-medium-r-normal--12-104-75-75-c-120-jisx0208.1983-0 -shinonome-gothic-medium-r-normal--12-110-75-75-c-120-jisx0208.1983-0
+-alias-fixed-bold-r-normal--12-104-75-75-c-120-jisx0208.1983-0 -shinonome-gothic-bold-r-normal--12-110-75-75-c-120-jisx0208.1983-0
+-alias-fixed-medium-i-normal--12-104-75-75-c-120-jisx0208.1983-0 -shinonome-gothic-medium-i-normal--12-110-75-75-c-120-jisx0208.1983-0
+-alias-fixed-bold-i-normal--12-104-75-75-c-120-jisx0208.1983-0 -shinonome-gothic-bold-i-normal--12-110-75-75-c-120-jisx0208.1983-0
+-alias-fixed-medium-r-normal--12-104-75-75-c-120-jisx0208.1990-0 -shinonome-gothic-medium-r-normal--12-110-75-75-c-120-jisx0208.1990-0
+-alias-fixed-bold-r-normal--12-104-75-75-c-120-jisx0208.1990-0 -shinonome-gothic-bold-r-normal--12-110-75-75-c-120-jisx0208.1990-0
+-alias-fixed-medium-i-normal--12-104-75-75-c-120-jisx0208.1990-0 -shinonome-gothic-medium-i-normal--12-110-75-75-c-120-jisx0208.1990-0
+-alias-fixed-bold-i-normal--12-104-75-75-c-120-jisx0208.1990-0 -shinonome-gothic-bold-i-normal--12-110-75-75-c-120-jisx0208.1990-0
+-alias-fixed-medium-r-normal--10-78-75-75-c-100-jisx0208.1983-0 -misc-fixed-medium-r-normal--10-90-75-75-c-100-jisx0208.1983-0
+-alias-fixed-bold-r-normal--10-78-75-75-c-100-jisx0208.1983-0 -misc-fixed-bold-r-normal--10-90-75-75-c-100-jisx0208.1983-0
+-alias-fixed-medium-i-normal--10-78-75-75-c-100-jisx0208.1983-0 -misc-fixed-medium-i-normal--10-90-75-75-c-100-jisx0208.1983-0
+-alias-fixed-bold-i-normal--10-78-75-75-c-100-jisx0208.1983-0 -misc-fixed-bold-i-normal--10-90-75-75-c-100-jisx0208.1983-0
+-alias-fixed-medium-r-normal--8-70-75-75-c-120-jisx0208.1983-0 -elisa100-fixed-medium-r-normal--8-70-75-75-c-80-jisx0208.1983-0
+-alias-fixed-medium-r-normal--12-110-75-75-c-120-jisx0213.2000-1 -misc-fixed-medium-r-normal--12-110-75-75-c-120-jisx0213.2000-1
+-alias-fixed-bold-r-normal--12-110-75-75-c-120-jisx0213.2000-1 -misc-fixed-bold-r-normal--12-110-75-75-c-120-jisx0213.2000-1
+-alias-fixed-medium-i-normal--12-110-75-75-c-120-jisx0213.2000-1 -misc-fixed-medium-i-normal--12-110-75-75-c-120-jisx0213.2000-1
+-alias-fixed-bold-i-normal--12-110-75-75-c-120-jisx0213.2000-1 -misc-fixed-bold-i-normal--12-110-75-75-c-120-jisx0213.2000-1
+-alias-fixed-medium-r-normal--12-110-75-75-c-120-jisx0213.2000-2 -misc-fixed-medium-r-normal--12-110-75-75-c-120-jisx0213.2000-2
+-alias-fixed-bold-r-normal--12-110-75-75-c-120-jisx0213.2000-2 -misc-fixed-bold-r-normal--12-110-75-75-c-120-jisx0213.2000-2
+-alias-fixed-medium-i-normal--12-110-75-75-c-120-jisx0213.2000-2 -misc-fixed-medium-i-normal--12-110-75-75-c-120-jisx0213.2000-2
+-alias-fixed-bold-i-normal--12-110-75-75-c-120-jisx0213.2000-2 -misc-fixed-bold-i-normal--12-110-75-75-c-120-jisx0213.2000-2
+-alias-fixed-medium-r-normal--14-130-75-75-c-140-jisx0213.2000-1 -misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0213.2000-1
+-alias-fixed-bold-r-normal--14-130-75-75-c-140-jisx0213.2000-1 -misc-fixed-bold-r-normal--14-130-75-75-c-140-jisx0213.2000-1
+-alias-fixed-medium-i-normal--14-130-75-75-c-140-jisx0213.2000-1 -misc-fixed-medium-i-normal--14-130-75-75-c-140-jisx0213.2000-1
+-alias-fixed-bold-i-normal--14-130-75-75-c-140-jisx0213.2000-1 -misc-fixed-bold-i-normal--14-130-75-75-c-140-jisx0213.2000-1
+-alias-fixed-medium-r-normal--14-130-75-75-c-140-jisx0213.2000-2 -misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0213.2000-2
+-alias-fixed-bold-r-normal--14-130-75-75-c-140-jisx0213.2000-2 -misc-fixed-bold-r-normal--14-130-75-75-c-140-jisx0213.2000-2
+-alias-fixed-medium-i-normal--14-130-75-75-c-140-jisx0213.2000-2 -misc-fixed-medium-i-normal--14-130-75-75-c-140-jisx0213.2000-2
+-alias-fixed-bold-i-normal--14-130-75-75-c-140-jisx0213.2000-2 -misc-fixed-bold-i-normal--14-130-75-75-c-140-jisx0213.2000-2
+-alias-fixed-medium-r-normal--16-150-75-75-c-160-jisx0213.2000-1 -misc-fixed-medium-r-normal--16-150-75-75-c-160-jisx0213.2000-1
+-alias-fixed-bold-r-normal--16-150-75-75-c-160-jisx0213.2000-1 -misc-fixed-bold-r-normal--16-150-75-75-c-160-jisx0213.2000-1
+-alias-fixed-medium-i-normal--16-150-75-75-c-160-jisx0213.2000-1 -misc-fixed-medium-i-normal--16-150-75-75-c-160-jisx0213.2000-1
+-alias-fixed-bold-i-normal--16-150-75-75-c-160-jisx0213.2000-1 -misc-fixed-bold-i-normal--16-150-75-75-c-160-jisx0213.2000-1
+-alias-mincho-bold-r-normal--20-190-75-75-c-200-jisx0213.2000-1 -kappa-mincho-bold-r-normal--20-190-75-75-c-200-jisx0213.2000-1
+-alias-mincho-bold-i-normal--20-190-75-75-c-200-jisx0213.2000-1 -kappa-mincho-bold-i-normal--20-190-75-75-c-200-jisx0213.2000-1
+END
+{
+ print OUT "$_\n";
+}
diff --git a/japanese/bdf-fonts/pkg-plist b/japanese/bdf-fonts/pkg-plist
new file mode 100644
index 000000000000..40054c0b96ed
--- /dev/null
+++ b/japanese/bdf-fonts/pkg-plist
@@ -0,0 +1 @@
+@comment WE HAVE NOTHING TO DO HERE.