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
commitab534a70a326ecf90bd6038a927af887ddff0463 (patch)
treedacc5f17236858995694a6b61ee52e4578d836c0 /app-emacs/tamago
parentadded canna IUSE flag (diff)
downloadhistorical-ab534a70a326ecf90bd6038a927af887ddff0463.tar.gz
historical-ab534a70a326ecf90bd6038a927af887ddff0463.tar.bz2
historical-ab534a70a326ecf90bd6038a927af887ddff0463.zip
added canna IUSE flag
Diffstat (limited to 'app-emacs/tamago')
-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
4 files changed, 83 insertions, 4 deletions
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
+}