/[gentoo-x86]/app-dicts/gjiten/gjiten-2.6-r3.ebuild
Gentoo

Contents of /app-dicts/gjiten/gjiten-2.6-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Oct 18 14:28:50 2014 UTC (5 years ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Stable for ppc, wrt bug #516674

(Portage version: 2.2.8-r2/cvs/Linux x86_64, RepoMan options: --include-arches="ppc", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-dicts/gjiten/gjiten-2.6-r3.ebuild,v 1.3 2014/10/12 08:47:49 ago Exp $
4
5 EAPI="5"
6 GCONF_DEBUG="no"
7
8 inherit autotools eutils gnome2 readme.gentoo
9
10 DESCRIPTION="A Japanese dictionary program for Gnome"
11 HOMEPAGE="http://gjiten.sourceforge.net/"
12 SRC_URI="http://gjiten.sourceforge.net/${P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86"
17 IUSE=""
18
19 RESTRICT="test"
20
21 RDEPEND="
22 >=gnome-base/libgnome-2.2
23 >=gnome-base/libgnomeui-2.2
24 >=gnome-base/libglade-2
25 "
26 DEPEND="${RDEPEND}
27 app-text/rarian
28 dev-util/intltool
29 app-text/xmlto
30 app-text/docbook-xml-dtd:4.1.2
31 virtual/pkgconfig
32 "
33
34 DISABLE_AUTOFORMATTING="yes"
35 DOC_CONTENTS="Dictionary files are necessary in order for
36 Gjiten to function.
37
38 Download dictionary files from:
39 http://ftp.cc.monash.edu.au/pub/nihongo/00INDEX.html#dic_fil
40
41 You need kanjidic and edict at a minimum. Dictionary files
42 must be converted to UTF-8 format - check the Gjiten help
43 and README files for details.
44
45 A shell script is available from
46 the Gjiten homepage(${HOMEPAGE}) to
47 download and convert the dictionary files, but you need
48 to put the files in /usr/share/gjiten after running the script."
49
50 src_prepare() {
51 DOCS="AUTHORS BUGS ChangeLog NEWS README TODO"
52
53 epatch "${FILESDIR}"/${P}-pref.patch
54 epatch "${FILESDIR}"/${P}-drop-gnome.patch
55 epatch "${FILESDIR}"/${P}-desktop.patch
56
57 AM_OPTS="--foreign" eautoreconf
58 gnome2_src_prepare
59 }
60
61 src_install() {
62 gnome2_src_install
63 readme.gentoo_create_doc
64 }
65
66 pkg_postinst() {
67 gnome2_pkg_postinst
68 readme.gentoo_print_elog
69 }

  ViewVC Help
Powered by ViewVC 1.1.20