diff options
Diffstat (limited to 'app-i18n/skim/skim-1.0.1.ebuild')
-rw-r--r-- | app-i18n/skim/skim-1.0.1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-i18n/skim/skim-1.0.1.ebuild b/app-i18n/skim/skim-1.0.1.ebuild new file mode 100644 index 000000000000..e0ec50b42940 --- /dev/null +++ b/app-i18n/skim/skim-1.0.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/skim/skim-1.0.1.ebuild,v 1.1 2004/09/29 15:02:35 usata Exp $ + +DESCRIPTION="Smart Common Input Method (SCIM) optimized for KDE" +HOMEPAGE="http://scim.freedesktop.org/Software/ScimKDE" +SRC_URI="mirror://sourceforge/scim/${P}.tar.bz2 + http://freedesktop.org/~cougar/skim/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="" + +DEPEND="virtual/x11 + || ( >=app-i18n/scim-0.99.4 >=app-i18n/scim-cvs-0.99.4 ) + >=x11-libs/qt-3.2.0 + >=kde-base/kdelibs-3.2.0" + +src_compile() { + addpredict /usr/qt/3/etc/settings + econf || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog NEWS README TODO + mv ${D}/usr/share/doc/HTML ${D}/usr/share/doc/${PF}/html +} + +pkg_postinst() { + einfo + einfo "If you want to use Chinese interface, edit your startup script" + einfo "such as .xinitrc to incorporate" + einfo + einfo ' export XMODIFIERS=@im=SCIM' + einfo ' export LANG="zh_CN.GBK"' + einfo ' startkde' + einfo + einfo "or if you prefer English interface," + einfo + einfo ' export XMODIFIERS=@im=SCIM' + einfo ' export LC_CTYPE="zh_CN.GBK"' + einfo ' startkde' + einfo + einfo "and start skim and SCIM by" + einfo + einfo " % skim -d" + einfo +} |