summaryrefslogtreecommitdiff
blob: 5e229c0ccdd18ffbaa053544eaf011acc675baa3 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/pydict/pydict-0.2.5.1.ebuild,v 1.11 2005/04/24 03:26:38 hansmi Exp $

DESCRIPTION="Chinese-English / English-Chinese dictionary"
HOMEPAGE="http://sourceforge.net/projects/pydict"
SRC_URI="mirror://sourceforge/pydict/pyDict-${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE=""

DEPEND="virtual/python
	=dev-python/pygtk-0.6*"

S="${WORKDIR}/dict"

src_install() {
	dodoc CHANGELOG README
	insinto /usr/X11R6/lib/X11/pyDict
	doins [a-z].lib yaba.xpm HELP
	if [ -d ${ROOT}/usr/share/gnome/apps/Chinese ]; then
		insinto /usr/share/gnome/apps/Chinese
		doins pyDict.desktop
	fi
	if [ -d ${ROOT}/usr/share/icons ] ; then
		insinto /usr/share/icons
		doins dict.xpm
	fi
	into /usr/X11R6
	newbin dict.py pydict
}