summaryrefslogtreecommitdiff
path: root/app-dicts/wnn-ldic
diff options
context:
space:
mode:
Diffstat (limited to 'app-dicts/wnn-ldic')
-rw-r--r--app-dicts/wnn-ldic/Manifest3
-rw-r--r--app-dicts/wnn-ldic/metadata.xml8
-rw-r--r--app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild39
3 files changed, 50 insertions, 0 deletions
diff --git a/app-dicts/wnn-ldic/Manifest b/app-dicts/wnn-ldic/Manifest
new file mode 100644
index 000000000000..ac1c0f44e335
--- /dev/null
+++ b/app-dicts/wnn-ldic/Manifest
@@ -0,0 +1,3 @@
+DIST ldic-1.04-wnn.txt 333702 BLAKE2B 88340da9f4456b338f291c52b110d2507f0ce40a25fbed2793bbcc7cb9f0b5d1e780584c2b24238fbd13f76d0a0b205668ae44aedbff255d97576b4a41a7c0c6 SHA512 26e44e5163b72f99f7aae9fdfd8f57ba8c117764bdeeebd78ca092352532197a99e7e9ca57efc59dc37114713314bc1bc0fa5fa179b708542af381d6e09cfc89
+EBUILD wnn-ldic-1.04.ebuild 843 BLAKE2B 111b102747e9712efa52d8d8e3c32e89f38e081415025e71f861128eb568cd3aa111fd021e4a97aca5eb53e301fed71534e7ac847ecf95a154b9d30532d48ebc SHA512 6ae9ae70d927f1496e7a5d023cbf6e3f15ff07859c5e0b1e64aeba68d07c42756ad2b077072682a57034d5953f3985890d43bbaf513fabf7391eeff6f8a66e3d
+MISC metadata.xml 240 BLAKE2B 3e01f599fdbafa5c02b594007c673bcfcccb41559bd2f42d7ea60a1f13932335cecf353c1216e8feba4bb091385b57f05c4c8b3c62eed6c7bea41e308fc6115c SHA512 12aaa73d9b690de68a5c7b20e214ceb099efa87884b784eafd994f26032b44dcb66e7feac8a5b1df7f349ac05c5a198a7593dff2cc686de158cb21e4c54f38dd
diff --git a/app-dicts/wnn-ldic/metadata.xml b/app-dicts/wnn-ldic/metadata.xml
new file mode 100644
index 000000000000..e1a49f498885
--- /dev/null
+++ b/app-dicts/wnn-ldic/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild b/app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild
new file mode 100644
index 000000000000..9c3817297866
--- /dev/null
+++ b/app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="Wnn dictionary for librarian"
+#HOMEPAGE="http://www.tulips.tsukuba.ac.jp/misc/export/cat/ldic"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="mirror://gentoo/ldic-${PV}-wnn.txt"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-i18n/freewnn"
+S="${WORKDIR}"
+
+src_unpack() {
+ :
+}
+
+src_compile() {
+ local atod=atod
+ if has_version "<app-i18n/freewnn-1.1.1_alpha23"; then
+ atod="${EPREFIX}"/usr/bin/Wnn4/atod
+ fi
+ "${atod}" lib.dic < "${DISTDIR}"/${A} || die
+}
+
+src_install() {
+ insinto /usr/lib/wnn/ja_JP/dic/misc
+ doins lib.dic
+}
+
+pkg_postinst() {
+ elog "lib.dic is installed in ${EPREFIX}/usr/lib/wnn/ja_JP/dic/misc."
+ elog "You have to edit your wnnenvrc or eggrc to use it."
+}