summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-08-24 18:54:30 +0000
committerMamoru Komachi <usata@gentoo.org>2003-08-24 18:54:30 +0000
commitd54c2a746bd70936382e130ddb26a4e7a96e0917 (patch)
treed9f1060cfc6bebfd59b4e7ce6dfdac239f76dd13 /app-i18n/anthy
parentversion bump (diff)
downloadhistorical-d54c2a746bd70936382e130ddb26a4e7a96e0917.tar.gz
historical-d54c2a746bd70936382e130ddb26a4e7a96e0917.tar.bz2
historical-d54c2a746bd70936382e130ddb26a4e7a96e0917.zip
fixed emacs DEPEND problem, closing Bug #27175
Diffstat (limited to 'app-i18n/anthy')
-rw-r--r--app-i18n/anthy/ChangeLog6
-rw-r--r--app-i18n/anthy/Manifest4
-rw-r--r--app-i18n/anthy/anthy-4300b.ebuild27
3 files changed, 26 insertions, 11 deletions
diff --git a/app-i18n/anthy/ChangeLog b/app-i18n/anthy/ChangeLog
index bad02f609f8e..284206fa8518 100644
--- a/app-i18n/anthy/ChangeLog
+++ b/app-i18n/anthy/ChangeLog
@@ -1,9 +1,13 @@
# ChangeLog for app-i18n/anthy
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/anthy/ChangeLog,v 1.1 2003/08/20 14:02:45 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/anthy/ChangeLog,v 1.2 2003/08/24 18:54:26 usata Exp $
*anthy-4300b (20 Aug 2003)
+ 25 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> anthy-4300b.ebuild:
+ Removed undesired emacs dependency when USE="-emacs". Thanks to
+ Hattya-san <hattya@inter7.jp> in Bug #27175
+
20 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> anthy-4300b.ebuild,
50anthy-gentoo.el:
Initial import. Ebuild first created by Satoshi Fuktommy
diff --git a/app-i18n/anthy/Manifest b/app-i18n/anthy/Manifest
index 9b7eb468cccf..852dd327c37e 100644
--- a/app-i18n/anthy/Manifest
+++ b/app-i18n/anthy/Manifest
@@ -1,4 +1,4 @@
-MD5 b8f9ba118025f9f829dafe5e4344d333 anthy-4300b.ebuild 1045
-MD5 889752a9eb70596949b9880c8de8e5be ChangeLog 495
+MD5 f2c5bf4ed09553a7a19a8b5141c84ad4 anthy-4300b.ebuild 1105
+MD5 c2fac8be5981a7b00077c2d9db6426ff ChangeLog 678
MD5 83e271d277525e627be3756f01c7010e files/digest-anthy-4300b 64
MD5 feef50f928e4da72ce6c4fc75410f47b files/50anthy-gentoo.el 194
diff --git a/app-i18n/anthy/anthy-4300b.ebuild b/app-i18n/anthy/anthy-4300b.ebuild
index 1d0474663065..ae6b0b033576 100644
--- a/app-i18n/anthy/anthy-4300b.ebuild
+++ b/app-i18n/anthy/anthy-4300b.ebuild
@@ -1,16 +1,16 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/anthy/anthy-4300b.ebuild,v 1.1 2003/08/20 14:02:45 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/anthy/anthy-4300b.ebuild,v 1.2 2003/08/24 18:54:26 usata Exp $
-inherit elisp
+IUSE="emacs"
DESCRIPTION="Anthy -- free and secure Japanese input system"
HOMEPAGE="http://anthy.sourceforge.jp/"
SRC_URI="mirror://sourceforge.jp/anthy/5332/${P}.tar.gz"
+
LICENSE="GPL-2"
KEYWORDS="~x86 ~sparc"
SLOT="0"
-IUSE="emacs"
S="${WORKDIR}/${P}"
@@ -18,6 +18,7 @@ DEPEND="virtual/glibc
emacs? ( virtual/emacs )"
SITEFILE="50anthy-gentoo.el"
+SITELISP=/usr/share/emacs/site-lisp
src_compile() {
local myconf=""
@@ -32,17 +33,27 @@ src_compile() {
src_install() {
einstall || die
- use emacs && elisp-site-file-install ${FILESDIR}/${SITEFILE}
+ if [ -n "` use emacs`" ] ; then
+ insinto ${SITELISP}
+ doins ${FILESDIR}/${SITEFILE}
+ fi
dodoc AUTHORS ChangeLog DIARY INSTALL NEWS README \
- doc/{DICUTIL,ELISP,GLOSSARY,GUIDE.english,ILIB,LERNING,LIB} \
- doc/{MISC,POS,SPLITTER,TESTING,protocol.txt}
+ doc/[A-Z][A-Z]* doc/protocol.txt
}
pkg_postinst() {
- use emacs && elisp-site-regen
+
+ if [ -n "` use emacs`" ] ; then
+ inherit elisp
+ elisp-site-regen
+ fi
}
pkg_postrm() {
- use emacs && elisp-site-regen
+
+ if [ -n "` use emacs`" ] ; then
+ inherit elisp
+ elisp-site-regen
+ fi
}