blob: 9d7d091b89af71e4e3f965114850e8517f1ff063 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
MYSPELL_DICT=(
"nl_NL.aff"
"nl_NL.dic"
)
MYSPELL_HYPH=(
"hyph_nl_NL.dic"
)
MYSPELL_THES=(
"th_nl_NL_v2.dat"
"th_nl_NL_v2.idx"
)
inherit myspell-r2
DESCRIPTION="Dutch dictionaries for myspell/hunspell"
HOMEPAGE="http://opentaal.org/"
# Thesarus is not versioned at all, I suppose we could bump it with each dict
# release, or when people say that the download uri checksum changed.
SRC_URI="
http://opentaal.org/bestanden/license_result/20-woordenlijst-v-${PV//./}-voor-openofficeorg-3?bid=20&agree=1 -> ${P}.oxt
http://data.opentaal.org/opentaalbank/thesaurus/download/thes_nl.oxt -> ${P}_thes.oxt
"
LICENSE="BSD-2 CC-BY-3.0"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
src_prepare() {
# thesarus has ugly name
mv th_nl_v2.dat th_nl_NL_v2.dat || die
mv th_nl_v2.idx th_nl_NL_v2.idx || die
# remove dutch translated license so it aint installed
rm -rf licentie* || die
}
|