1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
22 DESCRIPTION="Dutch dictionaries for myspell/hunspell"
23 HOMEPAGE="https://www.opentaal.org"
24 # Thesarus is not versioned at all, I suppose we could bump it with each dict
25 # release, or when people say that the download uri checksum changed.
27 https://www.opentaal.org/bestanden/license_result/20-woordenlijst-v-${PV//./}-voor-openofficeorg-3?bid=20&agree=1 -> ${P}.oxt
28 https://data.opentaal.org/opentaalbank/thesaurus/download/thes_nl.oxt -> ${P}_thes.oxt
31 LICENSE="BSD-2 CC-BY-3.0"
33 KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86"
38 # rename terroritory specific to just language, bug #607080
39 mv nl_NL.aff nl.aff || die
40 mv nl_NL.dic nl.dic || die
41 mv hyph_nl_NL.dic hyph_nl.dic || die
43 # remove dutch translated license so it aint installed
48 myspell-r2_src_install
50 # make language_territory locale format symlinks to base language files, bug #699660
51 dosym ../hunspell/nl.aff /usr/share/myspell/nl_NL.aff
52 dosym ../hunspell/nl.dic /usr/share/myspell/nl_NL.dic
53 dosym ../hyphen/hyph_nl.dic /usr/share/myspell/hyph_nl_NL.dic
54 dosym ../mythes/th_nl_v2.dat /usr/share/myspell/th_nl_NL_v2.dat
55 dosym ../mythes/th_nl_v2.idx /usr/share/myspell/th_nl_NL_v2.idx
58 dosym ../hunspell/nl.aff /usr/share/myspell/nl_BE.aff
59 dosym ../hunspell/nl.dic /usr/share/myspell/nl_BE.dic
60 dosym ../hyphen/hyph_nl.dic /usr/share/myspell/hyph_nl_BE.dic
61 dosym ../mythes/th_nl_v2.dat /usr/share/myspell/th_nl_BE_v2.dat
62 dosym ../mythes/th_nl_v2.idx /usr/share/myspell/th_nl_BE_v2.idx