summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-06 04:07:59 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-06 04:07:59 +0000
commitdea388aa47911cfb93e72e387e3d158938296a13 (patch)
tree19774aabf47ec5aad0bbefbae887d652dd99a079 /app-i18n/uim
parentadd inherit eutils (diff)
downloadgentoo-2-dea388aa47911cfb93e72e387e3d158938296a13.tar.gz
gentoo-2-dea388aa47911cfb93e72e387e3d158938296a13.tar.bz2
gentoo-2-dea388aa47911cfb93e72e387e3d158938296a13.zip
add inherit eutils
Diffstat (limited to 'app-i18n/uim')
-rw-r--r--app-i18n/uim/uim-0.2.4.ebuild6
-rw-r--r--app-i18n/uim/uim-0.2.8.ebuild4
-rw-r--r--app-i18n/uim/uim-0.3.0.1.ebuild4
-rw-r--r--app-i18n/uim/uim-0.3.2.ebuild4
-rw-r--r--app-i18n/uim/uim-0.3.3.ebuild39
5 files changed, 24 insertions, 33 deletions
diff --git a/app-i18n/uim/uim-0.2.4.ebuild b/app-i18n/uim/uim-0.2.4.ebuild
index 4c227a392acd..3da551cd10ca 100644
--- a/app-i18n/uim/uim-0.2.4.ebuild
+++ b/app-i18n/uim/uim-0.2.4.ebuild
@@ -1,6 +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/uim-0.2.4.ebuild,v 1.6 2004/03/20 17:55:12 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.2.4.ebuild,v 1.7 2004/04/06 04:03:21 vapier Exp $
+
+inherit eutils
IUSE="gtk nls debug"
@@ -12,8 +14,6 @@ LICENSE="GPL-2 | BSD"
SLOT="0"
KEYWORDS="x86 alpha"
-S="${WORKDIR}/${P}"
-
DEPEND="${RDEPEND}
dev-lang/perl
dev-perl/XML-Parser
diff --git a/app-i18n/uim/uim-0.2.8.ebuild b/app-i18n/uim/uim-0.2.8.ebuild
index ee2b5700320c..f10ecdee75d6 100644
--- a/app-i18n/uim/uim-0.2.8.ebuild
+++ b/app-i18n/uim/uim-0.2.8.ebuild
@@ -1,6 +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/uim-0.2.8.ebuild,v 1.4 2004/03/20 17:55:12 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.2.8.ebuild,v 1.5 2004/04/06 04:03:27 vapier Exp $
+
+inherit eutils
IUSE="gtk nls debug"
diff --git a/app-i18n/uim/uim-0.3.0.1.ebuild b/app-i18n/uim/uim-0.3.0.1.ebuild
index 839ac749756e..038f8988587f 100644
--- a/app-i18n/uim/uim-0.3.0.1.ebuild
+++ b/app-i18n/uim/uim-0.3.0.1.ebuild
@@ -1,6 +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/uim-0.3.0.1.ebuild,v 1.4 2004/03/20 17:55:12 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.3.0.1.ebuild,v 1.5 2004/04/06 04:03:34 vapier Exp $
+
+inherit eutils
IUSE="gtk nls debug"
diff --git a/app-i18n/uim/uim-0.3.2.ebuild b/app-i18n/uim/uim-0.3.2.ebuild
index 2fa8a32d760e..6e97e9f5e126 100644
--- a/app-i18n/uim/uim-0.3.2.ebuild
+++ b/app-i18n/uim/uim-0.3.2.ebuild
@@ -1,6 +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/uim-0.3.2.ebuild,v 1.4 2004/03/31 20:19:12 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.3.2.ebuild,v 1.5 2004/04/06 04:03:43 vapier Exp $
+
+inherit eutils
IUSE="gtk nls debug"
diff --git a/app-i18n/uim/uim-0.3.3.ebuild b/app-i18n/uim/uim-0.3.3.ebuild
index c0cf698aa7ba..88cb88d3c667 100644
--- a/app-i18n/uim/uim-0.3.3.ebuild
+++ b/app-i18n/uim/uim-0.3.3.ebuild
@@ -1,41 +1,34 @@
# 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/uim-0.3.3.ebuild,v 1.2 2004/03/22 06:21:16 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.3.3.ebuild,v 1.3 2004/04/06 04:04:57 vapier Exp $
-IUSE="gtk nls debug"
+inherit eutils
-DESCRIPTION="UIM is a simple, secure and flexible input method library"
+DESCRIPTION="a simple, secure and flexible input method library"
HOMEPAGE="http://uim.freedesktop.org/"
SRC_URI="http://freedesktop.org/Software/UimDownload/${P}.tar.gz"
LICENSE="GPL-2 | BSD"
SLOT="0"
KEYWORDS="~x86 ~alpha"
+IUSE="gtk nls debug"
-S="${WORKDIR}/${P}"
-
+RDEPEND="gtk? ( >=x11-libs/gtk+-2 )
+ !app-i18n/uim-svn"
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-svn"
-
-# for debugging use
-use debug && RESTRICT="nostrip"
src_unpack() {
-
unpack ${A}
-
cd ${S}
epatch ${FILESDIR}/${PN}-gtk-query-immodules-gentoo.diff
}
src_compile() {
-
- if [ -n "`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
@@ -44,20 +37,17 @@ src_compile() {
sed -i -e "/^SUBDIRS/s/gtk//" Makefile.in
fi
- use debug && export CFLAGS="${CFLAGS} -g"
+ use debug && append-flags -g
econf `use_enable nls` || die
emake || die
}
-src_install () {
-
+src_install() {
make DESTDIR=${D} install || die
-
- dodoc ABOUT-NLS AUTHORS ChangeLog INSTALL* NEWS README*
+ dodoc AUTHORS ChangeLog INSTALL* NEWS README*
}
pkg_postinst() {
-
einfo
einfo "To use uim-anthy you should emerge app-i18n/anthy or app-i18n/anthy-ss."
einfo "To use uim-skk you should emerge app-i18n/skk-jisyo (uim doesn't support skkserv)."
@@ -67,14 +57,9 @@ pkg_postinst() {
ewarn "If you are upgrading from uim-0.3.1 and using uim-skk, please check your"
ewarn "~/.skk-uim-jisyo and remove katakana index entry if any."
- if [ "`use gtk`" ] ; then
- gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
- fi
+ use gtk && gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules
}
pkg_postrm() {
-
- if [ "`use gtk`" ] ; then
- gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
- fi
+ use gtk && gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules
}