summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-08-07 15:34:08 +0000
committerMamoru Komachi <usata@gentoo.org>2003-08-07 15:34:08 +0000
commit502784eaa8d8fb0bb61fe073ad182be421fdae78 (patch)
tree90e510cfc263a32afdcb516a8ef6fa2daf6519bc /app-emacs/tamago
parentadded canna IUSE flag (diff)
downloadgentoo-2-502784eaa8d8fb0bb61fe073ad182be421fdae78.tar.gz
gentoo-2-502784eaa8d8fb0bb61fe073ad182be421fdae78.tar.bz2
gentoo-2-502784eaa8d8fb0bb61fe073ad182be421fdae78.zip
added canna IUSE flag
Diffstat (limited to 'app-emacs/tamago')
-rw-r--r--app-emacs/tamago/ChangeLog11
-rw-r--r--app-emacs/tamago/Manifest6
-rw-r--r--app-emacs/tamago/files/50tamago-gentoo.el2
-rw-r--r--app-emacs/tamago/files/digest-tamago-4.0.6-r12
-rw-r--r--app-emacs/tamago/tamago-4.0.6-r1.ebuild77
5 files changed, 91 insertions, 7 deletions
diff --git a/app-emacs/tamago/ChangeLog b/app-emacs/tamago/ChangeLog
index 402c6f9da56b..00a52f5cdd08 100644
--- a/app-emacs/tamago/ChangeLog
+++ b/app-emacs/tamago/ChangeLog
@@ -1,11 +1,16 @@
# ChangeLog for app-emacs/tamago
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/tamago/ChangeLog,v 1.6 2003/05/29 11:45:36 yakina Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/tamago/ChangeLog,v 1.7 2003/08/07 15:33:56 usata Exp $
+
+*tamago-4.0.6-r1 (08 Aug 2003)
+
+ 08 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> tamago-4.0.6-r1.ebuild:
+ Added canna IUSE flag and dynamic configuration
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
*tamago-4.0.6 (06 Nov 2002)
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
29 May 2003; <yakina@gentoo.org> tamago-4.0.6.ebuild:
Added S
diff --git a/app-emacs/tamago/Manifest b/app-emacs/tamago/Manifest
index 61ac81390e1d..cc7b77b666e1 100644
--- a/app-emacs/tamago/Manifest
+++ b/app-emacs/tamago/Manifest
@@ -1,8 +1,8 @@
-MD5 2bcf51c0705710ee0370843a945e50f7 ChangeLog 716
+MD5 7e2390ace49ba94ff56d82972479f83f ChangeLog 871
MD5 2e0820a9c240a084dfb548ecc1b0825a tamago-4.0.6.ebuild 1317
MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
-MD5 5c287776d4a91d3fd37ec51cd110bcd9 tamago-4.0.6-r1.ebuild 1685
-MD5 6d6d7ae4c36960b92b44594603b2f335 files/50tamago-gentoo.el 37
+MD5 a0844dfd2fe5fe423031a098e99b1f84 tamago-4.0.6-r1.ebuild 1688
+MD5 a5d69655d56512ba5e38eab48bd2372b files/50tamago-gentoo.el 37
MD5 6fff5a7abc4490bfc63a1a24c4296317 files/digest-tamago-4.0.6 130
MD5 68b0c67f25010cb918d994959da75ec5 files/tamago-4.0.6-canna-gentoo.patch 61346
MD5 6fff5a7abc4490bfc63a1a24c4296317 files/digest-tamago-4.0.6-r1 130
diff --git a/app-emacs/tamago/files/50tamago-gentoo.el b/app-emacs/tamago/files/50tamago-gentoo.el
index 3d16ac3672bb..3fb87143c8db 100644
--- a/app-emacs/tamago/files/50tamago-gentoo.el
+++ b/app-emacs/tamago/files/50tamago-gentoo.el
@@ -1,3 +1,3 @@
-;;; tamago site-lisp configuration
+;;; tamago site-lisp configuration
diff --git a/app-emacs/tamago/files/digest-tamago-4.0.6-r1 b/app-emacs/tamago/files/digest-tamago-4.0.6-r1
new file mode 100644
index 000000000000..ba67fe44d84f
--- /dev/null
+++ b/app-emacs/tamago/files/digest-tamago-4.0.6-r1
@@ -0,0 +1,2 @@
+MD5 e1ebac3ec05b2f9c274b831fd64ed7b1 tamago-4.0.6.tar.gz 260021
+MD5 fde6a8134cae095e236bf1805aab6acc canna-20011204.diff.gz 54238
diff --git a/app-emacs/tamago/tamago-4.0.6-r1.ebuild b/app-emacs/tamago/tamago-4.0.6-r1.ebuild
new file mode 100644
index 000000000000..9edfa611d0a9
--- /dev/null
+++ b/app-emacs/tamago/tamago-4.0.6-r1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# 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.1 2003/08/07 15:33:56 usata Exp $
+
+inherit elisp eutils
+
+IUSE="canna"
+
+DESCRIPTION="Emacs Backend for Sj3 Ver.2, FreeWnn, Wnn6 and Canna"
+SRC_URI="ftp://ftp.m17n.org/pub/tamago/${P}.tar.gz
+ http://cgi18.plala.or.jp/nyy/canna/canna-20011204.diff.gz"
+HOMEPAGE="http://www.m17n.org/tamago/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+DEPEND="virtual/emacs
+ sys-apps/gzip
+ >=sys-apps/sed-4"
+RDEPEND="virtual/emacs
+ canna? ( app-i18n/canna )"
+
+S="${WORKDIR}/${P}"
+SITEFILE=50tamago-gentoo.el
+
+src_unpack() {
+
+ unpack ${A}
+
+ epatch ${FILESDIR}/${P}-canna-gentoo.patch
+ epatch canna-20011204.diff
+}
+
+src_compile() {
+
+ ./configure --prefix=/usr || die
+ emake || die
+}
+
+src_install() {
+
+ dodir ${SITELISP}/${PN}
+ emake prefix=${D}/usr \
+ infodir=${D}/usr/share/info \
+ elispdir=${D}/${SITELISP}/${PN} \
+ etcdir=${D}/usr/share/${PN} install || die
+
+
+ cp ${FILESDIR}/${SITEFILE} ${SITEFILE}
+ if [ -n "`use canna`" ] ; then
+ cat >>${SITEFILE}<<-EOF
+ (set-language-info "Japanese" 'input-method "japanese-egg-canna")
+
+ EOF
+ fi
+
+ elisp-site-file-install ${SITEFILE} || die
+
+ dodoc README.ja.txt COPYING AUTHORS PROBLEMS TODO ChangeLog
+}
+
+pkg_postinst() {
+
+ elisp-site-regen
+
+ if ! grep -q inet /etc/conf.d/canna ; then
+ sed -i -e '/CANNASERVER_OPTS/s/"\(.*\)"/"\1 -inet"/' \
+ /etc/conf.d/canna
+
+ einfo
+ einfo "Enabled inet domain socket for tamago."
+ einfo "You must restart cannaserver in order to use."
+ einfo "Beware of increasing security risks."
+ einfo
+ fi
+}