summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/ecb/ecb-1.96.ebuild')
-rw-r--r--app-emacs/ecb/ecb-1.96.ebuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/app-emacs/ecb/ecb-1.96.ebuild b/app-emacs/ecb/ecb-1.96.ebuild
index 569675b24272..865565d29fc7 100644
--- a/app-emacs/ecb/ecb-1.96.ebuild
+++ b/app-emacs/ecb/ecb-1.96.ebuild
@@ -1,17 +1,17 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ecb-1.96.ebuild,v 1.2 2003/09/22 23:59:00 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ecb-1.96.ebuild,v 1.3 2004/04/06 03:45:41 vapier Exp $
-inherit elisp
-
-IUSE="java"
+inherit elisp eutils
DESCRIPTION="ECB is a source code browser for Emacs"
HOMEPAGE="http://ecb.sourceforge.net/"
SRC_URI="mirror://sourceforge/ecb/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
+IUSE="java"
DEPEND="virtual/emacs
>=app-emacs/speedbar-0.14_beta4
@@ -19,8 +19,6 @@ DEPEND="virtual/emacs
>=app-emacs/eieio-0.17
java? ( app-emacs/jde )"
-S="${WORKDIR}/${P}"
-
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/ecb-help.el-${P}-gentoo.diff
@@ -30,7 +28,7 @@ src_unpack() {
src_compile() {
local my_loadpath="${SITELISP}/semantic ${SITELISP}/eieio"
- [ "`use java`" ] \
+ use java \
&& my_loadpath="${my_loadpath} ${SITELISP}/elib ${SITELISP}/jde/lisp"
make \
LOADPATH="${my_loadpath}" \