summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-08-14 15:15:33 +0000
committerMamoru Komachi <usata@gentoo.org>2004-08-14 15:15:33 +0000
commitcf626d3a4317d505db64b4c5f6c2519598cd8055 (patch)
treeae760987e5e39125ac54b6f807cc894e90989392 /app-emacs/yc/yc-4.0.13.ebuild
parentCorrected metadata.xml to match DTD. (Manifest recommit) (diff)
downloadgentoo-2-cf626d3a4317d505db64b4c5f6c2519598cd8055.tar.gz
gentoo-2-cf626d3a4317d505db64b4c5f6c2519598cd8055.tar.bz2
gentoo-2-cf626d3a4317d505db64b4c5f6c2519598cd8055.zip
Version bumped.
Diffstat (limited to 'app-emacs/yc/yc-4.0.13.ebuild')
-rw-r--r--app-emacs/yc/yc-4.0.13.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/app-emacs/yc/yc-4.0.13.ebuild b/app-emacs/yc/yc-4.0.13.ebuild
new file mode 100644
index 000000000000..04d16c6a48fb
--- /dev/null
+++ b/app-emacs/yc/yc-4.0.13.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/yc/yc-4.0.13.ebuild,v 1.1 2004/08/14 15:15:32 usata Exp $
+
+inherit elisp
+
+IUSE=""
+
+DESCRIPTION="YC - Yet another Canna client on Emacsen."
+HOMEPAGE="http://www.ceres.dti.ne.jp/~knak/yc.html"
+SRC_URI="http://www.ceres.dti.ne.jp/~knak/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~ppc ~x86"
+
+DEPEND="virtual/emacs
+ >=app-i18n/canna-3.6"
+
+SITEFILE="50yc-gentoo.el"
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ elisp-install ${PN} *.el *.elc || die
+ elisp-site-file-install ${FILESDIR}/${SITEFILE} || die
+ dobin icanna || die
+ newdoc ${FILESDIR}/sample.dot.emacs-4 sample.dot.emacs || die
+ dodoc ${FILESDIR}/sample.hosts.canna || die
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ einfo "See /usr/share/doc/${P}/sample.dot.emacs.gz."
+ einfo ""
+ einfo "And If you use unix domain socket for connecting the canna server, "
+ einfo " please confirm that there's *no* following line in your .emacs ."
+ einfo " (setq yc-server-host \"localhost\")"
+ einfo ""
+ einfo "If you use inet domain socket for connecting the canna server, "
+ einfo " please modify as following in /etc/conf.d/canna."
+ einfo " CANNASERVER_OPTS=\"-inet\""
+ einfo " And create /etc/hosts.canna."
+ einfo " (sample is /usr/share/doc/${P}/sample.hosts.canna.gz)"
+}
+
+pkg_postrm() {
+ elisp-site-regen
+}