summaryrefslogtreecommitdiff
blob: 5c9194cced14b713a451e5af6de91b62dd27b909 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/ispell-es/ispell-es-1.7.ebuild,v 1.1 2002/12/03 07:15:39 seemant Exp $

MY_P="espanol-"${PV}
S=${WORKDIR}/${MY_P/n/~n}
DESCRIPTION="A Spanish dictionary for ispell"
SRC_URI="ftp://ftp.fi.upm.es/pub/unix/${MY_P}.tar.gz"
HOMEPAGE="http://www.datsi.fi.upm.es/~coes/"

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

DEPEND="app-text/ispell"

src_compile() {
	
	# It's important that we export the TMPDIR environment variable,
	# so we don't commit sandbox violations
	export TMPDIR=/tmp
	emake || die
	unset TMPDIR

}

src_install () {
	
	insinto /usr/lib/ispell
	doins espa~nol.aff espa~nol.hash
	fperms 444 /usr/lib/ispell/espa~nol.*
	dodoc LEAME README
}

pkg_postinst() {

	einfo "If you are using pspell for spell in some app, like"
	einfo "abiword, you need create the file:"
	einfo "  /usr/share/pspell/es-ispell.pwli"
	einfo "And add in:"
	einfo "  /usr/lib/ispell/espa~nol.hash iso8859-1"
}