diff options
author | kuriyama <kuriyama@FreeBSD.org> | 1998-04-22 22:19:09 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 1998-04-22 22:19:09 +0800 |
commit | 991d1d1de1a0c589f9f44aa52405cf86bc6602fe (patch) | |
tree | 698d05b0661674f15c5f3aa9d42e25788eb90cea /japanese/kappa20 | |
parent | de65e48eb75966e14c2705d42debd103c28d84b6 (diff) | |
download | freebsd-ports-gnome-991d1d1de1a0c589f9f44aa52405cf86bc6602fe.tar.gz freebsd-ports-gnome-991d1d1de1a0c589f9f44aa52405cf86bc6602fe.tar.zst freebsd-ports-gnome-991d1d1de1a0c589f9f44aa52405cf86bc6602fe.zip |
X11 20-dot kanji font 'kappa font'
PR: ports/4726
Submitted by: Ginga Kawaguti <ginga@amalthea.phys.s.u-tokyo.ac.jp>
Diffstat (limited to 'japanese/kappa20')
-rw-r--r-- | japanese/kappa20/Makefile | 26 | ||||
-rw-r--r-- | japanese/kappa20/distinfo | 1 | ||||
-rw-r--r-- | japanese/kappa20/files/patch-aa | 37 | ||||
-rw-r--r-- | japanese/kappa20/files/patch-ab | 31 | ||||
-rw-r--r-- | japanese/kappa20/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/kappa20/pkg-descr | 12 | ||||
-rw-r--r-- | japanese/kappa20/pkg-plist | 13 |
7 files changed, 121 insertions, 0 deletions
diff --git a/japanese/kappa20/Makefile b/japanese/kappa20/Makefile new file mode 100644 index 000000000000..d9c2873346c8 --- /dev/null +++ b/japanese/kappa20/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: kappafont +# Version required: 0.2 +# Date created: 30 Sep 1997 +# Whom: Kawaguti Ginga <ginga@amalthea.phys.s.u-tokyo.ac.jp> +# +# $Id$ +# + +DISTNAME= Kappa20-0.2 +PKGNAME= ja-kappa20-0.2 +CATEGORIES= japanese x11 +MASTER_SITES= ftp://ftp.st.ryukoku.ac.jp/pub/X11/fonts/ \ + ftp://ftp.win.or.jp/pub/doc-sources/fj.sources/1997/aug/ + +MAINTAINER= ginga@amalthea.phys.s.u-tokyo.ac.jp + +USE_X11= yes +MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}" + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/kappa20 + @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${PREFIX}/share/doc/kappa20/ +.endif + +.include <bsd.port.mk> diff --git a/japanese/kappa20/distinfo b/japanese/kappa20/distinfo new file mode 100644 index 000000000000..492a89c495e2 --- /dev/null +++ b/japanese/kappa20/distinfo @@ -0,0 +1 @@ +MD5 (Kappa20-0.2.tar.gz) = 0a7df089ced7182241fa2105b4936c79 diff --git a/japanese/kappa20/files/patch-aa b/japanese/kappa20/files/patch-aa new file mode 100644 index 000000000000..1379e1f1199a --- /dev/null +++ b/japanese/kappa20/files/patch-aa @@ -0,0 +1,37 @@ +--- Makefile.orig Wed Aug 6 08:06:01 1997 ++++ Makefile Tue Sep 30 22:53:23 1997 +@@ -1,6 +1,9 @@ +-TARGETDIR = /usr/X11R6/lib/X11/fonts/misc ++TARGETDIR = ${PREFIX}/lib/X11/fonts/misc + +-all: k20b.pcf.Z k20m.pcf.Z 10x20b.pcf.Z 10x20m.pcf.Z 10x20rkb.pcf.Z 10x20rkm.pcf.Z ++TARGETS = k20b.pcf.Z k20m.pcf.Z 10x20b.pcf.Z 10x20m.pcf.Z \ ++ 10x20rkb.pcf.Z 10x20rkm.pcf.Z ++ ++all: $(TARGETS) + + k20b.pcf.Z: k20b.bdf + bdftopcf k20b.bdf | compress > k20b.pcf.Z +@@ -20,13 +23,14 @@ + 10x20rkm.pcf.Z: 10x20rkm.bdf + bdftopcf 10x20rkm.bdf | compress > 10x20rkm.pcf.Z + +-install: k20b.pcf.Z k20m.pcf.Z 10x20b.pcf.Z 10x20m.pcf.Z 10x20rkb.pcf.Z 10x20rkm.pcf.Z +- install -c -m 0644 k20b.pcf.Z k20m.pcf.Z 10x20b.pcf.Z 10x20m.pcf.Z 10x20rkb.pcf.Z 10x20rkm.pcf.Z ${TARGETDIR} +- grep -h '[^0-9]' fonts.dir ${TARGETDIR}/fonts.dir | sort -u > fonts.dir.tmp +- wc -l fonts.dir.tmp | awk '{print $$1}' | cat - fonts.dir.tmp > ${TARGETDIR}/fonts.dir +- sort -u fonts.alias ${TARGETDIR}/fonts.alias > fonts.alias.tmp +- install -m 0644 fonts.alias.tmp ${TARGETDIR}/fonts.alias ++install: $(TARGETS) ++ ${INSTALL_DATA} $(TARGETS) $(TARGETDIR) ++ @echo "updating fonts.dir and fonts.alias" ++ @(cd $(TARGETDIR) ; mkfontdir . ; touch fonts.alias ; \ ++ cp fonts.alias fonts.alias.orig) ++ @(cd $(TARGETDIR) ; cat fonts.alias.orig ; grep -i -- '-kappa-' fonts.dir | \ ++ sed 's/\.pcf\.Z//;s/x20rkm/x20rk/') >$(TARGETDIR)/fonts.alias ++ @rm $(TARGETDIR)/fonts.alias.orig + + clean: +- rm -f fonts.dir.tmp +- rm -f k20b.pcf.Z k20m.pcf.Z 10x20b.pcf.Z 10x20m.pcf.Z 10x20rkb.pcf.Z 10x20rkm.pcf.Z ++ rm -f $(TARGETS) diff --git a/japanese/kappa20/files/patch-ab b/japanese/kappa20/files/patch-ab new file mode 100644 index 000000000000..3d5e6ed8d7ae --- /dev/null +++ b/japanese/kappa20/files/patch-ab @@ -0,0 +1,31 @@ +diff -u -r1.1 10x20b.bdf +--- 10x20b.bdf 1997/08/12 08:55:57 1.1 ++++ 10x20b.bdf 1997/08/12 08:56:08 +@@ -10,7 +10,7 @@ + FONTNAME_REGISTRY "" + FOUNDRY "Kappa" + FAMILY_NAME "Fixed" +-WEIGHT_NAME "Medium" ++WEIGHT_NAME "Bold" + SLANT "R" + SETWIDTH_NAME "Normal" + ADD_STYLE_NAME "" +diff -u -r1.1 10x20rkb.bdf +--- 10x20rkb.bdf 1997/08/12 08:54:24 1.1 ++++ 10x20rkb.bdf 1997/08/12 08:54:46 +@@ -1,13 +1,13 @@ + STARTFONT 2.1 + COMMENT 10x20rkb.bdf ver.0.20(1997.8.6) by KANOU Hiroki(g92k0323@mn.waseda.ac.jp). +-FONT -Kappa-Fixed-Medium-R-Normal--20-190-75-75-C-100-JISX0201.1976-0 ++FONT -Kappa-Fixed-Bold-R-Normal--20-190-75-75-C-100-JISX0201.1976-0 + SIZE 20 75 75 + FONTBOUNDINGBOX 10 20 0 -3 + STARTPROPERTIES 19 + FONTNAME_REGISTRY "" + FOUNDRY "Kappa" + FAMILY_NAME "Fixed" +-WEIGHT_NAME "Medium" ++WEIGHT_NAME "Bold" + SLANT "R" + SETWIDTH_NAME "Normal" + ADD_STYLE_NAME "" diff --git a/japanese/kappa20/pkg-comment b/japanese/kappa20/pkg-comment new file mode 100644 index 000000000000..a8c40b47efbb --- /dev/null +++ b/japanese/kappa20/pkg-comment @@ -0,0 +1 @@ +X11 20-dot kanji font 'kappa font' diff --git a/japanese/kappa20/pkg-descr b/japanese/kappa20/pkg-descr new file mode 100644 index 000000000000..bf799a00163c --- /dev/null +++ b/japanese/kappa20/pkg-descr @@ -0,0 +1,12 @@ +Japanese 20 dot mincho font named `kappa font'. + +You can use + "k20m" medium mincho + "k20b" bold mincho + "10x20m" ascii + "10x20b" bold ascii + "10x20rk" kana + "10x20rkb" bold kana + +A simple usage: + % kterm -fn 10x20b -fr 10x20rkb -fk k20b diff --git a/japanese/kappa20/pkg-plist b/japanese/kappa20/pkg-plist new file mode 100644 index 000000000000..3937e97e4989 --- /dev/null +++ b/japanese/kappa20/pkg-plist @@ -0,0 +1,13 @@ +lib/X11/fonts/misc/10x20b.pcf.Z +lib/X11/fonts/misc/10x20m.pcf.Z +lib/X11/fonts/misc/10x20rkb.pcf.Z +lib/X11/fonts/misc/10x20rkm.pcf.Z +lib/X11/fonts/misc/k20b.pcf.Z +lib/X11/fonts/misc/k20m.pcf.Z +share/doc/kappa20/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 ; grep -i -- -kappa- fonts.dir | sed 's/\.pcf\.Z//;s/x20rkm/x20rk/') >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 'kappa' fonts.alias.orig > fonts.alias ; rm fonts.alias.orig +@dirrm share/doc/kappa20 |