summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-16 02:14:14 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-16 02:14:14 +0000
commit971e8f2ffb4e503ddf43addcd4d3de3e08401b4d (patch)
tree8467536fe2e37768ea3c4a1061944d9eee16fbe8 /app-i18n/uim-svn
parentkde-base -> kde (diff)
downloadhistorical-971e8f2ffb4e503ddf43addcd4d3de3e08401b4d.tar.gz
historical-971e8f2ffb4e503ddf43addcd4d3de3e08401b4d.tar.bz2
historical-971e8f2ffb4e503ddf43addcd4d3de3e08401b4d.zip
add inherit eutils
Diffstat (limited to 'app-i18n/uim-svn')
-rw-r--r--app-i18n/uim-svn/uim-svn-20040124.ebuild21
1 files changed, 6 insertions, 15 deletions
diff --git a/app-i18n/uim-svn/uim-svn-20040124.ebuild b/app-i18n/uim-svn/uim-svn-20040124.ebuild
index 9bf6dc3c6606..3789f61fc77a 100644
--- a/app-i18n/uim-svn/uim-svn-20040124.ebuild
+++ b/app-i18n/uim-svn/uim-svn-20040124.ebuild
@@ -1,10 +1,8 @@
# 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.6 2004/04/07 11:52:39 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/uim-svn-20040124.ebuild,v 1.7 2004/04/16 02:14:14 vapier Exp $
-inherit subversion flag-o-matic
-
-IUSE="gtk nls debug"
+inherit subversion flag-o-matic eutils
ESVN_REPO_URI="http://freedesktop.org:8080/svn/uim/trunk"
ESVN_BOOTSTRAP="autogen.sh"
@@ -15,19 +13,19 @@ HOMEPAGE="http://anthy.sourceforge.jp/"
SRC_URI=""
LICENSE="GPL-2 | BSD"
-KEYWORDS="~x86"
SLOT="0"
+KEYWORDS="~x86"
+IUSE="gtk nls debug"
+RDEPEND="gtk? ( >=x11-libs/gtk+-2 )
+ !app-i18n/uim"
DEPEND="${RDEPEND}
dev-lang/perl
dev-perl/XML-Parser
>=sys-apps/sed-4
nls? ( sys-devel/gettext )"
-RDEPEND="gtk? ( >=x11-libs/gtk+-2 )
- !app-i18n/uim"
src_compile() {
-
if use gtk; then
sed -i -e "s:@GTK2_TRUE@::g" -e "s:@GTK2_FALSE@:#:g" \
Makefile.in `echo */Makefile.in`
@@ -40,19 +38,15 @@ src_compile() {
use debug && append-flags -g
econf `use_enable nls` || die
emake || die
-
}
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
@@ -60,11 +54,8 @@ 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
-
}