1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Add port japanese/libskk: A library to deal with Japanese kana-to-kanji conversion method

PR:		ports/164484
Submitted by:	Hiroto Kagotani<hiroto.kagotani@gmail.com>  (maintainer)
Approved by:	gabor (mentor)
This commit is contained in:
Michael Scheidell 2012-02-03 12:36:19 +00:00
parent 4148e725df
commit b42371b1c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290342
5 changed files with 182 additions and 0 deletions

View File

@ -157,6 +157,7 @@
SUBDIR += libicq
SUBDIR += libjcode
SUBDIR += libslang
SUBDIR += libskk
SUBDIR += libtomoe-gtk
SUBDIR += lipsf
SUBDIR += lookup

40
japanese/libskk/Makefile Normal file
View File

@ -0,0 +1,40 @@
# New ports collection makefile for: libskk
# Date created: 21 December 2011
# Whom: Hiroto Kagotani <hiroto.kagotani@gmail.com>
#
# $FreeBSD$
#
PORTNAME= libskk
PORTVERSION= 0.0.9
CATEGORIES= japanese
MASTER_SITES= http://cloud.github.com/downloads/ueno/libskk/
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= A library to deal with Japanese kana-to-kanji conversion method
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS= gee.2:${PORTSDIR}/devel/libgee \
json-glib-1.0.0:${PORTSDIR}/devel/json-glib
USE_LDCONFIG= yes
USE_GMAKE= yes
USE_GNOME= intltool gnomehack
GNU_CONFIGURE= yes
CONFIGURE_ENV+= DATADIRNAME=share
MAN1= skk.1
CPPFLAGS+= -I${LOCALBASE}/include
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-install:
cd ${WRKSRC}/docs && ${GMAKE} install-man
.include <bsd.port.mk>

2
japanese/libskk/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (libskk-0.0.9.tar.gz) = 1c691c658d160229928a72ef102731f8ab44a135fab7e4bdf2d17f264b359333
SIZE (libskk-0.0.9.tar.gz) = 719373

27
japanese/libskk/pkg-descr Normal file
View File

@ -0,0 +1,27 @@
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.
Documentation:
* file:tests/context.c for basic usage
* http://du-a.org/docs/libskk/libskk/ for Vala binding reference
* http://du-a.org/docs/gtk-doc/libskk/html/ for C binding reference
WWW: http://github.com/ueno/libskk

112
japanese/libskk/pkg-plist Normal file
View File

