diff options
Diffstat (limited to 'app-emacs/ecb')
-rw-r--r-- | app-emacs/ecb/ChangeLog | 9 | ||||
-rw-r--r-- | app-emacs/ecb/ecb-2.32-r1.ebuild | 6 | ||||
-rw-r--r-- | app-emacs/ecb/ecb-2.32-r2.ebuild | 63 | ||||
-rw-r--r-- | app-emacs/ecb/files/71ecb-gentoo.el | 5 | ||||
-rw-r--r-- | app-emacs/ecb/files/digest-ecb-2.32-r2 | 3 |
5 files changed, 82 insertions, 4 deletions
diff --git a/app-emacs/ecb/ChangeLog b/app-emacs/ecb/ChangeLog index 2e814c301c49..5d6d5945b096 100644 --- a/app-emacs/ecb/ChangeLog +++ b/app-emacs/ecb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-emacs/ecb # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ChangeLog,v 1.27 2007/01/09 12:28:35 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ChangeLog,v 1.28 2007/07/06 16:43:03 ulm Exp $ + +*ecb-2.32-r2 (06 Jul 2007) + + 06 Jul 2007; Ulrich Mueller <ulm@gentoo.org> +files/71ecb-gentoo.el, + ecb-2.32-r1.ebuild, +ecb-2.32-r2.ebuild: + Use autoload mechanism in sitefile. Emake instead of make in src_compile. + Dropped ~ppc-macos keyword. 09 Jan 2007; Christian Faulhammer <opfer@gentoo.org> -ecb-2.21.ebuild, -ecb-2.24.ebuild, -ecb-2.27.ebuild, -ecb-2.31.ebuild, -ecb-2.32.ebuild: diff --git a/app-emacs/ecb/ecb-2.32-r1.ebuild b/app-emacs/ecb/ecb-2.32-r1.ebuild index bb50ce0c874c..2854f2848f29 100644 --- a/app-emacs/ecb/ecb-2.32-r1.ebuild +++ b/app-emacs/ecb/ecb-2.32-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ecb-2.32-r1.ebuild,v 1.5 2006/08/13 08:38:10 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ecb-2.32-r1.ebuild,v 1.6 2007/07/06 16:43:03 ulm Exp $ inherit elisp @@ -9,7 +9,7 @@ HOMEPAGE="http://ecb.sourceforge.net/" SRC_URI="mirror://sourceforge/ecb/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ppc ~ppc-macos x86" +KEYWORDS="amd64 ppc x86" IUSE="java" DEPEND="virtual/emacs || ( app-emacs/cedet diff --git a/app-emacs/ecb/ecb-2.32-r2.ebuild b/app-emacs/ecb/ecb-2.32-r2.ebuild new file mode 100644 index 000000000000..a59ff3a55110 --- /dev/null +++ b/app-emacs/ecb/ecb-2.32-r2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ecb-2.32-r2.ebuild,v 1.1 2007/07/06 16:43:03 ulm Exp $ + +inherit elisp + +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="~amd64 ~ppc ~x86" +IUSE="java" + +DEPEND=" + || ( app-emacs/cedet + ( >=app-emacs/speedbar-0.14_beta4 + >=app-emacs/semantic-1.4 + >=app-emacs/eieio-0.17 ) ) + java? ( app-emacs/jde )" +RDEPEND="${DEPEND}" + +SITEFILE=71${PN}-gentoo.el + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e "s%./info-help%../../../info%" \ + -e "s%./html-help%../../../doc/${P}/html%" \ + -e "/defconst/s%ecb.info%ecb.info.gz%" \ + ecb-help.el +} + +src_compile() { + local loadpath="" + if use java; then + loadpath="${SITELISP}/elib ${SITELISP}/jde/lisp" + fi + + if has_version app-emacs/cedet; then + einfo "Building with CEDET" + emake CEDET=${SITELISP}/cedet LOADPATH="${loadpath}" \ + || die "emake failed" + else + einfo "Building with SEMANTIC, EIEIO and SPEEDBAR" + emake SEMANTIC=${SITELISP}/semantic EIEIO=${SITELISP}/eieio \ + SPEEDBAR=${SITELISP}/speedbar CEDET="" LOADPATH="${loadpath}" \ + || die "emake failed" + fi +} + +src_install() { + elisp-install ${PN} *.{el,elc} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + + insinto ${SITELISP}/${PN} + doins -r ecb-images + + dodoc NEWS README RELEASE_NOTES || die "dodoc failed" + doinfo info-help/ecb.info* + dohtml html-help/*.html +} diff --git a/app-emacs/ecb/files/71ecb-gentoo.el b/app-emacs/ecb/files/71ecb-gentoo.el new file mode 100644 index 000000000000..32f0d642c5c6 --- /dev/null +++ b/app-emacs/ecb/files/71ecb-gentoo.el @@ -0,0 +1,5 @@ + +;;; ecb site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(require 'ecb-autoloads) diff --git a/app-emacs/ecb/files/digest-ecb-2.32-r2 b/app-emacs/ecb/files/digest-ecb-2.32-r2 new file mode 100644 index 000000000000..8514827f49e2 --- /dev/null +++ b/app-emacs/ecb/files/digest-ecb-2.32-r2 @@ -0,0 +1,3 @@ +MD5 565b245f9e49e941214db256cf2b8e23 ecb-2.32.tar.gz 896382 +RMD160 e5361142bfc211a6389400536c034a32ae1998ec ecb-2.32.tar.gz 896382 +SHA256 b0b4bd5eb00fd43bb4637e3ed67220b0e981471922bf773ff992b662e6be599d ecb-2.32.tar.gz 896382 |