summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin F. Quinn <kevquinn@gentoo.org>2006-03-06 17:29:08 +0000
committerKevin F. Quinn <kevquinn@gentoo.org>2006-03-06 17:29:08 +0000
commit6e6166266fd7536a1b0be678c62d3f2b45c0a863 (patch)
tree3cfef55eae9999e545ad2588073e9df6faf78d2f /app-text/hunspell
parentVersion bump to the actual latest version. (diff)
downloadgentoo-2-6e6166266fd7536a1b0be678c62d3f2b45c0a863.tar.gz
gentoo-2-6e6166266fd7536a1b0be678c62d3f2b45c0a863.tar.bz2
gentoo-2-6e6166266fd7536a1b0be678c62d3f2b45c0a863.zip
Version bump; bug #125212
(Portage version: 2.0.54)
Diffstat (limited to 'app-text/hunspell')
-rw-r--r--app-text/hunspell/ChangeLog7
-rw-r--r--app-text/hunspell/Manifest12
-rw-r--r--app-text/hunspell/files/digest-hunspell-1.1.41
-rw-r--r--app-text/hunspell/hunspell-1.1.4.ebuild55
4 files changed, 64 insertions, 11 deletions
diff --git a/app-text/hunspell/ChangeLog b/app-text/hunspell/ChangeLog
index c9aec7e6c3b8..8d183ecc77f7 100644
--- a/app-text/hunspell/ChangeLog
+++ b/app-text/hunspell/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/hunspell
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.1 2006/01/29 13:35:10 kevquinn Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.2 2006/03/06 17:29:08 kevquinn Exp $
+
+*hunspell-1.1.4 (06 Mar 2006)
+
+ 06 Mar 2006; Kevin F. Quinn <kevquinn@gentoo.org> +hunspell-1.1.4.ebuild:
+ Version bump; bug #125212
*hunspell-1.1.3 (29 Jan 2006)
diff --git a/app-text/hunspell/Manifest b/app-text/hunspell/Manifest
index f6a389c22f4c..b051128de0f6 100644
--- a/app-text/hunspell/Manifest
+++ b/app-text/hunspell/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 fa4cca3d30be24ac00650a7ed4bc0232 ChangeLog 419
MD5 2ee23fc18433d16280f97a3d381ae78a files/digest-hunspell-1.1.3 66
+MD5 f68502846fc6d13abf7ca3c160d4fa45 files/digest-hunspell-1.1.4 66
MD5 1d6c3ebe073637dc68dc5b3036177cb5 files/hunspell-1.1.3-renameexes.patch 4612
MD5 6c27bd8351e45b24f183ddca92c7fba8 hunspell-1.1.3.ebuild 1710
+MD5 6c27bd8351e45b24f183ddca92c7fba8 hunspell-1.1.4.ebuild 1710
MD5 b86e3c93f969dbb4f433611cb0f6b0b0 metadata.xml 222
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFD3MZmZfNLSOUrp0sRAo0EAJ0T+eLqGYUDAZ+UJwlu+hSGa/u7/gCeL8De
-w4vf5w880GfDo4pyI3VjVRQ=
-=5HFG
------END PGP SIGNATURE-----
diff --git a/app-text/hunspell/files/digest-hunspell-1.1.4 b/app-text/hunspell/files/digest-hunspell-1.1.4
new file mode 100644
index 000000000000..d403a9d840ad
--- /dev/null
+++ b/app-text/hunspell/files/digest-hunspell-1.1.4
@@ -0,0 +1 @@
+MD5 4cf2dfb89dd58392ad5a1183c69eb628 hunspell-1.1.4.tar.gz 438667
diff --git a/app-text/hunspell/hunspell-1.1.4.ebuild b/app-text/hunspell/hunspell-1.1.4.ebuild
new file mode 100644
index 000000000000..b1ae62807f52
--- /dev/null
+++ b/app-text/hunspell/hunspell-1.1.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.1.4.ebuild,v 1.1 2006/03/06 17:29:08 kevquinn Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo."
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://hunspell.sourceforge.net/"
+
+SLOT="0"
+LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
+IUSE="ncurses readline"
+KEYWORDS="~x86"
+
+DEPEND="readline? ( sys-libs/readline )
+ ncurses? ( sys-libs/ncurses )
+ sys-devel/gettext"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e 's:tail +:tail -n +:' ${S}/tests/test.sh ||\
+ die "Failed to fix-up tail for POSIX compliance"
+ # Upstream package creates executables 'example', 'munch'
+ # and 'unmunch' which are too generic to be placed in
+ # /usr/bin - this patch prefixes them with 'hunspell-'.
+ # It modifies a Makefile.am file, hence autoreconf.
+ epatch ${FILESDIR}/hunspell-1.1.3-renameexes.patch
+ autoreconf
+}
+
+src_compile() {
+ # I wanted to put the include files in /usr/include/hunspell
+ # but this means the openoffice build won't find them.
+ econf \
+ $(use_with readline readline) \
+ $(use_with ncurses ui) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+ # hunspell is derived from myspell
+ dodoc AUTHORS.myspell README.myspell license.myspell
+}
+
+pkg_postinst() {
+ einfo "To use this package you will also need a dictionary."
+ einfo "Hunspell uses myspell format dictionaries; find them"
+ einfo "in the app-dicts category as myspell-<LANG>."
+}