diff options
Diffstat (limited to 'app-dicts/wordnet/wordnet-2.1.ebuild')
-rw-r--r-- | app-dicts/wordnet/wordnet-2.1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-dicts/wordnet/wordnet-2.1.ebuild b/app-dicts/wordnet/wordnet-2.1.ebuild new file mode 100644 index 000000000000..3e85e7400cc8 --- /dev/null +++ b/app-dicts/wordnet/wordnet-2.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-dicts/wordnet/wordnet-2.1.ebuild,v 1.1 2006/02/05 22:42:25 arj Exp $ + +inherit eutils + +DESCRIPTION="WordNet : a lexical database for the English language" +HOMEPAGE="http://wordnet.princeton.edu/" +SRC_URI="ftp://ftp.cogsci.princeton.edu/pub/wordnet/${PV}/WordNet-${PV}.tar.gz" +DEPEND="tcltk? ( dev-lang/tk )" +LICENSE="Princeton" +IUSE="tcltk" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86" +S=${WORKDIR}/WordNet-${PV} + +src_unpack() { + unpack $A + epatch $FILESDIR/Wordnet-2.1-dict-location.patch + cd "$S" + epatch $FILESDIR/Wordnet-2.1-compile-fix.patch +} + +src_compile() { + MAKEOPTS="-e" + PLATFORM=linux WN_ROOT=${T}/usr \ + WN_DICTDIR=${T}/usr/share/wordnet/dict \ + WN_MANDIR=${T}/usr/share/man \ + WN_DOCDIR=${T}/usr/share/doc/wordnet-${PV} \ + CFLAGS="${CFLAGS} -DUNIX -I${T}/usr/include" \ + econf || die "Configuration Failed" + emake || die "Make Failed" +} + +src_install() { + emake install DESTDIR=${D} || die "Install Failed" +} |