cannadic stable port information

Package: cannadic
Version: 0.95c
Revision: 3
BuildDepends: canna-utils (>= 3.7p1-3)
Depends: canna-server (>= 3.7p1-3), passwd
Conflicts: canna (<< 3.7p1-3)
Source: http://cannadic.oucrc.org/%n-%v.tar.gz
Source-MD5: 2a7fc1be5a50e0ca5dd6e5721be4371a
CompileScript: make maindic
InstallScript: <<
install -d -m 755 %i/var/lib/canna/dic/canna
install -m 644 gcanna.cbd gcanna.cld gcannaf.ctd %i/var/lib/canna/dic/canna/
install -d -m 755 %i/var/lib/canna/dics.d
echo "gcanna.cbd(gcanna.mwd) -gcanna---" >> %i/var/lib/canna/dics.d/01cannadic
echo "gcanna.cld(gcanna.mwd) -gcanna---" >> %i/var/lib/canna/dics.d/01cannadic
echo "gcannaf.ctd(.swd) -gcannaf---" >> %i/var/lib/canna/dics.d/01cannadic
install -d -m 755 %i/share/canna
echo ';; If cannadic is installed, (load (concat canna-directory "/gcannatest.canna") t)' >> %i/share/canna/gcannatest.canna
echo ';; returns non-nil on canna >= 3.7p3-5. This file contains no lisp codes.' >> %i/share/canna/gcannatest.canna
echo ';; If your cannaserver is running on a remote host, this method will not work.' >> %i/share/canna/gcannatest.canna
<<
DocFiles: COPYING README.ja
PostInstScript: <<
%p/etc/canna/rc.canna stop >/dev/null 2>&1 || true
update-canna-dics-dir
%p/etc/canna/rc.canna start >/dev/null 2>&1 || true

chown canna:canna %p/var/lib/canna/dic/canna/{gcanna.cbd,gcanna.cld,gcannaf.ctd}
<<
PreRmScript: <<
if [ "$1" != upgrade ]; then
%p/etc/canna/rc.canna stop >/dev/null 2>&1 || true
update-canna-dics-dir 2>&1 || true
%p/etc/canna/rc.canna start >/dev/null 2>&1 || true
fi
<<
Description: Japanese kana-kanji conversion for canna
DescDetail: <<
'cannadic' is Japanese kana-kanji conversion dictionary for Canna. This
dictionary has been compiled as a supplement/replacement to the dictionaries
distributed together with original Canna. Currently main dictionary and suffix-
and prefix-dictionary together contain over 140000 words.
<<
DescUsage: <<
To use cannadic, you should add the entry of cannadic to your ~/.canna
file.

example of .canna file:
(use-dictionary
"gcanna" ; add cannadic entry
"gcannaf" : add cannadic entry
;;"iroha" ; comment out iroha (conflicts with cannadic)
"fuzokugo"
"hojomwd"
"hojoswd"
:bushu "bushu"
:user "user"
)

Additionally, you should create personal learning file of dictionary.

$ mkdic -fq gcanna

If you are asked to overwrite existing one or not, you should answer yes.
<<
DescPackaging: <<
dmacks: hacked Makefile for --build-as-nobody (move
chown/chmod from InstallScript to PostInstScript)
<<
License: GPL
Maintainer: Todai Fink Team
Homepage: http://cannadic.oucrc.org/