summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2016-05-13 21:42:36 +0900
committerAkinori Hattori <hattya@gentoo.org>2016-05-13 21:42:36 +0900
commit7bbe4ab1e99331352e9b43ba7503c49dd4096c62 (patch)
tree5d08e4a10cdc19af0af90fbbb2c7e8e63f47eaa0 /app-i18n
parentwww-client/chromium: Remove old (diff)
downloadgentoo-7bbe4ab1e99331352e9b43ba7503c49dd4096c62.tar.gz
gentoo-7bbe4ab1e99331352e9b43ba7503c49dd4096c62.tar.bz2
gentoo-7bbe4ab1e99331352e9b43ba7503c49dd4096c62.zip
app-i18n/skktools: initial import
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/skktools/Manifest1
-rw-r--r--app-i18n/skktools/files/50skktools-gentoo.el2
-rw-r--r--app-i18n/skktools/metadata.xml11
-rw-r--r--app-i18n/skktools/skktools-1.3.3_p20150901.ebuild68
4 files changed, 82 insertions, 0 deletions
diff --git a/app-i18n/skktools/Manifest b/app-i18n/skktools/Manifest
new file mode 100644
index 000000000000..eb15bda5a712
--- /dev/null
+++ b/app-i18n/skktools/Manifest
@@ -0,0 +1 @@
+DIST skktools-1.3.3_p20150901.tar.gz 483005 SHA256 24f26e76ba6321b43de69353ad2d33b59d5ecee724764e99c6383d9d4f9c9acf SHA512 dbb15068239158c31a706da2fd5afcb8514d088854bdd4f0d05bb8b9e10947cbdce584ff3698571d601e3b357a1ba11b4608f0457615062016862ac89fb91b83 WHIRLPOOL 81cd503de4d05bbab096628e357e0ced4a87cf4df87d7a0f380a8dbe0850fbd7f65d2f1bf249a6b5bf19fb6b1605d0796b6a9408c0fcd7b5ad700d069f396895
diff --git a/app-i18n/skktools/files/50skktools-gentoo.el b/app-i18n/skktools/files/50skktools-gentoo.el
new file mode 100644
index 000000000000..38b3fef99ca9
--- /dev/null
+++ b/app-i18n/skktools/files/50skktools-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'skk-convert-jisyo-to-xml "skk-xml" nil t)
diff --git a/app-i18n/skktools/metadata.xml b/app-i18n/skktools/metadata.xml
new file mode 100644
index 000000000000..32b1de9c163c
--- /dev/null
+++ b/app-i18n/skktools/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">skk-dev/skktools</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-i18n/skktools/skktools-1.3.3_p20150901.ebuild b/app-i18n/skktools/skktools-1.3.3_p20150901.ebuild
new file mode 100644
index 000000000000..b53608762fdb
--- /dev/null
+++ b/app-i18n/skktools/skktools-1.3.3_p20150901.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit elisp-common vcs-snapshot
+
+EGIT_COMMIT="28e36bac97dc8ed089bac409bef15f1831b6adde"
+
+DESCRIPTION="SKK utilities to manage dictionaries"
+HOMEPAGE="http://openlab.jp/skk/"
+SRC_URI="https://github.com/skk-dev/skktools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs"
+
+RDEPEND="dev-libs/glib:2
+ sys-libs/gdbm
+ emacs? ( virtual/emacs )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( ChangeLog README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf --with-gdbm
+}
+
+src_compile() {
+ default
+
+ if use emacs; then
+ elisp-compile *.el
+ fi
+}
+
+src_install() {
+ default
+ dodoc READMEs/*
+
+ local d
+ for d in convert2skk filters; do
+ newdoc ${d}/README.md README.${d}
+ rm -f ${d}/README.md
+ done
+
+ insinto /usr/share/${PN}
+ doins *.awk *.scm
+ rm -rf convert2skk/obsolete
+ doins -r convert2skk filters
+
+ if use emacs; then
+ elisp-install ${PN} *.el{,c}
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}