summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-11-01 02:52:02 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-11-01 02:52:02 +0000
commit08bd106430ca5599005323021f7635b2f1a1f72b (patch)
treed56e46390f1a7838a1a5eecfd8573e5eb47d0c98 /app-emacs/ecb
parentmasked app-emacs/monk (incomplete for now) (diff)
downloadgentoo-2-08bd106430ca5599005323021f7635b2f1a1f72b.tar.gz
gentoo-2-08bd106430ca5599005323021f7635b2f1a1f72b.tar.bz2
gentoo-2-08bd106430ca5599005323021f7635b2f1a1f72b.zip
looks like an app-emacs/ import to me
Diffstat (limited to 'app-emacs/ecb')
-rw-r--r--app-emacs/ecb/ChangeLog11
-rw-r--r--app-emacs/ecb/ecb-1.80.ebuild63
-rw-r--r--app-emacs/ecb/files/50ecb-gentoo.el4
-rw-r--r--app-emacs/ecb/files/digest-ecb-1.801
-rw-r--r--app-emacs/ecb/files/ecb-help.el-gentoo.patch28
-rw-r--r--app-emacs/ecb/files/ecb.texi-gentoo.patch10
6 files changed, 117 insertions, 0 deletions
diff --git a/app-emacs/ecb/ChangeLog b/app-emacs/ecb/ChangeLog
new file mode 100644
index 000000000000..a6291a82efa1
--- /dev/null
+++ b/app-emacs/ecb/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-emacs/ecb
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ChangeLog,v 1.1 2002/11/01 02:52:01 mkennedy Exp $
+
+*ecb-1.80 (31 Oct 2002)
+
+ 31 Oct 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
+ ecb-1.80.ebuild, files/50ecb-gentoo.el, files/ecb-help.el-gentoo.patch,
+ files/ecb.texi-gentoo.patch, files/digest-ecb-1.80 :
+
+ Initial import.
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
+}
diff --git a/app-emacs/ecb/files/50ecb-gentoo.el b/app-emacs/ecb/files/50ecb-gentoo.el
new file mode 100644
index 000000000000..18a8b4080e59
--- /dev/null
+++ b/app-emacs/ecb/files/50ecb-gentoo.el
@@ -0,0 +1,4 @@
+
+;;; ecb site-lisp configuration
+
+(setq load-path (cons "@SITELISP@" load-path))
diff --git a/app-emacs/ecb/files/digest-ecb-1.80 b/app-emacs/ecb/files/digest-ecb-1.80
new file mode 100644
index 000000000000..491af44a71c1
--- /dev/null
+++ b/app-emacs/ecb/files/digest-ecb-1.80
@@ -0,0 +1 @@
+MD5 034623542065620a3ecf969e088f5a60 ecb-1.80.tar.gz 235721
diff --git a/app-emacs/ecb/files/ecb-help.el-gentoo.patch b/app-emacs/ecb/files/ecb-help.el-gentoo.patch
new file mode 100644
index 000000000000..7b4d82fb1483
--- /dev/null
+++ b/app-emacs/ecb/files/ecb-help.el-gentoo.patch
@@ -0,0 +1,28 @@
+--- ecb-help.el 2002-08-12 14:53:10.000000000 -0500
++++ /tmp/ecb-help.el 2002-09-01 20:19:32.000000000 -0500
+@@ -57,19 +57,18 @@
+ '("html" "info"))))
+ ecb-show-help-format)))
+ (if (equal f 'info)
+- (if (file-exists-p (concat ecb-ecb-dir "ecb.info"))
+- (info (concat ecb-ecb-dir "ecb.info"))
+- (ecb-error "File %s does not exist" (concat ecb-ecb-dir "ecb.info")))
++ (if (file-exists-p "@ECBINFOFILE@")
++ (info "@ECBINFOFILE@")
++ (ecb-error "File %s does not exist" "@ECBINFOFILE@"))
+ (message "Opening ECB online-help in a web-browser...")
+- (if (file-exists-p (concat ecb-ecb-dir "ecb.html"))
++ (if (file-exists-p "@ECBHTMLFILE@")
+ (progn
+- (browse-url (concat "file://"
+- (ecb-fix-filename ecb-ecb-dir "ecb.html"))
++ (browse-url (concat "file://" "@ECBHTMLFILE@")
+ (if (boundp 'browse-url-new-window-flag)
+ browse-url-new-window-flag
+ browse-url-new-window-p))
+ (message "Opening ECB online-help in a web-browser...done"))
+- (ecb-error "File %s does not exist" (concat ecb-ecb-dir "ecb.html"))))))
++ (ecb-error "File %s does not exist" "@ECBHTMLFILE@")))))
+
+ ;;
+ ;; Problem reporting functions stolen from JDE
diff --git a/app-emacs/ecb/files/ecb.texi-gentoo.patch b/app-emacs/ecb/files/ecb.texi-gentoo.patch
new file mode 100644
index 000000000000..7df8064457cf
--- /dev/null
+++ b/app-emacs/ecb/files/ecb.texi-gentoo.patch
@@ -0,0 +1,10 @@
+--- ecb.texi.orig 2002-09-01 20:21:17.000000000 -0500
++++ ecb.texi 2002-09-01 20:21:31.000000000 -0500
+@@ -37,7 +37,6 @@
+
+ @footnotestyle end
+
+-@dircategory GNU Emacs Lisp
+ @direntry
+ * ECB: (ecb). Emacs Code Browser
+ @end direntry