summaryrefslogtreecommitdiff
blob: e56d13418fccf9ddf7c5eccb7828ee52b5ebc17f (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# 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.2 2003/02/13 06:28:07 vapier Exp $

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

SLOT="0"
KEYWORDS="~x86"
DEPEND="virtual/python
        >=dev-python/pygtk-0.6.9"

S="${WORKDIR}/dict"

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