From d36ab36e10adc206cc5765cd70f762985eb9cdf3 Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 22 Apr 2012 13:21:04 +0000 Subject: [PATCH] Import libskk-0.0.12 as inputmethod/libskk. libskk -- a library to deal with Japanese kana-to-kanji conversion method Features: * Support basic features of SKK including new word registration into dictionary, completion, numeric conversion, abbrev mode, kuten input, hankaku-katakana input, Lisp expression evaluation (concat only), and re-conversion. * Support various typing rules including romaji-to-kana, AZIK, TUT-Code, and NICOLA. * Support various dictionary types including file dictionary (such as SKK-JISYO.[SML]), user dictionary, skkserv, and CDB format dictionary. * GObject based API with gobject-introspection support. * Experimental support for intelligent kana-to-kanji conversion based on Viterbi algorithm. --- inputmethod/libskk/DESCR | 20 ++++++++ inputmethod/libskk/Makefile | 29 ++++++++++++ inputmethod/libskk/PLIST | 79 ++++++++++++++++++++++++++++++++ inputmethod/libskk/buildlink3.mk | 17 +++++++ inputmethod/libskk/distinfo | 5 ++ 5 files changed, 150 insertions(+) create mode 100644 inputmethod/libskk/DESCR create mode 100644 inputmethod/libskk/Makefile create mode 100644 inputmethod/libskk/PLIST create mode 100644 inputmethod/libskk/buildlink3.mk create mode 100644 inputmethod/libskk/distinfo diff --git a/inputmethod/libskk/DESCR b/inputmethod/libskk/DESCR new file mode 100644 index 000000000000..e07e8059b3b7 --- /dev/null +++ b/inputmethod/libskk/DESCR @@ -0,0 +1,20 @@ +libskk -- a library to deal with Japanese kana-to-kanji conversion method + +Features: + +* Support basic features of SKK including new word registration into + dictionary, completion, numeric conversion, abbrev mode, kuten + input, hankaku-katakana input, Lisp expression evaluation (concat + only), and re-conversion. + +* Support various typing rules including romaji-to-kana, AZIK, + TUT-Code, and NICOLA. + +* Support various dictionary types including file dictionary (such as + SKK-JISYO.[SML]), user dictionary, skkserv, and CDB format + dictionary. + +* GObject based API with gobject-introspection support. + +* Experimental support for intelligent kana-to-kanji conversion based + on Viterbi algorithm. diff --git a/inputmethod/libskk/Makefile b/inputmethod/libskk/Makefile new file mode 100644 index 000000000000..b94119732035 --- /dev/null +++ b/inputmethod/libskk/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/04/22 13:21:04 obache Exp $ +# + +DISTNAME= libskk-0.0.12 +CATEGORIES= inputmethod +MASTER_SITES= http://cloud.github.com/downloads/ueno/libskk/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://github.com/ueno/libskk/ +COMMENT= Library to deal with Japnese kana-to-kanji conversion method +LICENSE= gnu-gpl-v3 + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= gmake intltool pkg-config +USE_PKGLOCALEDIR= yes + +PKGCONFIG_OVERRIDE+= libskk/libskk.pc.in + +CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale + +TEST_TARGET= check + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/libgee/buildlink3.mk" +.include "../../textproc/json-glib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/inputmethod/libskk/PLIST b/inputmethod/libskk/PLIST new file mode 100644 index 000000000000..68f96500624b --- /dev/null +++ b/inputmethod/libskk/PLIST @@ -0,0 +1,79 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2012/04/22 13:21:04 obache Exp $ +bin/skk +include/libskk/libskk.h +lib/libskk.la +lib/pkgconfig/libskk.pc +man/man1/skk.1 +share/libskk/rules/README.rules +share/libskk/rules/act/keymap/default.json +share/libskk/rules/act/keymap/hankaku-katakana.json +share/libskk/rules/act/keymap/hiragana.json +share/libskk/rules/act/keymap/katakana.json +share/libskk/rules/act/keymap/latin.json +share/libskk/rules/act/keymap/wide-latin.json +share/libskk/rules/act/metadata.json +share/libskk/rules/act/rom-kana/default.json +share/libskk/rules/azik/keymap/default.json +share/libskk/rules/azik/keymap/hankaku-katakana.json +share/libskk/rules/azik/keymap/hiragana.json +share/libskk/rules/azik/keymap/katakana.json +share/libskk/rules/azik/keymap/latin.json +share/libskk/rules/azik/keymap/wide-latin.json +share/libskk/rules/azik/metadata.json +share/libskk/rules/azik/rom-kana/default.json +share/libskk/rules/default/keymap/default.json +share/libskk/rules/default/keymap/hankaku-katakana.json +share/libskk/rules/default/keymap/hiragana.json +share/libskk/rules/default/keymap/katakana.json +share/libskk/rules/default/keymap/latin.json +share/libskk/rules/default/keymap/wide-latin.json +share/libskk/rules/default/metadata.json +share/libskk/rules/default/rom-kana/default.json +share/libskk/rules/kzik/keymap/default.json +share/libskk/rules/kzik/keymap/hankaku-katakana.json +share/libskk/rules/kzik/keymap/hiragana.json +share/libskk/rules/kzik/keymap/katakana.json +share/libskk/rules/kzik/keymap/latin.json +share/libskk/rules/kzik/keymap/wide-latin.json +share/libskk/rules/kzik/metadata.json +share/libskk/rules/kzik/rom-kana/default.json +share/libskk/rules/nicola/keymap/default.json +share/libskk/rules/nicola/keymap/hankaku-katakana.json +share/libskk/rules/nicola/keymap/hiragana.json +share/libskk/rules/nicola/keymap/kana.json +share/libskk/rules/nicola/keymap/katakana.json +share/libskk/rules/nicola/keymap/latin.json +share/libskk/rules/nicola/keymap/wide-latin.json +share/libskk/rules/nicola/metadata.json +share/libskk/rules/nicola/rom-kana/default.json +share/libskk/rules/tcode/keymap/hankaku-katakana.json +share/libskk/rules/tcode/keymap/hiragana.json +share/libskk/rules/tcode/keymap/katakana.json +share/libskk/rules/tcode/keymap/latin.json +share/libskk/rules/tcode/keymap/wide-latin.json +share/libskk/rules/tcode/metadata.json +share/libskk/rules/tcode/rom-kana/default.json +share/libskk/rules/trycode/keymap/hankaku-katakana.json +share/libskk/rules/trycode/keymap/hiragana.json +share/libskk/rules/trycode/keymap/katakana.json +share/libskk/rules/trycode/keymap/latin.json +share/libskk/rules/trycode/keymap/wide-latin.json +share/libskk/rules/trycode/metadata.json +share/libskk/rules/trycode/rom-kana/default.json +share/libskk/rules/tutcode-touch16x/keymap/hankaku-katakana.json +share/libskk/rules/tutcode-touch16x/keymap/hiragana.json +share/libskk/rules/tutcode-touch16x/keymap/katakana.json +share/libskk/rules/tutcode-touch16x/keymap/latin.json +share/libskk/rules/tutcode-touch16x/keymap/wide-latin.json +share/libskk/rules/tutcode-touch16x/metadata.json +share/libskk/rules/tutcode-touch16x/rom-kana/default.json +share/libskk/rules/tutcode/keymap/hankaku-katakana.json +share/libskk/rules/tutcode/keymap/hiragana.json +share/libskk/rules/tutcode/keymap/katakana.json +share/libskk/rules/tutcode/keymap/latin.json +share/libskk/rules/tutcode/keymap/wide-latin.json +share/libskk/rules/tutcode/metadata.json +share/libskk/rules/tutcode/rom-kana/default.json +share/locale/ja/LC_MESSAGES/libskk.mo +share/vala/vapi/skk-1.0.deps +share/vala/vapi/skk-1.0.vapi diff --git a/inputmethod/libskk/buildlink3.mk b/inputmethod/libskk/buildlink3.mk new file mode 100644 index 000000000000..32b6874219dd --- /dev/null +++ b/inputmethod/libskk/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/04/22 13:21:04 obache Exp $ +# + +BUILDLINK_TREE+= libskk + +.if !defined(LIBSKK_BUILDLINK3_MK) +LIBSKK_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libskk+= libskk>=0.0.12 +BUILDLINK_PKGSRCDIR.libskk?= ../../inputmethod/libskk + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/libgee/buildlink3.mk" +.include "../../textproc/json-glib/buildlink3.mk" +.endif # LIBSKK_BUILDLINK3_MK + +BUILDLINK_TREE+= -libskk diff --git a/inputmethod/libskk/distinfo b/inputmethod/libskk/distinfo new file mode 100644 index 000000000000..5d2d47ce26f5 --- /dev/null +++ b/inputmethod/libskk/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/04/22 13:21:04 obache Exp $ + +SHA1 (libskk-0.0.12.tar.gz) = b9758fab7c9146f2f5e6b774bd19d1a354995a22 +RMD160 (libskk-0.0.12.tar.gz) = 0185c38ac441035d173e76b5742896fd11fae2aa +Size (libskk-0.0.12.tar.gz) = 847745 bytes