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.
This commit is contained in:
obache 2012-04-22 13:21:04 +00:00
parent a4e67ea3c9
commit d36ab36e10
5 changed files with 150 additions and 0 deletions

20
inputmethod/libskk/DESCR Normal file
View file

@ -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.

View file

@ -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"

79
inputmethod/libskk/PLIST Normal file
View file

@ -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

View file

@ -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

View file

@ -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