diff options
author | Ulrich Müller <ulm@gentoo.org> | 2010-01-31 11:45:12 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2010-01-31 11:45:12 +0000 |
commit | d9bbbdfca3f0c6cf04a3c448659df5d40133b6c8 (patch) | |
tree | 37d5de4c4a0f8e73114ba2a3d804c4ba1d53a6d7 /app-emacs | |
parent | Version bump, port to fakegem ppc and x86 need to re-keyword crack for this t... (diff) | |
download | gentoo-2-d9bbbdfca3f0c6cf04a3c448659df5d40133b6c8.tar.gz gentoo-2-d9bbbdfca3f0c6cf04a3c448659df5d40133b6c8.tar.bz2 gentoo-2-d9bbbdfca3f0c6cf04a3c448659df5d40133b6c8.zip |
Add prefix keywords, change EAPI to 3. Move site file to canonical name.
(Portage version: 2.2_rc62/cvs/Linux i686)
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/ecb/ChangeLog | 10 | ||||
-rw-r--r-- | app-emacs/ecb/ecb-2.40-r1.ebuild | 54 | ||||
-rw-r--r-- | app-emacs/ecb/ecb-2.40.ebuild | 6 | ||||
-rw-r--r-- | app-emacs/ecb/files/70ecb-gentoo.el (renamed from app-emacs/ecb/files/71ecb-gentoo.el) | 3 |
4 files changed, 65 insertions, 8 deletions
diff --git a/app-emacs/ecb/ChangeLog b/app-emacs/ecb/ChangeLog index 4c3878f67336..ca37ffbf28b7 100644 --- a/app-emacs/ecb/ChangeLog +++ b/app-emacs/ecb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emacs/ecb -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ChangeLog,v 1.43 2009/07/16 17:27:57 fauli Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ChangeLog,v 1.44 2010/01/31 11:45:10 ulm Exp $ + +*ecb-2.40-r1 (31 Jan 2010) + + 31 Jan 2010; Ulrich Mueller <ulm@gentoo.org> +files/70ecb-gentoo.el, + ecb-2.40.ebuild, -files/71ecb-gentoo.el, +ecb-2.40-r1.ebuild: + Add prefix keywords, change EAPI to 3. Move site file to canonical name. 16 Jul 2009; Christian Faulhammer <fauli@gentoo.org> -ecb-2.32-r3.ebuild: clean up diff --git a/app-emacs/ecb/ecb-2.40-r1.ebuild b/app-emacs/ecb/ecb-2.40-r1.ebuild new file mode 100644 index 000000000000..1e2fb6af7579 --- /dev/null +++ b/app-emacs/ecb/ecb-2.40-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ecb-2.40-r1.ebuild,v 1.1 2010/01/31 11:45:10 ulm Exp $ + +EAPI=3 + +inherit elisp eutils + +DESCRIPTION="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 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="java" + +DEPEND=">=app-emacs/cedet-1.0_pre6 + java? ( app-emacs/jde )" +RDEPEND="${DEPEND}" + +SITEFILE="70${PN}-gentoo.el" + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.32-gentoo.patch" + sed -i -e "s:@PF@:${PF}:" ecb-help.el || die "sed failed" +} + +src_compile() { + local loadpath="" sl=${EPREFIX}${SITELISP} + if use java; then + loadpath="${sl}/elib ${sl}/jde ${sl}/jde/lisp" + fi + + emake CEDET="${sl}/cedet" LOADPATH="${loadpath}" || die "emake failed" +} + +src_install() { + elisp_src_install + + insinto "${SITEETC}/${PN}" + doins -r ecb-images || die + + doinfo info-help/ecb.info* || die + dohtml html-help/*.html || die + dodoc NEWS README RELEASE_NOTES || die +} + +pkg_postinst() { + elisp-site-regen + elog "ECB is now autoloaded in site-gentoo.el. Add the line" + elog " (require 'ecb)" + elog "to your ~/.emacs file to enable all features on Emacs startup." +} diff --git a/app-emacs/ecb/ecb-2.40.ebuild b/app-emacs/ecb/ecb-2.40.ebuild index fcc7d0237d4f..129b4a40b271 100644 --- a/app-emacs/ecb/ecb-2.40.ebuild +++ b/app-emacs/ecb/ecb-2.40.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ecb-2.40.ebuild,v 1.4 2009/07/16 16:40:22 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ecb-2.40.ebuild,v 1.5 2010/01/31 11:45:10 ulm Exp $ inherit elisp eutils @@ -17,7 +17,7 @@ DEPEND=">=app-emacs/cedet-1.0_pre6 java? ( app-emacs/jde )" RDEPEND="${DEPEND}" -SITEFILE="71${PN}-gentoo.el" +SITEFILE="70${PN}-gentoo.el" src_unpack() { unpack ${A} diff --git a/app-emacs/ecb/files/71ecb-gentoo.el b/app-emacs/ecb/files/70ecb-gentoo.el index 32f0d642c5c6..bc71f7c18e94 100644 --- a/app-emacs/ecb/files/71ecb-gentoo.el +++ b/app-emacs/ecb/files/70ecb-gentoo.el @@ -1,5 +1,2 @@ - -;;; ecb site-lisp configuration - (add-to-list 'load-path "@SITELISP@") (require 'ecb-autoloads) |