summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/ecb/ecb-1.80.ebuild')
-rw-r--r--app-emacs/ecb/ecb-1.80.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/app-emacs/ecb/ecb-1.80.ebuild b/app-emacs/ecb/ecb-1.80.ebuild
new file mode 100644
index 000000000000..b1fa7783693a
--- /dev/null
+++ b/app-emacs/ecb/ecb-1.80.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ecb-1.80.ebuild,v 1.1 2002/11/01 02:52:01 mkennedy Exp $
+
+inherit elisp
+
+IUSE=""
+
+DESCRIPTION="ECB is source code browser for Emacs. It is a global minor-mode which displays a couple of windows that can be used to browse directories, files and methods. It supports method parsing for Java, C, C++, Elisp etc."
+HOMEPAGE="http://home.swipnet.se/mayhem/ecb.html"
+SRC_URI="mirror://sourceforge/ecb/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/emacs
+ app-emacs/speedbar
+ app-emacs/eieio
+ app-emacs/jde
+ app-emacs/elib
+ app-misc/fixdos"
+
+S="${WORKDIR}/${P}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p0 <${FILESDIR}/ecb.texi-gentoo.patch || die
+ patch -p0 <${FILESDIR}/ecb-help.el-gentoo.patch || die
+ sed -e "s,@ECBINFOFILE@,/usr/share/info/ecb.info.gz,g" <ecb-help.el >ecb-help.el.new && \
+ mv ecb-help.el.new ecb-help.el
+ sed -e "s,@ECBHTMLFILE@,/usr/share/doc/${P}/html/ecb.html,g" <ecb-help.el >ecb-help.el.new && \
+ mv ecb-help.el.new ecb-help.el
+ # Hi, Welcome to Unix...
+ crlf -u ecb.texi
+}
+
+src_compile() {
+ make LOADPATH="${SITELISP}/elib ${SITELISP}/semantic ${SITELISP}/eieio ${SITELISP}/jde/lisp" || die
+}
+
+src_install() {
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install ${FILESDIR}/50ecb-gentoo.el
+ dodoc HISTORY README RELEASE_NOTES
+ makeinfo --force ecb.texi
+ doinfo ecb.info*
+ dohtml ecb.html
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ einfo ""
+ einfo "Add the following to your ~/.emacs to use ECB:"
+ einfo " (require 'ecb)"
+ einfo "To start ECB:"
+ einfo " M-x ecb-activate"
+ einfo ""
+}
+
+pkg_postrm() {
+ elisp-site-regen
+}