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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Nov 20 16:55:29 2014 UTC (4 years, 10 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Drop old (to also drop one of the last eapi0 consumers for gnome2.eclass)

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

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-r2.ebuild,v 1.2 2014/07/08 00:41:15 naota Exp $
4
5 EAPI=2
6 inherit autotools eutils gnome2
7
8 DESCRIPTION="A Japanese dictionary program for Gnome"
9 HOMEPAGE="http://gjiten.sourceforge.net/"
10 SRC_URI="http://gjiten.sourceforge.net/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~x86"
15 IUSE=""
16
17 RESTRICT="test"
18
19 RDEPEND=">=gnome-base/libgnome-2.2
20 >=gnome-base/libgnomeui-2.2
21 >=gnome-base/libglade-2"
22 DEPEND="${RDEPEND}
23 app-text/rarian
24 dev-util/intltool
25 app-text/xmlto
26 app-text/docbook-xml-dtd:4.1.2
27 virtual/pkgconfig"
28
29 DOCS="AUTHORS BUGS ChangeLog NEWS README TODO"
30
31 src_prepare() {
32 gnome2_src_prepare
33 epatch "${FILESDIR}"/${P}-pref.patch \
34 "${FILESDIR}"/${P}-drop-gnome.patch
35 # bug #124631
36 intltoolize --copy --automake --force || die "intltoolize failed"
37 AM_OPTS="--foreign" eautoreconf
38 }
39
40 pkg_postinst() {
41 elog
42 elog "Dictionary files are necessary in order for"
43 elog "Gjiten to function."
44 elog
45 elog "Download dictionary files from:"
46 elog "http://ftp.cc.monash.edu.au/pub/nihongo/00INDEX.html#dic_fil"
47 elog "You need kanjidic and edict at a minimum. Dictionary files"
48 elog "must be converted to UTF-8 format - check the Gjiten help"
49 elog "and README files for details."
50 elog
51 elog "A shell script is available from "
52 elog "the Gjiten homepage(${HOMEPAGE}) to"
53 elog "download and convert the dictionary files, but you need"
54 elog "to put the files in /usr/share/gjiten after running the script."
55 elog
56
57 gnome2_pkg_postinst
58 }

  ViewVC Help
Powered by ViewVC 1.1.20