diff options
author | Akinori Hattori <hattya@gentoo.org> | 2004-01-25 13:07:28 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2004-01-25 13:07:28 +0000 |
commit | f70821dba30193098db4655d5ca1728d6d51dafe (patch) | |
tree | bd2e0e323cc2f9fdf6d175c2a45991ae0c8a24f9 | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-f70821dba30193098db4655d5ca1728d6d51dafe.tar.gz gentoo-2-f70821dba30193098db4655d5ca1728d6d51dafe.tar.bz2 gentoo-2-f70821dba30193098db4655d5ca1728d6d51dafe.zip |
*** empty log message ***
-rw-r--r-- | app-i18n/uim-svn/ChangeLog | 9 | ||||
-rw-r--r-- | app-i18n/uim-svn/Manifest | 4 | ||||
-rw-r--r-- | app-i18n/uim-svn/files/digest-uim-svn-20040124 | 0 | ||||
-rw-r--r-- | app-i18n/uim-svn/metadata.xml | 5 | ||||
-rw-r--r-- | app-i18n/uim-svn/uim-svn-20040124.ebuild | 72 |
5 files changed, 89 insertions, 1 deletions
diff --git a/app-i18n/uim-svn/ChangeLog b/app-i18n/uim-svn/ChangeLog new file mode 100644 index 000000000000..8abee749daea --- /dev/null +++ b/app-i18n/uim-svn/ChangeLog @@ -0,0 +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.1 2004/01/25 13:07:18 hattya Exp $ + +*uim-svn-20040124 (25 Jan 2004) + + 25 Jan 2004; Akinori Hattori <hattya@gentoo.org> uim-svn-20040124.ebuild: + Initial import. + diff --git a/app-i18n/uim-svn/Manifest b/app-i18n/uim-svn/Manifest index b883ea8ecdf2..c022fb0b1716 100644 --- a/app-i18n/uim-svn/Manifest +++ b/app-i18n/uim-svn/Manifest @@ -1,2 +1,4 @@ -MD5 f3ebc8842856df0ccf39fa5cd59a1679 uim-svn-20040124.ebuild 1530 +MD5 b712e17a206f38d18ab57c64e02c9517 ChangeLog 342 +MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156 +MD5 36a82da9b6f22da9b20d6fbc7b6bba2b uim-svn-20040124.ebuild 1633 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-uim-svn-20040124 0 diff --git a/app-i18n/uim-svn/files/digest-uim-svn-20040124 b/app-i18n/uim-svn/files/digest-uim-svn-20040124 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/app-i18n/uim-svn/files/digest-uim-svn-20040124 diff --git a/app-i18n/uim-svn/metadata.xml b/app-i18n/uim-svn/metadata.xml new file mode 100644 index 000000000000..2d5852c16c60 --- /dev/null +++ b/app-i18n/uim-svn/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cjk</herd> +</pkgmetadata> diff --git a/app-i18n/uim-svn/uim-svn-20040124.ebuild b/app-i18n/uim-svn/uim-svn-20040124.ebuild new file mode 100644 index 000000000000..d536aff34cd8 --- /dev/null +++ b/app-i18n/uim-svn/uim-svn-20040124.ebuild @@ -0,0 +1,72 @@ +# 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.1 2004/01/25 13:07:18 hattya Exp $ + +inherit subversion + +IUSE="gtk nls debug" + +DESCRIPTION="UIM is a simple, secure and flexible input method library" +HOMEPAGE="http://anthy.sourceforge.jp/" +SRC_URI="" +ESVN_REPO_URI="http://freedesktop.org:8080/svn/uim/trunk" +ESVN_BOOTSTRAP="autogen.sh" + +LICENSE="GPL-2 | BSD" +SLOT="0" +KEYWORDS="~x86" + +S="${WORKDIR}/${P}" + +DEPEND="${RDEPEND} + dev-lang/perl + dev-perl/XML-Parser + >=sys-apps/sed-4 + nls? ( sys-devel/gettext )" +RDEPEND="gtk? ( >=x11-libs/gtk+-2 )" + +# for debugging use +use debug && RESTRICT="nostrip" + +src_compile() { + + if [ -n "`use gtk`" ] ; then + sed -i -e "s:@GTK2_TRUE@::g" -e "s:@GTK2_FALSE@:#:g" \ + Makefile.in `echo */Makefile.in` + else + sed -i -e "s:@GTK2_TRUE@:#:g" -e "s:@GTK2_FALSE@::g" \ + Makefile.in `echo */Makefile.in` + sed -i -e "/^SUBDIRS/s/gtk//" Makefile.in + fi + + use debug && export CFLAGS="${CFLAGS} -g" + econf `use_enable nls` || die + emake || die +} + +src_install () { + + if [ "`use gtk`" ] ; then + dodir /etc/gtk-2.0 + fi + + make DESTDIR=${D} install || die + + dodoc ABOUT-NLS 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." + einfo "To use uim-prime you should emerge app-i18n/prime." + einfo +} + +pkg_postrm() { + + if [ "`use gtk`" ] ; then + gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules + fi +} |