diff options
author | obache <obache@pkgsrc.org> | 2014-05-24 13:10:04 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-05-24 13:10:04 +0000 |
commit | b67effba329fdc1d657d0a3a268acf7d91e69ed5 (patch) | |
tree | 9317750f7b171231245a725b826bdc444938da71 /converters/libkkc | |
parent | 1b78a38807d0952765f7cfe7b52e77d64621bd8f (diff) | |
download | pkgsrc-b67effba329fdc1d657d0a3a268acf7d91e69ed5.tar.gz |
Import libkkc-0.3.3 as converters/libkkc.
libkkc provides a converter from Kana-string to
Kana-Kanji-mixed-string. It was named after kkc.el in GNU Emacs, a
simple Kana Kanji converter, while libkkc tries to convert sentences
in a bit more complex way using N-gram language models.
Diffstat (limited to 'converters/libkkc')
-rw-r--r-- | converters/libkkc/DESCR | 4 | ||||
-rw-r--r-- | converters/libkkc/Makefile | 32 | ||||
-rw-r--r-- | converters/libkkc/PLIST | 110 | ||||
-rw-r--r-- | converters/libkkc/buildlink3.mk | 18 | ||||
-rw-r--r-- | converters/libkkc/distinfo | 5 |
5 files changed, 169 insertions, 0 deletions
diff --git a/converters/libkkc/DESCR b/converters/libkkc/DESCR new file mode 100644 index 00000000000..3bf0be000a8 --- /dev/null +++ b/converters/libkkc/DESCR @@ -0,0 +1,4 @@ +libkkc provides a converter from Kana-string to +Kana-Kanji-mixed-string. It was named after kkc.el in GNU Emacs, a +simple Kana Kanji converter, while libkkc tries to convert sentences +in a bit more complex way using N-gram language models. diff --git a/converters/libkkc/Makefile b/converters/libkkc/Makefile new file mode 100644 index 00000000000..ccd5bfa79be --- /dev/null +++ b/converters/libkkc/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1 2014/05/24 13:10:04 obache Exp $ + +DISTNAME= libkkc-0.3.3 +CATEGORIES= converters textproc japanese inputmethod +MASTER_SITES= https://bitbucket.org/libkkc/libkkc/downloads/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= https://bitbucket.org/libkkc/libkkc/ +COMMENT= Japanese Kana Kanji conversion library +LICENSE= gnu-gpl-v3 + +BUILD_DEPENDS+= ${PYPKGPREFIX}-marisa-[0-9]*:../../textproc/py-marisa + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= gmake intltool msgfmt pkg-config +USE_LANGUAGES= c c++ +USE_PKGLOCALEDIR= yes + +PKGCONFIG_OVERRIDE+= libkkc/kkc-1.0.pc.in + +TEST_TARGET= check + +PYTHON_FOR_BUILD_ONLY= yes +.include "../../lang/python/application.mk" +.include "../../devel/glib2/buildlink3.mk" +BUILDLINK_DEPMETHOD.gobject-introspection+= build +.include "../../devel/gobject-introspection/buildlink3.mk" +.include "../../devel/libgee/buildlink3.mk" +.include "../../textproc/json-glib/buildlink3.mk" +.include "../../textproc/marisa/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/libkkc/PLIST b/converters/libkkc/PLIST new file mode 100644 index 00000000000..07f39f6a436 --- /dev/null +++ b/converters/libkkc/PLIST @@ -0,0 +1,110 @@ +@comment $NetBSD: PLIST,v 1.1 2014/05/24 13:10:04 obache Exp $ +bin/kkc +bin/kkc-package-data +include/libkkc/libkkc.h +lib/girepository-1.0/Kkc-1.0.typelib +lib/libkkc.la +lib/pkgconfig/kkc-1.0.pc +share/gir-1.0/Kkc-1.0.gir +share/libkkc/rules/act/keymap/default.json +share/libkkc/rules/act/keymap/hankaku-katakana.json +share/libkkc/rules/act/keymap/hiragana.json +share/libkkc/rules/act/keymap/katakana.json +share/libkkc/rules/act/keymap/latin.json +share/libkkc/rules/act/keymap/wide-latin.json +share/libkkc/rules/act/metadata.json +share/libkkc/rules/act/rom-kana/default.json +share/libkkc/rules/azik-jp106/keymap/default.json +share/libkkc/rules/azik-jp106/keymap/hankaku-katakana.json +share/libkkc/rules/azik-jp106/keymap/hiragana.json +share/libkkc/rules/azik-jp106/keymap/katakana.json +share/libkkc/rules/azik-jp106/keymap/latin.json +share/libkkc/rules/azik-jp106/keymap/wide-latin.json +share/libkkc/rules/azik-jp106/metadata.json +share/libkkc/rules/azik-jp106/rom-kana/default.json +share/libkkc/rules/azik/keymap/default.json +share/libkkc/rules/azik/keymap/hankaku-katakana.json +share/libkkc/rules/azik/keymap/hiragana.json +share/libkkc/rules/azik/keymap/katakana.json +share/libkkc/rules/azik/keymap/latin.json +share/libkkc/rules/azik/keymap/wide-latin.json +share/libkkc/rules/azik/metadata.json +share/libkkc/rules/azik/rom-kana/default.json +share/libkkc/rules/default/keymap/default.json +share/libkkc/rules/default/keymap/direct.json +share/libkkc/rules/default/keymap/hankaku-katakana.json +share/libkkc/rules/default/keymap/hiragana.json +share/libkkc/rules/default/keymap/katakana.json +share/libkkc/rules/default/keymap/latin.json +share/libkkc/rules/default/keymap/wide-latin.json +share/libkkc/rules/default/metadata.json +share/libkkc/rules/default/rom-kana/default.json +share/libkkc/rules/kana/keymap/default.json +share/libkkc/rules/kana/keymap/direct.json +share/libkkc/rules/kana/keymap/hankaku-katakana.json +share/libkkc/rules/kana/keymap/hiragana.json +share/libkkc/rules/kana/keymap/katakana.json +share/libkkc/rules/kana/keymap/latin.json +share/libkkc/rules/kana/keymap/wide-latin.json +share/libkkc/rules/kana/metadata.json +share/libkkc/rules/kana/rom-kana/default.json +share/libkkc/rules/kzik/keymap/default.json +share/libkkc/rules/kzik/keymap/hankaku-katakana.json +share/libkkc/rules/kzik/keymap/hiragana.json +share/libkkc/rules/kzik/keymap/katakana.json +share/libkkc/rules/kzik/keymap/latin.json +share/libkkc/rules/kzik/keymap/wide-latin.json +share/libkkc/rules/kzik/metadata.json +share/libkkc/rules/kzik/rom-kana/default.json +share/libkkc/rules/nicola/keymap/default.json +share/libkkc/rules/nicola/keymap/direct.json +share/libkkc/rules/nicola/keymap/hankaku-katakana.json +share/libkkc/rules/nicola/keymap/hiragana.json +share/libkkc/rules/nicola/keymap/katakana.json +share/libkkc/rules/nicola/keymap/latin.json +share/libkkc/rules/nicola/keymap/wide-latin.json +share/libkkc/rules/nicola/metadata.json +share/libkkc/rules/nicola/rom-kana/default.json +share/libkkc/rules/tcode/keymap/hankaku-katakana.json +share/libkkc/rules/tcode/keymap/hiragana.json +share/libkkc/rules/tcode/keymap/katakana.json +share/libkkc/rules/tcode/keymap/latin.json +share/libkkc/rules/tcode/keymap/wide-latin.json +share/libkkc/rules/tcode/metadata.json +share/libkkc/rules/tcode/rom-kana/default.json +share/libkkc/rules/trycode/keymap/hankaku-katakana.json +share/libkkc/rules/trycode/keymap/hiragana.json +share/libkkc/rules/trycode/keymap/katakana.json +share/libkkc/rules/trycode/keymap/latin.json +share/libkkc/rules/trycode/keymap/wide-latin.json +share/libkkc/rules/trycode/metadata.json +share/libkkc/rules/trycode/rom-kana/default.json +share/libkkc/rules/tutcode-touch16x/keymap/hankaku-katakana.json +share/libkkc/rules/tutcode-touch16x/keymap/hiragana.json +share/libkkc/rules/tutcode-touch16x/keymap/katakana.json +share/libkkc/rules/tutcode-touch16x/keymap/latin.json +share/libkkc/rules/tutcode-touch16x/keymap/wide-latin.json +share/libkkc/rules/tutcode-touch16x/metadata.json +share/libkkc/rules/tutcode-touch16x/rom-kana/default.json +share/libkkc/rules/tutcode/keymap/hankaku-katakana.json +share/libkkc/rules/tutcode/keymap/hiragana.json +share/libkkc/rules/tutcode/keymap/katakana.json +share/libkkc/rules/tutcode/keymap/latin.json +share/libkkc/rules/tutcode/keymap/wide-latin.json +share/libkkc/rules/tutcode/metadata.json +share/libkkc/rules/tutcode/rom-kana/default.json +share/libkkc/templates/libkkc-data/Makefile.am +share/libkkc/templates/libkkc-data/configure.ac.in +share/libkkc/templates/libkkc-data/data/Makefile.am +share/libkkc/templates/libkkc-data/data/models/Makefile.sorted2 +share/libkkc/templates/libkkc-data/data/models/Makefile.sorted3 +share/libkkc/templates/libkkc-data/data/models/sorted2/metadata.json +share/libkkc/templates/libkkc-data/data/models/sorted3/metadata.json +share/libkkc/templates/libkkc-data/data/models/text2/metadata.json +share/libkkc/templates/libkkc-data/data/models/text3/metadata.json +share/libkkc/templates/libkkc-data/tools/Makefile.am +share/libkkc/templates/libkkc-data/tools/genfilter.py +share/libkkc/templates/libkkc-data/tools/sortlm.py +share/locale/ja/LC_MESSAGES/libkkc.mo +share/vala/vapi/kkc-1.0.deps +share/vala/vapi/kkc-1.0.vapi diff --git a/converters/libkkc/buildlink3.mk b/converters/libkkc/buildlink3.mk new file mode 100644 index 00000000000..f657117852e --- /dev/null +++ b/converters/libkkc/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/05/24 13:10:04 obache Exp $ +# + +BUILDLINK_TREE+= libkkc + +.if !defined(LIBKKC_BUILDLINK3_MK) +LIBKKC_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libkkc+= libkkc>=0.3.3 +BUILDLINK_PKGSRCDIR.libkkc?= ../../converters/libkkc + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/libgee/buildlink3.mk" +.include "../../textproc/json-glib/buildlink3.mk" +.include "../../textproc/marisa/buildlink3.mk" +.endif # LIBKKC_BUILDLINK3_MK + +BUILDLINK_TREE+= -libkkc diff --git a/converters/libkkc/distinfo b/converters/libkkc/distinfo new file mode 100644 index 00000000000..08aae95d906 --- /dev/null +++ b/converters/libkkc/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/05/24 13:10:04 obache Exp $ + +SHA1 (libkkc-0.3.3.tar.gz) = 4fe7fbabc4db0d371053528b7cd4bf3c1ff9ae95 +RMD160 (libkkc-0.3.3.tar.gz) = 35260522486efa3cc5929fd435cefc63774c3868 +Size (libkkc-0.3.3.tar.gz) = 1388989 bytes |