diff options
author | sakamoto <sakamoto> | 2002-06-10 09:05:09 +0000 |
---|---|---|
committer | sakamoto <sakamoto> | 2002-06-10 09:05:09 +0000 |
commit | cc150085b3ce6ab31d20840b7e1f56ea8da2a588 (patch) | |
tree | 2064ad7bb5711ff6e92603f0ae6e921f3465e81b /inputmethod | |
parent | 45cd5b1d4bbd690c1f026b6bcd1c1ba2f5e57df3 (diff) | |
download | pkgsrc-cc150085b3ce6ab31d20840b7e1f56ea8da2a588.tar.gz |
Import Canna-dict-3.5.2nb2
Kana-Kanji conversion system (dictionary)
separated from inputmethod/canna-server, Approved by agc.
Diffstat (limited to 'inputmethod')
-rw-r--r-- | inputmethod/canna-dict/DESCR | 13 | ||||
-rw-r--r-- | inputmethod/canna-dict/Makefile | 68 | ||||
-rw-r--r-- | inputmethod/canna-dict/PLIST | 19 |
3 files changed, 100 insertions, 0 deletions
diff --git a/inputmethod/canna-dict/DESCR b/inputmethod/canna-dict/DESCR new file mode 100644 index 00000000000..14268d78991 --- /dev/null +++ b/inputmethod/canna-dict/DESCR @@ -0,0 +1,13 @@ +Canna is a Kana-Kanji conversion server. +Support Mule(Multi-lingal extention Emacs), kinput2 X11 input method, +cannum front end and some others. + + To use from Mule (CANNA version), in .emacs file: + + (if (and (boundp 'CANNA) CANNA) ; Is it CANNA MULE? + (progn + (load-library "canna") + (canna) )) + + Then kana-kanji conversion begin to `C-o' key. Show more detail +Info, and/or documents. diff --git a/inputmethod/canna-dict/Makefile b/inputmethod/canna-dict/Makefile new file mode 100644 index 00000000000..6ef2c2a0a24 --- /dev/null +++ b/inputmethod/canna-dict/Makefile @@ -0,0 +1,68 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/06/10 09:05:09 sakamoto Exp $ + +DISTNAME= Canna35b2 +PKGNAME= Canna-dict-3.5.2 +PKGREVISION= 2 +CATEGORIES= japanese inputmethod +MASTER_SITES= ftp://ftp.nec.co.jp/pub/Canna/Canna35/ + +PATCH_SITES= http://www.jaist.ac.jp/~fujieda/canna/ +PATCHFILES= Canna35b2-unoff1.patch.gz Canna35b2-unoff2.patch.gz \ + Canna35b2-hack1.patch.gz +PATCH_DIST_STRIP= -p1 + +MAINTAINER= tech-pkg-ja@jp.netbsd.org +HOMEPAGE= http://www.nec.co.jp/japanese/product/computer/soft/canna/ +COMMENT= Kana-Kanji conversion system (dictionary) + +BUILD_DEPENDS+= Canna-server-bin>=3.5.2nb2:../canna-server-bin + +FILESDIR= ${.CURDIR}/../canna-lib/files +DISTINFO_FILE= ${.CURDIR}/../canna-lib/distinfo +PATCHDIR= ${.CURDIR}/../canna-lib/patches + +BUILD_DEFS+= USE_INET6 +#USE_X11BASE= yes + +.include "../../mk/bsd.prefs.mk" +NO_MTREE= yes +LOCALBASE= ${IMDICTDIR} +.if 0 # ${USE_INET6} == "YES" +INET6= -DINET6 +.else +INET6= # empty +.endif +CANNAOWNER?= daemon +CANNAGROUP?= daemon +MAKE_ENV+= CANNAOWNER=${CANNAOWNER} CANNAGROUP=${CANNAGROUP} \ + IMDICTDIR=${IMDICTDIR} INET6=${INET6} + +EVAL_PREFIX+= CANNASERVERBINDIR=Canna-server-bin +.for cmd in MERGE FORCPP FORSORT SPLITWORD MERGEWORD CRXGRAM CRXDIC CRFREQ KPDIC +CANNA_CMD_SED_SCRIPT+=-e 's|\(${cmd} = \).*/\(.*\)|\1${CANNASERVERBINDIR}/bin/\2|' +.endfor + +post-patch: + @${MV} ${WRKSRC}/Canna.conf ${WRKSRC}/Canna.conf.orig + @${SED} -e 's|\(DicDir.*=\).*|\1${IMDICTDIR}/canna|' \ + ${WRKSRC}/Canna.conf.orig > ${WRKSRC}/Canna.conf + @for file in `${FIND} ${WRKSRC}/dic/ideo -name Imakefile`; do \ + ${MV} $$file $$file.orig; \ + ${SED} ${CANNA_CMD_SED_SCRIPT} $$file.orig > $$file; \ + done + +do-configure: + @(cd ${WRKSRC}/dic/ideo; ${XMKMF}) + +do-build: + @(cd ${WRKSRC}/dic/ideo; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}) + +post-build: + @${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/canna \ + > ${WRKDIR}/canna + +do-install: + @(cd ${WRKSRC}/dic/ideo; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install) + +.include "../../devel/nbitools/nbitools.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/inputmethod/canna-dict/PLIST b/inputmethod/canna-dict/PLIST new file mode 100644 index 00000000000..1961a80c42c --- /dev/null +++ b/inputmethod/canna-dict/PLIST @@ -0,0 +1,19 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/10 09:05:09 sakamoto Exp $ +canna/canna/bushu.cld +canna/canna/chimei.ctd +canna/canna/dics.dir +canna/canna/fuzokugo.cbd +canna/canna/fuzokugo.cld +canna/canna/hojomwd.ctd +canna/canna/hojoswd.ctd +canna/canna/iroha.cbd +canna/canna/iroha.cld +canna/canna/kanasmpl.ctd +canna/canna/katakana.ctd +canna/canna/keishiki.ctd +canna/canna/necgaiji.ctd +canna/canna/number.ctd +canna/canna/software.ctd +canna/canna/suffix.ctd +@dirrm canna/canna +@dirrm canna |