@ -0,0 +1,112 @@
bin/skk
include/libskk/libskk.h
lib/libskk.so.0
lib/libskk.so
lib/libskk.la
lib/girepository-1.0/Skk-1.0.typelib
libdata/pkgconfig/libskk.pc
%%NLS%%share/locale/ja/LC_MESSAGES/libskk.mo
share/gir-1.0/Skk-1.0.gir
share/vala/vapi/skk-1.0.deps
share/vala/vapi/skk-1.0.vapi
%%DATADIR%%/rules/tcode/keymap/latin.json
%%DATADIR%%/rules/tcode/keymap/katakana.json
%%DATADIR%%/rules/tcode/keymap/hankaku-katakana.json
%%DATADIR%%/rules/tcode/keymap/wide-latin.json
%%DATADIR%%/rules/tcode/keymap/hiragana.json
%%DATADIR%%/rules/tcode/rom-kana/default.json
%%DATADIR%%/rules/tcode/metadata.json
%%DATADIR%%/rules/tutcode-touch16x/keymap/hankaku-katakana.json
%%DATADIR%%/rules/tutcode-touch16x/keymap/hiragana.json
%%DATADIR%%/rules/tutcode-touch16x/keymap/katakana.json
%%DATADIR%%/rules/tutcode-touch16x/keymap/latin.json
%%DATADIR%%/rules/tutcode-touch16x/keymap/wide-latin.json
%%DATADIR%%/rules/tutcode-touch16x/metadata.json
%%DATADIR%%/rules/tutcode-touch16x/rom-kana/default.json
%%DATADIR%%/rules/tutcode/metadata.json
%%DATADIR%%/rules/tutcode/rom-kana/default.json
%%DATADIR%%/rules/tutcode/keymap/hankaku-katakana.json
%%DATADIR%%/rules/tutcode/keymap/hiragana.json
%%DATADIR%%/rules/tutcode/keymap/katakana.json
%%DATADIR%%/rules/tutcode/keymap/latin.json
%%DATADIR%%/rules/tutcode/keymap/wide-latin.json
%%DATADIR%%/rules/trycode/metadata.json
%%DATADIR%%/rules/trycode/keymap/latin.json
%%DATADIR%%/rules/trycode/keymap/katakana.json
%%DATADIR%%/rules/trycode/keymap/hankaku-katakana.json
%%DATADIR%%/rules/trycode/keymap/wide-latin.json
%%DATADIR%%/rules/trycode/keymap/hiragana.json
%%DATADIR%%/rules/trycode/rom-kana/default.json
%%DATADIR%%/rules/nicola/metadata.json
%%DATADIR%%/rules/nicola/rom-kana/default.json
%%DATADIR%%/rules/nicola/keymap/default.json
%%DATADIR%%/rules/nicola/keymap/kana.json
%%DATADIR%%/rules/nicola/keymap/latin.json
%%DATADIR%%/rules/nicola/keymap/katakana.json
%%DATADIR%%/rules/nicola/keymap/hankaku-katakana.json
%%DATADIR%%/rules/nicola/keymap/wide-latin.json
%%DATADIR%%/rules/nicola/keymap/hiragana.json
%%DATADIR%%/rules/kzik/rom-kana/default.json
%%DATADIR%%/rules/kzik/keymap/hankaku-katakana.json
%%DATADIR%%/rules/kzik/keymap/hiragana.json
%%DATADIR%%/rules/kzik/keymap/katakana.json
%%DATADIR%%/rules/kzik/keymap/latin.json
%%DATADIR%%/rules/kzik/keymap/wide-latin.json
%%DATADIR%%/rules/kzik/metadata.json
%%DATADIR%%/rules/azik/keymap/hankaku-katakana.json
%%DATADIR%%/rules/azik/keymap/hiragana.json
%%DATADIR%%/rules/azik/keymap/katakana.json
%%DATADIR%%/rules/azik/keymap/latin.json
%%DATADIR%%/rules/azik/keymap/wide-latin.json
%%DATADIR%%/rules/azik/rom-kana/default.json
%%DATADIR%%/rules/azik/metadata.json
%%DATADIR%%/rules/default/rom-kana/default.json
%%DATADIR%%/rules/default/metadata.json
%%DATADIR%%/rules/default/keymap/default.json
%%DATADIR%%/rules/default/keymap/hankaku-katakana.json
%%DATADIR%%/rules/default/keymap/hiragana.json
%%DATADIR%%/rules/default/keymap/katakana.json
%%DATADIR%%/rules/default/keymap/latin.json
%%DATADIR%%/rules/default/keymap/wide-latin.json
%%DATADIR%%/rules/README.rules
%%DATADIR%%/rules/act/rom-kana/default.json
%%DATADIR%%/rules/act/metadata.json
%%DATADIR%%/rules/act/keymap/default.json
%%DATADIR%%/rules/act/keymap/hankaku-katakana.json
%%DATADIR%%/rules/act/keymap/hiragana.json
%%DATADIR%%/rules/act/keymap/katakana.json
%%DATADIR%%/rules/act/keymap/latin.json
%%DATADIR%%/rules/act/keymap/wide-latin.json
@dirrmtry %%DATADIR%%/rules/tutcode/rom-kana
@dirrmtry %%DATADIR%%/rules/tutcode/keymap
@dirrmtry %%DATADIR%%/rules/tutcode-touch16x/rom-kana
@dirrmtry %%DATADIR%%/rules/tutcode-touch16x/keymap
@dirrmtry %%DATADIR%%/rules/tutcode-touch16x
@dirrmtry %%DATADIR%%/rules/tutcode
@dirrmtry %%DATADIR%%/rules/trycode/rom-kana
@dirrmtry %%DATADIR%%/rules/trycode/keymap
@dirrmtry %%DATADIR%%/rules/trycode
@dirrmtry %%DATADIR%%/rules/tcode/rom-kana
@dirrmtry %%DATADIR%%/rules/tcode/keymap
@dirrmtry %%DATADIR%%/rules/tcode
@dirrmtry %%DATADIR%%/rules/nicola/rom-kana
@dirrmtry %%DATADIR%%/rules/nicola/keymap
@dirrmtry %%DATADIR%%/rules/nicola
@dirrmtry %%DATADIR%%/rules/kzik/rom-kana
@dirrmtry %%DATADIR%%/rules/kzik/keymap
@dirrmtry %%DATADIR%%/rules/kzik
@dirrmtry %%DATADIR%%/rules/default/rom-kana
@dirrmtry %%DATADIR%%/rules/default/keymap
@dirrmtry %%DATADIR%%/rules/default
@dirrmtry %%DATADIR%%/rules/azik/rom-kana
@dirrmtry %%DATADIR%%/rules/azik/keymap
@dirrmtry %%DATADIR%%/rules/azik
@dirrmtry %%DATADIR%%/rules/act/rom-kana
@dirrmtry %%DATADIR%%/rules/act/keymap
@dirrmtry %%DATADIR%%/rules/act
@dirrmtry %%DATADIR%%/rules
@dirrmtry %%DATADIR%%
@dirrmtry lib/locale/ja/LC_MESSAGES
@dirrmtry lib/locale/ja
@dirrmtry lib/locale
@dirrmtry include/libskk