diff options
Diffstat (limited to 'trunk/app-text/tmispell/tmispell-0.6.1.ebuild')
-rw-r--r-- | trunk/app-text/tmispell/tmispell-0.6.1.ebuild | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/trunk/app-text/tmispell/tmispell-0.6.1.ebuild b/trunk/app-text/tmispell/tmispell-0.6.1.ebuild deleted file mode 100644 index fb4196e..0000000 --- a/trunk/app-text/tmispell/tmispell-0.6.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils - -MY_P=${PN}-voikko-${PV} - -DESCRIPTION="Tmispell is interface between ispell OO.o Finnish spellcheckers." -SRC_URI="mirror://sourceforge/voikko/${MY_P}.tar.gz" -HOMEPAGE="http://www.hut.fi/~ptvirtan/programs/tmispell.html" -IUSE="enchant nls" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~amd64" - -DEPEND=">=app-text/ispell-3.2.06-r7 - !app-dicts/ispell-fi - app-text/voikko - >=dev-libs/glib-2.0.0 - nls? ( sys-devel/gettext ) - sys-apps/coreutils - sys-apps/sed - sys-devel/bison - sys-apps/miscfiles - >=sys-libs/ncurses-5.2" -RDEPEND=">=app-text/ispell-3.2.06-r7 - app-text/voikko - >=dev-libs/glib-2.0.0 - nls? ( sys-devel/gettext )" - -S="${WORKDIR}/${MY_P}" - -src_compile() { - econf $(use_enable enchant ) || die "econf failed" - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "install failed" - dodoc AUTHORS ChangeLog LUEMINUT NEWS README tmispell.conf.example - if [[ -d "${ROOT}/usr/lib/ispell" ]] ; then - dodir /usr/lib/ispell - touch "${D}/usr/lib/ispell/suomi.hash" "${D}/usr/lib/ispell/suomi.aff" - touch "${D}/usr/lib/ispell/finnish.hash" "${D}/usr/lib/ispell/finnish.aff" - elif [[ -d "${ROOT}/usr/share/ispell" ]] ; then - dodir /usr/share/ispell - touch "${D}/usr/share/ispell/suomi.hash" "${D}/usr/share/ispell/suomi.aff" - touch "${D}/usr/share/ispell/finnish.hash" "${D}/usr/share/ispell/suomi.aff" - fi - insinto /etc/ - newins "${FILESDIR}/tmispell.conf.gentoo" tmispell.conf - sed -i "s:/usr/bin:${ROOT}/usr/bin:g" "${D}/etc/tmispell.conf" - dosym /usr/bin/tmispell /usr/bin/ispell -} - -pkg_postrm() { - # FIXME: a bit bogus, because it warns on upgrades and whatnot - if has_version app-text/ispell ; then - elog "If you are removing tmispell AND leaving ispell you must" - elog "remerge ispell or do:" - elog " ln -s ${ROOT}/usr/bin/ispell.real ${ROOT}/usr/bin/ispell " - elog "for ispell to work" - fi -} |