summaryrefslogtreecommitdiff
path: root/app-dicts/ipadic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-dicts/ipadic
reinit the tree, so we can have metadata
Diffstat (limited to 'app-dicts/ipadic')
-rw-r--r--app-dicts/ipadic/Manifest6
-rw-r--r--app-dicts/ipadic/files/ipadic-2.7.0-r2-gentoo.patch30
-rw-r--r--app-dicts/ipadic/ipadic-2.7.0-r2.ebuild30
-rw-r--r--app-dicts/ipadic/metadata.xml11
4 files changed, 77 insertions, 0 deletions
diff --git a/app-dicts/ipadic/Manifest b/app-dicts/ipadic/Manifest
new file mode 100644
index 000000000000..d50fdd047865
--- /dev/null
+++ b/app-dicts/ipadic/Manifest
@@ -0,0 +1,6 @@
+AUX ipadic-2.7.0-r2-gentoo.patch 896 SHA256 c8a0180cd5cd1dddab2aaff4f193454e9fe8b0a42691fbc5160778030e8c6bf8 SHA512 0e6fa8f84c978c96d0fe8eebbda3166d298fa9709eec8025025e5705db04d08b3e7581f9341dad84808dba52c6dac2498743a4514701fa74289608287f3b2a82 WHIRLPOOL 6d11907273f05987171d5d57fda2d11dfbf8aa43c976fedbb60c07fa422d6187a9ebc8a26a25ac7a43e7760200c8797739542dda2c1ab9719a3d3c46b135acb5
+DIST ipadic-2.7.0.tar.gz 4300102 SHA256 ba2744cc16142159b330075e13eed4565908915ac95a790d38dea540e0963c1c SHA512 0c4617733d3a786f4a9d0773c50cd76da5433921dc4eb4f759b8b3c0fd3c0db411696068ee795a893063e1a7ab1bdb6afc740331c5fdd2c3ebc914324f4e33c3 WHIRLPOOL 95998a03c3cb0d5162028723e55afb400b58f1db8d52e44bc91d58007609cb57410bf8bf5b32bd623c67b417203dc0b0d474e8c0f9e639ada8c566ef83f29dd7
+EBUILD ipadic-2.7.0-r2.ebuild 613 SHA256 1175199c612e266bd8b5505ed0d4b9b320d4aeaced66be160c09ba87209e575e SHA512 a546f27a9757f5859344b6d9e6b2a2a9cd60421f360bd5e7f866993c7986ad807992ca30b52f47995e1ba0ddb8f9b49f8a58062b01f3c6a08425a010a7e19418 WHIRLPOOL 968c6a06b807eccbc02eb7a04451049675c858591fbb0a1ea49f6e2989053b5707b69a3e0403592fe0fb55eadf60c1f0e98741ac3dd25c1899b5fb57252671dd
+MISC ChangeLog 2728 SHA256 36f0413f62b575f26f556764c2183ee957cfd153d85c4958f2d3c1b32493de8f SHA512 f67bb4d1695a957636e78ed234cbbe913349151deeb35b0f2944f704636a3068694f20eae2551406256553e6dd2f36c04ffd5ab852c563ea88fe948477c98a47 WHIRLPOOL 338c0967b10a24321416cbea24e603cbbd5dbd2805555bb2a537917aa840f29df70f16590dad3d2bab6e6ac34a8b3ce6f8e79098aaa068c57d1377ca1102fede
+MISC ChangeLog-2015 3689 SHA256 f05d4b9c1f80a0180a2515c8c94631ed1e21203f6cdfd1dcbc429caa1814a85e SHA512 cf9d8709c99c87877d2e452dea32febd75aaa66512318fb33edbbc61ba463c43cfd653e55beb6e3c7cbf782c06cdf7c8ef22ab5de5d3703f524d1780b2b016d7 WHIRLPOOL 4028407ed4626576d73ea7fcb73ad210a6a5974d281f6f7c2a3e7055299e4fba957140782cf9b29122ca1e0836a70fbf40485a4216aaf9ac3422bc2af91b27da
+MISC metadata.xml 313 SHA256 3e864cd99ecafad449744c3aa75a77601f80e49132f63ec03affc85964a7ecac SHA512 3319aeaacecbac0b8005dc910cfbb7357d068d920c739230fbeb61b1653d433efcadad1d07674d01ff092d9cbf8cd4f11ee317234b44b747bef6cf2fa0b1132b WHIRLPOOL e599f12c782aab56519de26135848b8a5a9d61a1d21cf763e013a24c00dbedd9d0966cae84dfd5060862ec7ec619c56f86d6c0b630d77baac9ddc58437acdaf2
diff --git a/app-dicts/ipadic/files/ipadic-2.7.0-r2-gentoo.patch b/app-dicts/ipadic/files/ipadic-2.7.0-r2-gentoo.patch
new file mode 100644
index 000000000000..8c701a363ec5
--- /dev/null
+++ b/app-dicts/ipadic/files/ipadic-2.7.0-r2-gentoo.patch
@@ -0,0 +1,30 @@
+diff -Naur ipadic-2.7.0.orig/Makefile.am ipadic-2.7.0/Makefile.am
+--- ipadic-2.7.0.orig/Makefile.am 2003-09-13 14:37:17.000000000 +0900
++++ ipadic-2.7.0/Makefile.am 2011-09-02 11:03:33.044589641 +0900
+@@ -11,18 +11,18 @@
+ EXTRA_DIST = $(pre_data) $(lexical_dic) $(manual_files) @PACKAGE@.spec
+ CLEANFILES = $(gen_data)
+ #
+-matrix.cha table.cha:
++matrix.cha table.cha chadic.lex chadic.dat:
+ $(MKDICDIR)/makemat
+
+-chadic.da:
++chadic.da: table.cha
+ $(MKDICDIR)/makeda chadic *.dic
+
+-install-data-local:
+- if test -f @CHASEN_CHASENRC_PATH@ ; then \
+- echo "Please modify @CHASEN_CHASENRC_PATH@"; \
+- else \
+- cp chasenrc @CHASEN_CHASENRC_PATH@ ;\
+- fi
++#install-data-local:
++# if test -f @CHASEN_CHASENRC_PATH@ ; then \
++# echo "Please modify @CHASEN_CHASENRC_PATH@"; \
++# else \
++# cp chasenrc @CHASEN_CHASENRC_PATH@ ;\
++# fi
+
+ sjis-dist: dist
+ gtar xzvf ipadic-@VERSION@.tar.gz
diff --git a/app-dicts/ipadic/ipadic-2.7.0-r2.ebuild b/app-dicts/ipadic/ipadic-2.7.0-r2.ebuild
new file mode 100644
index 000000000000..5c5669004c10
--- /dev/null
+++ b/app-dicts/ipadic/ipadic-2.7.0-r2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+inherit autotools eutils
+
+DESCRIPTION="Japanese dictionary for ChaSen"
+HOMEPAGE="http://sourceforge.jp/projects/ipadic/"
+SRC_URI="mirror://sourceforge.jp/${PN}/24435/${P}.tar.gz"
+
+LICENSE="ipadic"
+KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=app-text/chasen-2.3.1"
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}/${PF}-gentoo.patch"
+ eautoreconf
+}
+
+src_install () {
+ default
+
+ insinto /etc
+ doins chasenrc
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/app-dicts/ipadic/metadata.xml b/app-dicts/ipadic/metadata.xml
new file mode 100644
index 000000000000..96adbff6dce0
--- /dev/null
+++ b/app-dicts/ipadic/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="sourceforge-jp">ipadic</remote-id>
+ </upstream>
+</pkgmetadata>