summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/link-grammar/ChangeLog11
-rw-r--r--dev-libs/link-grammar/Manifest14
-rw-r--r--dev-libs/link-grammar/link-grammar-4.7.2.ebuild49
-rw-r--r--dev-libs/link-grammar/metadata.xml6
4 files changed, 71 insertions, 9 deletions
diff --git a/dev-libs/link-grammar/ChangeLog b/dev-libs/link-grammar/ChangeLog
index 5b97209af3c1..e12174ba5797 100644
--- a/dev-libs/link-grammar/ChangeLog
+++ b/dev-libs/link-grammar/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/link-grammar
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/link-grammar/ChangeLog,v 1.28 2010/03/23 14:00:43 pacho Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/link-grammar/ChangeLog,v 1.29 2011/02/04 10:45:58 pacho Exp $
+
+*link-grammar-4.7.2 (04 Feb 2011)
+
+ 04 Feb 2011; Pacho Ramos <pacho@gentoo.org> +link-grammar-4.7.2.ebuild,
+ metadata.xml:
+ Version bump, thanks a lot to Tim Harder for his help in bug #340217. Move to
+ gnome-office.
23 Mar 2010; Pacho Ramos <pacho@gentoo.org> link-grammar-4.2.4-r1.ebuild:
Fix HOMEPAGE, thanks to John Keeping for noticing in bug 310873. Also make
diff --git a/dev-libs/link-grammar/Manifest b/dev-libs/link-grammar/Manifest
index e3df2b1e8969..a6a363c1820f 100644
--- a/dev-libs/link-grammar/Manifest
+++ b/dev-libs/link-grammar/Manifest
@@ -3,13 +3,15 @@ Hash: SHA1
AUX link-grammar-4.2.4-tokenize.patch 3066 RMD160 964f1051ac5e5c9bbc9d09e481e1fc5c09b0ebba SHA1 3de415726604a2cebe096275182e558867da5d69 SHA256 cc21de0f149c9cfb0a8c7b9516c8ce4c8c60bfd661724551ae2dc54a62e1293e
DIST link-grammar-4.2.4.tar.gz 741007 RMD160 40cdb470201a3c935c53670534613e1fdddf7c3c SHA1 68a3308f8ebe02231094e542d509f46376ad299b SHA256 e28cf49636d83c8faf487718c913d8fc9d01a54c1c63dc9cd995f4e669a4a740
+DIST link-grammar-4.7.2.tar.gz 1214429 RMD160 a3b474c7f237821ef25f0be112b0adb3b8cf3c33 SHA1 920ae1bbeb3475e09e419ace5056dac4646ca6e5 SHA256 3342f02c23f6642f3c95fdc85c3bdfb710d7c39045ab14a895687c4147434c7f
EBUILD link-grammar-4.2.4-r1.ebuild 841 RMD160 01b7b614c6438652ec789aaf43e7aedc85bcc116 SHA1 207fd9af083ae3d89a154a43f1e8b3ec1d51e744 SHA256 0930f623ba314aef7bded8daa1d8cdf0f6a73ddfeb0989e21113d8aea7da39b1
-MISC ChangeLog 4030 RMD160 a05cf3f02e51e60dc274b5552d02a602daed4894 SHA1 8b5bb45e36e845e925c9b6a36921636e7599efaf SHA256 ef8decc4152d653f086db50d8dd2253585c731d13b1d485c6c17e0375b0059e5
-MISC metadata.xml 418 RMD160 fe69262ad1be9ac510e287841b5030d7013bfb1a SHA1 84fefc8bd5937c47b71b93fa19573117ef07e487 SHA256 2d2e4426daee0ffffb952b26184a449349dfe54ee9c16a88214a531d56b5b319
+EBUILD link-grammar-4.7.2.ebuild 1445 RMD160 05e5eeb4cbf26a6c03bf1e9ff4cc3910c15855ab SHA1 bec2cc084ca6d175f301a3421988af92546c8610 SHA256 ed3e8bf6ca22444bcd1df56859224faf7863d7752266858dedd08587c6059d00
+MISC ChangeLog 4252 RMD160 abf5ba051c995a6ab5915cf7cd61169916cbf0ce SHA1 77aeb80f840b036454fbdcc2e976ad84dec36b9c SHA256 80bf297704ba5d97c606423177ad949c14ef79582ac7298df561f6fb485798b7
+MISC metadata.xml 618 RMD160 2340b1bd64f510ca36a4ce721d62a4e6cc0043ce SHA1 c3ffb7a97006a6b3b9a3168269fc31b20ec380f9 SHA256 cfdb69d26897959029ed42c3561c2503ccc78ffda281d68aaef6e3402d0b7565
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkuoyZYACgkQCaWpQKGI+9Sm0gCeIGvmFMsYYeCh14/lfpmbX4XO
-b2oAnAnvjTFsGCQ5x8BJkvvkzYbH2Jsj
-=yoUE
+iEYEARECAAYFAk1L2OwACgkQCaWpQKGI+9SKGACfQyg5lkeHCFhvASKhQ4II3jMg
+Mc4An1mwZAJuUT0AVxwWkcW7hs+ClEE5
+=cEYE
-----END PGP SIGNATURE-----
diff --git a/dev-libs/link-grammar/link-grammar-4.7.2.ebuild b/dev-libs/link-grammar/link-grammar-4.7.2.ebuild
new file mode 100644
index 000000000000..da358c22b148
--- /dev/null
+++ b/dev-libs/link-grammar/link-grammar-4.7.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/link-grammar/link-grammar-4.7.2.ebuild,v 1.1 2011/02/04 10:45:58 pacho Exp $
+
+EAPI="3"
+
+inherit java-pkg-opt-2
+
+DESCRIPTION="Link Grammar Parser is a syntactic English parser based on
+link grammar."
+HOMEPAGE="http://www.link.cs.cmu.edu/link/"
+SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+# Set the same default as used in app-text/enchant
+IUSE="aspell +hunspell java static-libs threads"
+
+DEPEND="aspell? ( app-text/aspell )
+ hunspell? ( app-text/hunspell )
+ java? ( >=virtual/jdk-1.5 )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ java-pkg-opt-2_pkg_setup
+ if use aspell && use hunspell; then
+ ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist,"
+ ewarn "only aspell will be build. Press Ctrl+C and set only 'hunspell' USE flag if"
+ ewarn "you want hunspell support."
+ fi
+}
+
+src_configure() {
+ econf \
+ --enable-shared \
+ $(use_enable aspell) \
+ $(use_enable hunspell) \
+ $(use_with hunspell hunspell-dictdir=/usr/share/myspell) \
+ $(use_enable java java-bindings) \
+ $(use_enable static-libs static) \
+ $(use_enable threads pthreads)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS ChangeLog README || die
+}
diff --git a/dev-libs/link-grammar/metadata.xml b/dev-libs/link-grammar/metadata.xml
index 72734f98388a..799d5bac3ffa 100644
--- a/dev-libs/link-grammar/metadata.xml
+++ b/dev-libs/link-grammar/metadata.xml
@@ -1,10 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>gnome</herd>
+ <herd>gnome-office</herd>
<longdescription lang="en">
The Link Grammar Parser is a syntactic parser of English, based on link
grammar, an original theory of English syntax. The system is written in
generic C code, and runs on any platform with a C compiler.
</longdescription>
+ <use>
+ <flag name="aspell">Adds support for <pkg>app-text/aspell</pkg> spell checker</flag>
+ <flag name="hunspell">Adds support for <pkg>app-text/hunspell</pkg> spell checker</flag>
+ </use>
</pkgmetadata>