blob: 8377600685c49080f306be5b4a166bd924dba619 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild,v 1.5 2005/11/20 21:12:59 grobian Exp $
inherit distutils
IUSE=""
DESCRIPTION="A checker for English grammars, for people who are not English natives."
HOMEPAGE="http://queequeg.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
RESTRICT="nomirror"
LICENSE="GPL-2"
KEYWORDS="~ppc-macos ~x86"
SLOT="0"
DEPEND=">=dev-lang/python-2.2
app-dicts/wordnet"
src_compile() {
emake dict WORDNETDICT=/usr/share/wordnet/dict || die
}
src_install() {
python_version
local PREFIX=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
dodir /usr/bin ${PREFIX}
insinto ${PREFIX}
doins *.py
[ -f "dict.txt" ] && doins dict.txt || doins dict.cdb
exeinto ${PREFIX}
doexe *.py qq
dosym ${PREFIX}/qq /usr/bin/qq
dodoc COPYING README TODO
dohtml htdocs/*
}
|