From daccd15948b0f679231594e16508273534ef0048 Mon Sep 17 00:00:00 2001 From: Mamoru Komachi Date: Mon, 28 Feb 2005 04:52:57 +0000 Subject: Fixed installation path. See bug #83448. (Portage version: 2.0.51.16) --- app-i18n/imhangul/ChangeLog | 7 +++- app-i18n/imhangul/Manifest | 5 ++- app-i18n/imhangul/files/digest-imhangul-0.9.11-r1 | 1 + app-i18n/imhangul/imhangul-0.9.11-r1.ebuild | 51 +++++++++++++++++++++++ 4 files changed, 61 insertions(+), 3 deletions(-) create mode 100644 app-i18n/imhangul/files/digest-imhangul-0.9.11-r1 create mode 100644 app-i18n/imhangul/imhangul-0.9.11-r1.ebuild (limited to 'app-i18n/imhangul') diff --git a/app-i18n/imhangul/ChangeLog b/app-i18n/imhangul/ChangeLog index 26712509bbf0..0bbb21b4976f 100644 --- a/app-i18n/imhangul/ChangeLog +++ b/app-i18n/imhangul/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-i18n/imhangul # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/ChangeLog,v 1.15 2005/01/01 14:30:16 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/ChangeLog,v 1.16 2005/02/28 04:52:57 usata Exp $ + +*imhangul-0.9.11-r1 (28 Feb 2005) + + 28 Feb 2005; Mamoru KOMACHI +imhangul-0.9.11-r1.ebuild: + Fixed installation path. See bug #83448. 03 Oct 2004; Mamoru KOMACHI imhangul-0.9.11.ebuild: Marked as stable. diff --git a/app-i18n/imhangul/Manifest b/app-i18n/imhangul/Manifest index 07c0938cfbf7..3273c06c61f9 100644 --- a/app-i18n/imhangul/Manifest +++ b/app-i18n/imhangul/Manifest @@ -1,4 +1,5 @@ -MD5 2329dc6307ba325684e72346be1fa013 ChangeLog 2107 +MD5 2d2a03aa49a2b8328294ed80fe1b2e79 ChangeLog 2242 +MD5 b5676876dc46d9ff431f9a4376013cb7 imhangul-0.9.11-r1.ebuild 1225 MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156 -MD5 29ca1708b3c4cb733920cdd8d384d720 imhangul-0.9.11.ebuild 970 +MD5 5147a4fa4c75d57208363685a8d0b838 files/digest-imhangul-0.9.11-r1 68 MD5 5147a4fa4c75d57208363685a8d0b838 files/digest-imhangul-0.9.11 68 diff --git a/app-i18n/imhangul/files/digest-imhangul-0.9.11-r1 b/app-i18n/imhangul/files/digest-imhangul-0.9.11-r1 new file mode 100644 index 000000000000..6d8893f27eed --- /dev/null +++ b/app-i18n/imhangul/files/digest-imhangul-0.9.11-r1 @@ -0,0 +1 @@ +MD5 af95bd3e7c23e630c05da2910bf64162 imhangul-0.9.11.tar.bz2 334315 diff --git a/app-i18n/imhangul/imhangul-0.9.11-r1.ebuild b/app-i18n/imhangul/imhangul-0.9.11-r1.ebuild new file mode 100644 index 000000000000..e2d396dfd6aa --- /dev/null +++ b/app-i18n/imhangul/imhangul-0.9.11-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/imhangul-0.9.11-r1.ebuild,v 1.1 2005/02/28 04:52:57 usata Exp $ + +IUSE="" + +DESCRIPTION="Gtk+-2.0 Hangul Input Modules" +HOMEPAGE="http://imhangul.kldp.net/" +SRC_URI="http://download.kldp.net/imhangul/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~alpha ~ppc" + +DEPEND=">=x11-libs/gtk+-2.2.0" + +get_gtk_confdir() { + if useq amd64 || ( [ "${CONF_LIBDIR}" == "lib32" ] && useq x86 ) ; then + echo "/etc/gtk-2.0/${CHOST}" + else + echo "/etc/gtk-2.0" + fi +} + +src_compile() { + sed -i -e "/^moduledir/d" -e "/# moduledir/s/# //" Makefile.* || die + econf || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog INSTALL NEWS README TODO +} + +pkg_postinst() { + gtk-query-immodules-2.0 > ${ROOT}$(get_gtk_confdir)/gtk.immodules + + einfo "" + einfo "If you want to use one of the module as a default input method, " + einfo "" + einfo "export GTK_IM_MODULE=hangul2 // 2 input type" + einfo "export GTK_IM_MODULE=hangul3f // 3 input type" + einfo "" +} + + +pkg_postrm() { + gtk-query-immodules-2.0 > ${ROOT}$(get_gtk_confdir)/gtk.immodules +} -- cgit v1.2.3-65-gdbad