diff options
author | 2004-07-30 18:46:22 +0000 | |
---|---|---|
committer | 2004-07-30 18:46:22 +0000 | |
commit | db818bacca712bd63f6150ff87c4bf99862c8adf (patch) | |
tree | 66100ec1b11e79a5b93423c06f266a746468dbb7 /app-emacs/tamago/tamago-4.0.6-r1.ebuild | |
parent | fix init script irt #58857 (diff) | |
download | historical-db818bacca712bd63f6150ff87c4bf99862c8adf.tar.gz historical-db818bacca712bd63f6150ff87c4bf99862c8adf.tar.bz2 historical-db818bacca712bd63f6150ff87c4bf99862c8adf.zip |
Moved gentoo patch out of files directory.
Diffstat (limited to 'app-emacs/tamago/tamago-4.0.6-r1.ebuild')
-rw-r--r-- | app-emacs/tamago/tamago-4.0.6-r1.ebuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/app-emacs/tamago/tamago-4.0.6-r1.ebuild b/app-emacs/tamago/tamago-4.0.6-r1.ebuild index 7c86f1ba893c..ca93fb590327 100644 --- a/app-emacs/tamago/tamago-4.0.6-r1.ebuild +++ b/app-emacs/tamago/tamago-4.0.6-r1.ebuild @@ -1,13 +1,16 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/tamago/tamago-4.0.6-r1.ebuild,v 1.7 2004/07/18 03:07:14 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/tamago/tamago-4.0.6-r1.ebuild,v 1.8 2004/07/30 18:46:22 usata Exp $ inherit elisp eutils +TAMAGO_CANNA="canna-20011204.diff" + DESCRIPTION="Emacs Backend for Sj3 Ver.2, FreeWnn, Wnn6 and Canna" HOMEPAGE="http://www.m17n.org/tamago/" SRC_URI="ftp://ftp.m17n.org/pub/tamago/${P}.tar.gz - http://cgi18.plala.or.jp/nyy/canna/canna-20011204.diff.gz" + http://cgi18.plala.or.jp/nyy/canna/${TAMAGO_CANNA}.gz + mirror://gentoo/${P}-canna-gentoo.patch.gz" LICENSE="GPL-2" SLOT="0" @@ -23,10 +26,11 @@ RDEPEND="virtual/emacs SITEFILE=50tamago-gentoo.el src_unpack() { - unpack ${A} + unpack ${P}.tar.gz + unpack ${TAMAGO_CANNA}.gz - epatch ${FILESDIR}/${P}-canna-gentoo.patch - epatch canna-20011204.diff + epatch ${DISTDIR}/${P}-canna-gentoo.patch.gz + epatch ${TAMAGO_CANNA} } src_compile() { @@ -58,7 +62,7 @@ src_install() { pkg_postinst() { elisp-site-regen - if ! grep -q inet ${ROOT}/etc/conf.d/canna ; then + if ! grep -q inet ${ROOT}/etc/conf.d/canna && use canna ; then sed -i -e '/CANNASERVER_OPTS/s/"\(.*\)"/"\1 -inet"/' \ ${ROOT}/etc/conf.d/canna |