aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/skk-jisyo
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1998-12-15 23:22:46 +0800
committerkuriyama <kuriyama@FreeBSD.org>1998-12-15 23:22:46 +0800
commitb7655f4f9f67b3ce055afec4ab5bf1b338cd2922 (patch)
tree12d65a297442df3137c73cb626440b35ea66036b /japanese/skk-jisyo
parenta5842368ae07db5764724f4da612e4d27f85c582 (diff)
downloadfreebsd-ports-gnome-b7655f4f9f67b3ce055afec4ab5bf1b338cd2922.tar.gz
freebsd-ports-gnome-b7655f4f9f67b3ce055afec4ab5bf1b338cd2922.tar.zst
freebsd-ports-gnome-b7655f4f9f67b3ce055afec4ab5bf1b338cd2922.zip
japanese/skk-elisp:
Emacs-lisp frontend for the SKK Japanese-input software. japanese/skk-jisyo: Jisyo (dictionary) file for the SKK Japanese-input software. japanese/skk-tools: Jisyo-tools for the SKK Japanese-input software. japanese/skkserv: Dictionary server for the SKK Japanese-input software. PR: ports/8705 (part of) Submitted by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp> Note: This PR cannot close until I commit japanese/skk meta-port and take some tweaks. Please wait.
Diffstat (limited to 'japanese/skk-jisyo')
-rw-r--r--japanese/skk-jisyo/Makefile39
-rw-r--r--japanese/skk-jisyo/distinfo1
-rw-r--r--japanese/skk-jisyo/files/patch-aa45
-rw-r--r--japanese/skk-jisyo/files/patch-ba11
-rw-r--r--japanese/skk-jisyo/files/patch-bb14
-rw-r--r--japanese/skk-jisyo/files/patch-ca17
-rw-r--r--japanese/skk-jisyo/files/patch-cb13
-rw-r--r--japanese/skk-jisyo/files/patch-da33
-rw-r--r--japanese/skk-jisyo/files/patch-dc11
-rw-r--r--japanese/skk-jisyo/files/patch-dd10
-rw-r--r--japanese/skk-jisyo/pkg-comment1
-rw-r--r--japanese/skk-jisyo/pkg-descr7
-rw-r--r--japanese/skk-jisyo/pkg-plist2
13 files changed, 204 insertions, 0 deletions
diff --git a/japanese/skk-jisyo/Makefile b/japanese/skk-jisyo/Makefile
new file mode 100644
index 000000000000..576a897fd10c
--- /dev/null
+++ b/japanese/skk-jisyo/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: skk-jisyo
+# Version required: 9.6
+# Date created: 31 Oct 1998
+# Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= skk9.6
+PKGNAME= ja-skk-jisyo${SKKJISYO_SIZE}-9.6
+CATEGORIES= japanese
+MASTER_SITES= ftp://skk.kuis.kyoto-u.ac.jp/skk/9.6/
+
+MAINTAINER= matusita@jp.freebsd.org
+
+.if !defined(SKKJISYO_SIZE)
+SKKJISYO_SIZE= L
+.else
+.if ${SKKJISYO_SIZE} != L && ${SKKJISYO_SIZE} != M && ${SKKJISYO_SIZE} != S
+SKKJISYO_SIZE_INVALID= yes
+.endif
+.endif
+SKKJISYO?= SKK-JISYO.${SKKJISYO_SIZE}
+
+WRKSRC= ${WRKDIR}/skk-9.6
+GNU_CONFIGURE= yes
+NO_BUILD= yes
+INSTALL_TARGET= install-jisyo
+MAKE_ARGS= JISYO=${SKKJISYO}
+PLIST_SUB= JISYONAME=${SKKJISYO}
+
+pre-fetch:
+.if defined(SKKJISYO_SIZE_INVALID)
+ @echo "Error: invalid SKKJISYO_SIZE: ${SKKJISYO_SIZE}"
+ @echo "SKKJISYO_SIZE should be L, M, or S."
+ @${FALSE}
+.endif
+
+.include <bsd.port.mk>
diff --git a/japanese/skk-jisyo/distinfo b/japanese/skk-jisyo/distinfo
new file mode 100644
index 000000000000..080b25bc47d8
--- /dev/null
+++ b/japanese/skk-jisyo/distinfo
@@ -0,0 +1 @@
+MD5 (skk9.6.tar.gz) = 26bd151234f69caa2e1591aaf551fb1d
diff --git a/japanese/skk-jisyo/files/patch-aa b/japanese/skk-jisyo/files/patch-aa
new file mode 100644
index 000000000000..5ed10400c5f2
--- /dev/null
+++ b/japanese/skk-jisyo/files/patch-aa
@@ -0,0 +1,45 @@
+--- Makefile.in.orig Mon Feb 3 18:21:39 1997
++++ Makefile.in Sun Nov 1 17:20:47 1998
+@@ -19,10 +19,10 @@
+
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+-bindir = $(exec_prefix)/bin
+-libexecdir = $(exec_prefix)/libexec
+-datadir = $(prefix)/share
+-infodir = $(prefix)/info
++bindir = @bindir@
++libexecdir = @libexec@
++datadir = @datadir@
++infodir = @infodir@
+
+ EMACS = @EMACS@
+ TEXI2DVI = texi2dvi
+@@ -32,12 +32,16 @@
+ ## SKK JISYO which skkserv uses
+ JISYO = @JISYO@
+ JISYODIR = $(datadir)/skk
++SERVERDIR = $(prefix)/sbin
+
+ SUBDIRS = lisp skkserv jisyo-tools doc etc
+
+ MDEFINES = CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' \
++ prefix='$(prefix)' exec_prefix='$(exec_prefix)' bindir='$(bindir)' \
++ libexecdir='$(libexec)' datadir='$(datadir)' infodir='$(infodir)' \
+ EMACS='$(EMACS)' JISYO='$(JISYO)' JISYODIR='$(JISYODIR)' \
+- ELISPDIR='$(ELISPDIR)' TEXI2DVI='$(TEXI2DVI)'
++ ELISPDIR='$(ELISPDIR)' SKKDIR='$(SKKDIR)' SERVERDIR='$(SERVERDIR)' \
++ TEXI2DVI='$(TEXI2DVI)'
+
+ all: config.h
+ for subdir in $(SUBDIRS); do \
+@@ -50,6 +54,9 @@
+ echo making $@ in $$subdir; \
+ (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
+ done
++
++install-jisyo:
++ [ -d $(JISYODIR) ] || mkdir $(JISYODIR)
+ $(INSTALL_DATA) jisyo/$(JISYO) $(JISYODIR)/$(JISYO)
+
+ clean:
diff --git a/japanese/skk-jisyo/files/patch-ba b/japanese/skk-jisyo/files/patch-ba
new file mode 100644
index 000000000000..521c81905bd1
--- /dev/null
+++ b/japanese/skk-jisyo/files/patch-ba
@@ -0,0 +1,11 @@
+--- jisyo-tools/Makefile.in.orig Sun Nov 1 17:54:33 1998
++++ jisyo-tools/Makefile.in Sun Nov 1 17:53:29 1998
+@@ -63,6 +63,8 @@
+ $(INSTALL_PROGRAM) $$p $(bindir)/; \
+ else :; fi; \
+ done
++ $(top_srcdir)/mkinstalldirs $(prefix)/share/doc/skk
++ $(INSTALL_DATA) README $(prefix)/share/doc/skk/README.skktools
+
+ clean:
+ rm -f $(TARGETS) core
diff --git a/japanese/skk-jisyo/files/patch-bb b/japanese/skk-jisyo/files/patch-bb
new file mode 100644
index 000000000000..621c166372f4
--- /dev/null
+++ b/japanese/skk-jisyo/files/patch-bb
@@ -0,0 +1,14 @@
+--- jisyo-tools/skkdic-sort.c.orig Tue Dec 17 14:51:28 1996
++++ jisyo-tools/skkdic-sort.c Sat Oct 31 19:07:33 1998
+@@ -23,7 +23,11 @@
+
+ #include <stdio.h>
+ #ifndef NO_MALLOC_H
++#ifdef __FreeBSD__
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+ #endif
+
+ /* このプログラムでは辞書をすべてメモリの中に読み込みます。
diff --git a/japanese/skk-jisyo/files/patch-ca b/japanese/skk-jisyo/files/patch-ca
new file mode 100644
index 000000000000..a58f8dec67cf
--- /dev/null
+++ b/japanese/skk-jisyo/files/patch-ca
@@ -0,0 +1,17 @@
+--- doc/Makefile.in.orig Tue Jan 28 15:54:39 1997
++++ doc/Makefile.in Sat Oct 31 18:42:26 1998
+@@ -4,13 +4,13 @@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+
+-INFOOBJ = skk.info-1 skk.info-2 skk.info-3 skk.info-4 skk.info-5 skk.info-6
++INFOOBJ = skk.info skk.info-1 skk.info-2 skk.info-3 skk.info-4 skk.info-5 skk.info-6
+
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+
+ prefix = @prefix@
+ infodir = $(prefix)/info
+
+ TEXI2DVI = texi2dvi
+
diff --git a/japanese/skk-jisyo/files/patch-cb b/japanese/skk-jisyo/files/patch-cb
new file mode 100644
index 000000000000..8496d1da6153
--- /dev/null
+++ b/japanese/skk-jisyo/files/patch-cb
@@ -0,0 +1,13 @@
+--- doc/skk.info.orig Tue Feb 11 19:58:25 1997
++++ doc/skk.info Sun Nov 1 18:14:15 1998
+@@ -3,6 +3,10 @@
+ from file `skk.texi'
+ using `texinfmt.el' version 2.32 of 19 November 1993.
+
++INFO-DIR-SECTION The Emacs editor and associated tools
++START-INFO-DIR-ENTRY
++* Skk: (skk). Yet another Japanese Input Method. (Japanese)
++END-INFO-DIR-ENTRY
+
+
+
diff --git a/japanese/skk-jisyo/files/patch-da b/japanese/skk-jisyo/files/patch-da
new file mode 100644
index 000000000000..42a949b65e35
--- /dev/null
+++ b/japanese/skk-jisyo/files/patch-da
@@ -0,0 +1,33 @@
+--- lisp/Makefile.in.orig Tue Jan 28 16:03:47 1997
++++ lisp/Makefile.in Sat Oct 31 18:36:53 1998
+@@ -12,19 +12,19 @@
+ INSTALL_DATA = @INSTALL_DATA@
+
+ prefix = @prefix@
+ datadir = $(prefix)/share
+
+ EMACS = @EMACS@
+ ELISPDIR = $(datadir)/emacs/site-lisp
+
+ SOURCES = stack-m.el queue-m.el elib-node.el avltree.el string.el \
+- skk-e19.el skk.el skk-auto.el skk-comp.el \
++ skk-e19.el skk-auto.el skk-comp.el \
+ skk-gadget.el skk-kakasi.el skk-kcode.el skk-num.el \
+ skk-server.el skk-tree.el skk-tut.el skk-vip.el skk-isearch.el \
+ skk.el #skk-tools.el
+
+ COMPILED = stack-m.elc queue-m.elc elib-node.elc avltree.elc string.elc \
+- skk-e19.elc skk.elc skk-auto.elc skk-comp.elc \
++ skk-e19.elc skk-auto.elc skk-comp.elc \
+ skk-gadget.elc skk-kakasi.elc skk-kcode.elc skk-num.elc \
+ skk-server.elc skk-tree.elc skk-tut.elc skk-vip.elc skk-isearch.elc \
+ skk.elc #skk-tools.elc
+@@ -55,7 +55,7 @@
+
+ .PHONY: clean
+ clean:
+- -rm *~ $(COMPILED) lp.el
++ -rm -f *~ $(COMPILED) lp.el
+
+ stack-m.elc: stack-m.el
+ queue-m.elc: queue-m.el
diff --git a/japanese/skk-jisyo/files/patch-dc b/japanese/skk-jisyo/files/patch-dc
new file mode 100644
index 000000000000..1dd065ba8035
--- /dev/null
+++ b/japanese/skk-jisyo/files/patch-dc
@@ -0,0 +1,11 @@
+--- lisp/skk-tut.el.orig Wed Feb 12 18:01:28 1997
++++ lisp/skk-tut.el Sat Oct 31 18:39:33 1998
+@@ -767,7 +767,7 @@
+
+ (defun skktut-end-tutorial ()
+ (message "")
+- (switch-to-buffer " *問*")
++ (switch-to-buffer "*問*")
+ (delete-other-windows)
+ (erase-buffer)
+ (goto-char (point-min))
diff --git a/japanese/skk-jisyo/files/patch-dd b/japanese/skk-jisyo/files/patch-dd
new file mode 100644
index 000000000000..80d78df96f66
--- /dev/null
+++ b/japanese/skk-jisyo/files/patch-dd
@@ -0,0 +1,10 @@
+--- lisp/skk.el.orig Tue Feb 11 18:25:17 1997
++++ lisp/skk.el Sat Oct 31 18:40:40 1998
+@@ -1736,6 +1736,7 @@
+ (while (looking-at "ー")
+ (skk-forward-char 1) )
+ (setq char (skk-what-char-type)) )
++ (skk-set-marker skk-henkan-end-point (point))
+ (cond ((eq char 'hirakana)
+ (skk-katakana-henkan arg) )
+ ((eq char 'katakana)
diff --git a/japanese/skk-jisyo/pkg-comment b/japanese/skk-jisyo/pkg-comment
new file mode 100644
index 000000000000..1d2ec13449b7
--- /dev/null
+++ b/japanese/skk-jisyo/pkg-comment
@@ -0,0 +1 @@
+Jisyo file for the SKK Japanese-input software.
diff --git a/japanese/skk-jisyo/pkg-descr b/japanese/skk-jisyo/pkg-descr
new file mode 100644
index 000000000000..623124cc4606
--- /dev/null
+++ b/japanese/skk-jisyo/pkg-descr
@@ -0,0 +1,7 @@
+SKK (Simple Kana Kanji Convertor) is a very fast and efficient Japanese input
+method system, written in emacs-lisp. SKK runs on NEmacs (Japanized Emacs18),
+Mule (MULtilingual Emacs), and Demacs (DOS version of Emacs18/NEmacs).
+
+Check <URL:http://skk.kuis.kyoto-u.ac.jp/skk/> also, Home Page of SKK.
+
+This package is jisyo file (kana-kanji conversion dictionary) for the SKK.
diff --git a/japanese/skk-jisyo/pkg-plist b/japanese/skk-jisyo/pkg-plist
new file mode 100644
index 000000000000..4bfff4ab5596
--- /dev/null
+++ b/japanese/skk-jisyo/pkg-plist
@@ -0,0 +1,2 @@
+share/skk/%%JISYONAME%%
+@dirrm share/skk