summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-07-12 21:30:05 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-07-12 21:30:05 +0900
commita992b12f83d2fbd6dc186fe09faad9418c7357d4 (patch)
tree4418dc4ab9a62515e9a83e6a3b83f18669f697a5 /app-dicts
parentapp-forensics/afl: Version bump to 2.46b (diff)
downloadgentoo-a992b12f83d2fbd6dc186fe09faad9418c7357d4.tar.gz
gentoo-a992b12f83d2fbd6dc186fe09faad9418c7357d4.tar.bz2
gentoo-a992b12f83d2fbd6dc186fe09faad9418c7357d4.zip
app-dicts/canna-2ch: fix install
Gentoo-Bug: 588238 Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-dicts')
-rw-r--r--app-dicts/canna-2ch/canna-2ch-20030827.ebuild11
-rw-r--r--app-dicts/canna-2ch/canna-2ch-20040519.ebuild13
-rw-r--r--app-dicts/canna-2ch/files/052ch.dics.dir2
3 files changed, 12 insertions, 14 deletions
diff --git a/app-dicts/canna-2ch/canna-2ch-20030827.ebuild b/app-dicts/canna-2ch/canna-2ch-20030827.ebuild
index 66ea9b034917..2cd3b357a3e3 100644
--- a/app-dicts/canna-2ch/canna-2ch-20030827.ebuild
+++ b/app-dicts/canna-2ch/canna-2ch-20030827.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit cannadic eutils
DESCRIPTION="Japanese Canna dictionary for 2channelers"
-HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna/"
+HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna"
SRC_URI="mirror://gentoo/${P}.tar.gz"
#SRC_URI="http://omaemona.sourceforge.net/packages/Canna/2ch.t"
@@ -15,11 +15,10 @@ IUSE="canna"
DEPEND="canna? ( app-i18n/canna )"
RDEPEND=""
-# You cannot use 2ch.cbd as its name. Canna doesn't load dictionaries
-# if the name begins with number. (I don't know why ...)
-CANNADICS="2ch"
+S="${WORKDIR}/${PN}"
-S=${WORKDIR}/${PN}
+CANNADICS="2ch"
+DICSDIRFILE="${FILESDIR}/052ch.dics.dir"
src_unpack() {
unpack ${A}
diff --git a/app-dicts/canna-2ch/canna-2ch-20040519.ebuild b/app-dicts/canna-2ch/canna-2ch-20040519.ebuild
index 49909fa31087..f74c01b6acf3 100644
--- a/app-dicts/canna-2ch/canna-2ch-20040519.ebuild
+++ b/app-dicts/canna-2ch/canna-2ch-20040519.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit cannadic eutils
DESCRIPTION="Japanese Canna dictionary for 2channelers"
-HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna/"
+HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna"
SRC_URI="https://dev.gentoo.org/~naota/files/${P}.tar.gz"
#SRC_URI="http://omaemona.sourceforge.net/packages/Canna/2ch.t"
@@ -15,13 +15,10 @@ IUSE="canna"
DEPEND="canna? ( app-i18n/canna )"
RDEPEND=""
-# You cannot use 2ch.cbd as its name. Canna doesn't load dictionaries
-# if the name begins with number. (I don't know why ...)
-CANNADICS="2ch"
-
-DOCS=""
+S="${WORKDIR}/${PN}"
-S=${WORKDIR}/${PN}
+CANNADICS="2ch"
+DICSDIRFILE="${FILESDIR}/052ch.dics.dir"
src_compile() {
# Anthy users do not need binary dictionary
diff --git a/app-dicts/canna-2ch/files/052ch.dics.dir b/app-dicts/canna-2ch/files/052ch.dics.dir
new file mode 100644
index 000000000000..1ddc85d64336
--- /dev/null
+++ b/app-dicts/canna-2ch/files/052ch.dics.dir
@@ -0,0 +1,2 @@
+nichan.cbd(nichan.mwd) -2ch---
+nichan.cld(nichan.mwd) -2ch---