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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Sep 16 17:42:21 2008 UTC (11 years, 2 months ago) by leio
Branch: MAIN
Changes since 1.1: +2 -1 lines
Fix build with newer intltool
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 x86_64)

1 matsuu 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 leio 1.2 # $Header: /var/cvsroot/gentoo-x86/app-dicts/gjiten/gjiten-2.6-r1.ebuild,v 1.1 2008/05/14 16:37:30 matsuu Exp $
4 matsuu 1.1
5     inherit autotools eutils gnome2
6    
7     DESCRIPTION="A Japanese dictionary program for Gnome"
8     HOMEPAGE="http://gjiten.sourceforge.net/"
9     SRC_URI="http://gjiten.sourceforge.net/${P}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13     KEYWORDS="~amd64 ~ppc ~x86"
14    
15     IUSE=""
16    
17     RDEPEND=">=gnome-base/libgnome-2.2
18     >=gnome-base/libgnomeui-2.2
19     >=gnome-base/libglade-2.0"
20     DEPEND="${RDEPEND}
21     app-text/scrollkeeper
22     >=dev-util/intltool-0.22
23     app-text/xmlto
24     dev-util/pkgconfig"
25    
26     DOCS="AUTHORS BUGS ChangeLog NEWS README TODO"
27    
28     src_unpack() {
29     gnome2_src_unpack
30     cd "${S}"
31     # bug #124631
32 leio 1.2 intltoolize --copy --automake --force || die "intltoolize failed"
33 matsuu 1.1 AM_OPTS="--foreign" eautoreconf
34     }
35    
36     pkg_postinst() {
37     elog
38     elog "Dictionary files are necessary in order for"
39     elog "Gjiten to function."
40     elog
41     elog "Download dictionary files from:"
42     elog "http://ftp.cc.monash.edu.au/pub/nihongo/00INDEX.html#dic_fil"
43     elog "You need kanjidic and edict at a minimum. Dictionary files"
44     elog "must be converted to UTF-8 format - check the Gjiten help"
45     elog "and README files for details."
46     elog
47     elog "A shell script is available from "
48     elog "the Gjiten homepage(${HOMEPAGE}) to"
49     elog "download and convert the dictionary files, but you need"
50     elog "to put the files in /usr/share/gjiten after running the script."
51     elog
52    
53     gnome2_pkg_postinst
54     }

  ViewVC Help
Powered by ViewVC 1.1.20