diff options
author | Akinori Hattori <hattya@gentoo.org> | 2004-04-07 11:52:39 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2004-04-07 11:52:39 +0000 |
commit | 083fa297c35bbbc04eb24313dbe55da4225c9159 (patch) | |
tree | 71c297e502f6d77defa6689b45846b2e7d313d4c /app-i18n | |
parent | new release (Manifest recommit) (diff) | |
download | gentoo-2-083fa297c35bbbc04eb24313dbe55da4225c9159.tar.gz gentoo-2-083fa297c35bbbc04eb24313dbe55da4225c9159.tar.bz2 gentoo-2-083fa297c35bbbc04eb24313dbe55da4225c9159.zip |
inherit flag-o-matic.
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/uim-svn/ChangeLog | 5 | ||||
-rw-r--r-- | app-i18n/uim-svn/uim-svn-20040124.ebuild | 19 |
2 files changed, 18 insertions, 6 deletions
diff --git a/app-i18n/uim-svn/ChangeLog b/app-i18n/uim-svn/ChangeLog index 826b796964c3..36f40dba9147 100644 --- a/app-i18n/uim-svn/ChangeLog +++ b/app-i18n/uim-svn/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-i18n/uim-svn # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/ChangeLog,v 1.4 2004/04/05 14:36:15 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/ChangeLog,v 1.5 2004/04/07 11:52:39 hattya Exp $ + + 07 Apr 2004; Akinori Hattori <hattya@gentoo.org> uim-svn-20040124.ebuild: + inherit flag-o-matic. 05 Apr 2004; Akinori Hattori <hattya@gentoo.org> uim-svn-20040124.ebuild, files/uim-svn-gtk-query-immodules-gentoo.diff: diff --git a/app-i18n/uim-svn/uim-svn-20040124.ebuild b/app-i18n/uim-svn/uim-svn-20040124.ebuild index 9d4a514ebd40..9bf6dc3c6606 100644 --- a/app-i18n/uim-svn/uim-svn-20040124.ebuild +++ b/app-i18n/uim-svn/uim-svn-20040124.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/uim-svn-20040124.ebuild,v 1.5 2004/04/06 04:03:08 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/uim-svn-20040124.ebuild,v 1.6 2004/04/07 11:52:39 hattya Exp $ -inherit subversion eutils flag-o-matic +inherit subversion flag-o-matic + +IUSE="gtk nls debug" ESVN_REPO_URI="http://freedesktop.org:8080/svn/uim/trunk" ESVN_BOOTSTRAP="autogen.sh" @@ -13,9 +15,8 @@ HOMEPAGE="http://anthy.sourceforge.jp/" SRC_URI="" LICENSE="GPL-2 | BSD" -SLOT="0" KEYWORDS="~x86" -IUSE="gtk nls debug" +SLOT="0" DEPEND="${RDEPEND} dev-lang/perl @@ -26,7 +27,8 @@ RDEPEND="gtk? ( >=x11-libs/gtk+-2 ) !app-i18n/uim" src_compile() { - if use gtk ; then + + if use gtk; then sed -i -e "s:@GTK2_TRUE@::g" -e "s:@GTK2_FALSE@:#:g" \ Makefile.in `echo */Makefile.in` else @@ -42,11 +44,15 @@ src_compile() { } src_install() { + make DESTDIR=${D} install || die + dodoc [A-Z][A-Z]* ChangeLog* doc/[A-Z0-9][A-Z0-9]* + } pkg_postinst() { + use gtk && gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules einfo @@ -54,8 +60,11 @@ pkg_postinst() { einfo "To use uim-skk you should emerge app-i18n/skk-jisyo." einfo "To use uim-prime you should emerge app-i18n/prime." einfo + } pkg_postrm() { + use gtk && gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules + } |