aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-08 07:48:59 +0800
committerwill <will@FreeBSD.org>2001-04-08 07:48:59 +0800
commit28524cc8e077edf156008603d9ec209b32670a6d (patch)
tree414a2a8626da9ac17f7ffb82785c0c4ba064bcd1 /japanese
parentf90ada9c1523e0c7d2183ef0951160f848fcd2e9 (diff)
downloadfreebsd-ports-graphics-28524cc8e077edf156008603d9ec209b32670a6d.tar.gz
freebsd-ports-graphics-28524cc8e077edf156008603d9ec209b32670a6d.tar.zst
freebsd-ports-graphics-28524cc8e077edf156008603d9ec209b32670a6d.zip
Add cannadic 0.92, a canna dictionary containing a lot of words.
PR: 22296 Submitted by: TOGAWA Satoshi <toga@puyo.org>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/cannadic/Makefile50
-rw-r--r--japanese/cannadic/distinfo1
-rw-r--r--japanese/cannadic/files/patch-aa22
-rw-r--r--japanese/cannadic/files/patch-ab43
-rw-r--r--japanese/cannadic/files/patch-ac9
-rw-r--r--japanese/cannadic/pkg-comment1
-rw-r--r--japanese/cannadic/pkg-descr12
-rw-r--r--japanese/cannadic/pkg-plist5
9 files changed, 144 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 7d442700ca8..fd64b423c4f 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -18,6 +18,7 @@
SUBDIR += bible_names-fpw
SUBDIR += binder
SUBDIR += bookview
+ SUBDIR += cannadic
SUBDIR += canuum
SUBDIR += cdrom2
SUBDIR += chasen
diff --git a/japanese/cannadic/Makefile b/japanese/cannadic/Makefile
new file mode 100644
index 00000000000..d2553c2b8e4
--- /dev/null
+++ b/japanese/cannadic/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: cannadic
+# Date created: 26 Oct 2000
+# Whom: TOGAWA Satoshi <toga@puyo.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cannadic
+PORTVERSION= 0.92
+CATEGORIES= japanese
+MASTER_SITES= http://cgi3.osk.3web.ne.jp/~nowaki/computer/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= toga@puyo.org
+
+RUN_DEPENDS= ${LOCALBASE}/lib/canna/dic/canna/dics.dir:${PORTSDIR}/japanese/Canna
+BUILD_DEPENDS= mkbindic:${PORTSDIR}/japanese/Canna
+
+DICS= gcanna.d gcannaf.d
+FQS= gcanna.fq gcannaf.fq
+DICSFILE= dics.dir
+ORIGDICSFILE= dics.dir.orig
+CANNADICSFILE= dics.dir.gpl_canna
+CANNASH= ${PREFIX}/etc/rc.d/canna.sh
+DICDIR= ${PREFIX}/lib/canna/dic/canna
+
+do-install:
+ cd ${WRKSRC};\
+ ${CP} ${DICDIR}/${DICSFILE} ./${ORIGDICSFILE}; \
+ ${CAT} ./${ORIGDICSFILE} ./${CANNADICSFILE} > ./${DICSFILE}; \
+ ${INSTALL_DATA} -g bin -m 664 -o bin ${DICS} ${FQS} ${DICDIR};\
+ ${INSTALL_DATA} -g bin -m 664 -o bin ${DICSFILE} ${CANNADICSFILE} ${ORIGDICSFILE} ${DICDIR}
+
+post-install:
+ @( \
+ ${ECHO} ; \
+ ${ECHO} ; \
+ ${ECHO} "After installing, you have to restart cannaserver" ; \
+ ${ECHO} "and add lines to your .canna."; \
+ ${ECHO} "(use-dictionary" ; \
+ ${ECHO} "\"iroha\" ; and more...." ; \
+ ${ECHO} ; \
+ ${ECHO} "\"gcanna\" ; add this!" ;\
+ ${ECHO} "\"gcannaf\" ; add this!" ;\
+ ${ECHO} ")";\
+ ${ECHO} ; \
+ ${ECHO} ; \
+ )
+
+.include <bsd.port.mk>
diff --git a/japanese/cannadic/distinfo b/japanese/cannadic/distinfo
new file mode 100644
index 00000000000..268ffad4fb2
--- /dev/null
+++ b/japanese/cannadic/distinfo
@@ -0,0 +1 @@
+MD5 (cannadic-0.92.tar.gz) = 96b1a11aee2aa0b021986f39c2c111df
diff --git a/japanese/cannadic/files/patch-aa b/japanese/cannadic/files/patch-aa
new file mode 100644
index 00000000000..9206e09df27
--- /dev/null
+++ b/japanese/cannadic/files/patch-aa
@@ -0,0 +1,22 @@
+--- Makefile.orig Fri Feb 16 03:12:21 2001
++++ Makefile Sun Apr 8 08:33:24 2001
+@@ -30,7 +30,7 @@
+ MAINDIC = gcanna.t
+ SUBDIC = gcannaf.t
+
+-all: help
++all: bindic-old-version
+
+ help:
+ echo "see README."
+@@ -40,10 +40,6 @@
+ mkbindic -s ${SUBDIC}
+
+ bindic-old-version:
+- mv ${MAINDIC} ${MAINDIC}.orig
+- sed -e 's/\#KYme/\#KY/g' ${MAINDIC}.orig |\
+- sed -e 's/\#KYmime/\#KY/' |\
+- sed -e 's///' > ${MAINDIC}
+ mkbindic -m ${MAINDIC}
+ mkbindic -s ${SUBDIC}
+
diff --git a/japanese/cannadic/files/patch-ab b/japanese/cannadic/files/patch-ab
new file mode 100644
index 00000000000..ae047734c45
--- /dev/null
+++ b/japanese/cannadic/files/patch-ab
@@ -0,0 +1,43 @@
+*** gcannaf.t.distorig Fri Oct 20 23:22:38 2000
+--- gcannaf.t Fri Oct 20 23:23:52 2000
+***************
+*** 232,238 ****
+ じかけ #SUC*1 仕掛け
+ じかん #JS*255 時間
+ じげん #JS 次元 #JS*1 時限
+- じこみ #D2T16*1 仕込み
+ じごろ #JS 時ごろ 時頃
+ じすぎ #JS*1 時すぎ 時過ぎ
+ じっ #NN*5 十 #PRE 実
+--- 232,237 ----
+***************
+*** 313,319 ****
+ だんかい #JS*54 段階
+ ち #SUC 地 #SUC*255 値
+ ちく #CNSUC1*474 地区
+- ちっく #D2T16 チック
+ ちほう #CNSUC1*474 地方
+ ちゃく #CNSUC1*480 着 #JS 着
+ ちゃん #JNSUC*618 ちゃん
+--- 312,317 ----
+***************
+*** 334,340 ****
+ づけ #JS*5 付 #N2T30 漬け #SUC*10 漬 付け #SUC*5 づけ 漬け
+ づら #D2KY づら #D2KY*6 辛
+ て #JS 手
+- てぃっく #D2T16 ティック
+ てい #JNSUC*2 邸 #PRE 低
+ ていすと #SUC*5 テイスト
+ てき #JS*5 滴 #N2T16*1648 的 #SUC*228 的
+--- 332,337 ----
+***************
+*** 484,491 ****
+ ぴん #JS*1 品 #JS*13 ピン
+ ふ #PRE*139 不 #SUC 婦
+ ふぃーと #JS*1 フィート
+- ふう #CNSUC1*486 風 #D2T16*1 風
+- ふうみ #D2T16*1 風味
+ ふぇむと #NNPRE フェムト
+ ふぉあ #PRE*2 フォア
+ ふく #PRE 副 #PRE*1 複
+--- 481,486 ----
diff --git a/japanese/cannadic/files/patch-ac b/japanese/cannadic/files/patch-ac
new file mode 100644
index 00000000000..d61294abccb
--- /dev/null
+++ b/japanese/cannadic/files/patch-ac
@@ -0,0 +1,9 @@
+*** dics.dir.gpl_canna.orig Sat Oct 21 00:29:47 2000
+--- dics.dir.gpl_canna Sat Oct 21 00:29:34 2000
+***************
+*** 0 ****
+--- 1,4 ----
++ gcanna.d(gcanna.mwd) -gcanna---
++ gcanna.fq(gcanna.mwd) -gcanna---
++ gcannaf.d(gcannaf.swd) -gcannaf---
++ gcannaf.fq(gcannaf.swd) -gcannaf---
diff --git a/japanese/cannadic/pkg-comment b/japanese/cannadic/pkg-comment
new file mode 100644
index 00000000000..441ab2e2b5e
--- /dev/null
+++ b/japanese/cannadic/pkg-comment
@@ -0,0 +1 @@
+A canna dictionary containing a lot of words
diff --git a/japanese/cannadic/pkg-descr b/japanese/cannadic/pkg-descr
new file mode 100644
index 00000000000..595fd26bbb8
--- /dev/null
+++ b/japanese/cannadic/pkg-descr
@@ -0,0 +1,12 @@
+This is a canna dictionary that contains a lot of words.
+The words come from many dictionaries(pubdic, SKK, kakasi...).
+
+After installing, you have to add lines to your .canna.
+(use-dictionary
+ "iroha" ; and more....
+
+ "gcanna" ; add this!
+ "gcannas" ; add this!
+)
+
+toga@puyo.org
diff --git a/japanese/cannadic/pkg-plist b/japanese/cannadic/pkg-plist
new file mode 100644
index 00000000000..2b0bc822d45
--- /dev/null
+++ b/japanese/cannadic/pkg-plist
@@ -0,0 +1,5 @@
+lib/canna/dic/canna/dics.dir.gpl_canna
+@exec (%D/etc/rc.d/canna.sh stop ; mv %D/lib/canna/dic/canna/dics.dir %D/lib/canna/dic/canna/dics.dir.orig ; cat %D/lib/canna/dic/canna/dics.dir.orig %D/lib/canna/dic/canna/dics.dir.gpl_canna > %D/lib/canna/dic/canna/dics.dir ; chown bin:bin %D/lib/canna/dic/canna/dics.dir ; chmod 464 %D/lib/canna/dic/canna/dics.dir ; %D/etc/rc.d/canna.sh start)
+@unexec (%D/etc/rc.d/canna.sh stop ; mv %D/lib/canna/dic/canna/dics.dir.orig %D/lib/canna/dic/canna/dics.dir ; %D/etc/rc.d/canna.sh start)
+lib/canna/dic/canna/gcanna.d
+lib/canna/dic/canna/gcanna.fq