# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-kdehelper/uim-kdehelper-0.1.0.ebuild,v 1.2 2005/01/01 14:42:47 eradicator Exp $ DESCRIPTION="Qt replacement of toolbar, system tray, applet and candidate window for UIM library." HOMEPAGE="http://uim.freedesktop.org/Software/uim-kdehelper" SRC_URI="http://freedesktop.org/~kzk/uim-kdehelper/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="app-i18n/uim >=x11-libs/qt-3.2" S="${WORKDIR}/${PN}" src_compile() { addwrite /usr/qt/3/etc/settings econf || die "econf failed." emake || die "make failed." } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS } pkg_postinst() { einfo einfo "If you want to use uim-candwin-qt instead of gtk one," einfo "set UIM_CANDWIN_PROG to uim-candwin-qt." einfo "% export UIM_CANDWIN_PROG=\"uim-candwin-qt\" (bash)" einfo "> setenv UIM_CANDWIN_PROG \"uim-candwin-qt\" (csh)" einfo }