summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-05-14 14:26:09 +0000
committerUlrich Müller <ulm@gentoo.org>2010-05-14 14:26:09 +0000
commit7224266eefcc2b3548000ec79765ac923a3fe0c7 (patch)
tree6674696227fc168c9b5d42258370a4be190f72aa
parentCorrect Version (diff)
downloadgentoo-2-7224266eefcc2b3548000ec79765ac923a3fe0c7.tar.gz
gentoo-2-7224266eefcc2b3548000ec79765ac923a3fe0c7.tar.bz2
gentoo-2-7224266eefcc2b3548000ec79765ac923a3fe0c7.zip
Initial import: New virtual for CEDET in GNU Emacs.
(Portage version: 2.2_rc67/cvs/Linux i686)
-rw-r--r--virtual/emacs-cedet/ChangeLog13
-rw-r--r--virtual/emacs-cedet/emacs-cedet-0.ebuild30
-rw-r--r--virtual/emacs-cedet/metadata.xml5
3 files changed, 48 insertions, 0 deletions
diff --git a/virtual/emacs-cedet/ChangeLog b/virtual/emacs-cedet/ChangeLog
new file mode 100644
index 000000000000..10dcde874d06
--- /dev/null
+++ b/virtual/emacs-cedet/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for virtual/emacs-cedet
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/virtual/emacs-cedet/ChangeLog,v 1.1 2010/05/14 14:26:09 ulm Exp $
+
+*emacs-cedet-0 (14 May 2010)
+
+ 14 May 2010; Ulrich Mueller <ulm@gentoo.org> +emacs-cedet-0.ebuild,
+ +metadata.xml:
+ Initial import: New virtual for CEDET in GNU Emacs. This is needed because
+ Emacs versions >=23.2 already include CEDET. The package name of the virtual
+ is prefixed with "emacs-", in order to avoid possible namespace collisions
+ with XEmacs. Ebuild contributed by me.
+
diff --git a/virtual/emacs-cedet/emacs-cedet-0.ebuild b/virtual/emacs-cedet/emacs-cedet-0.ebuild
new file mode 100644
index 000000000000..9f26ae107cb1
--- /dev/null
+++ b/virtual/emacs-cedet/emacs-cedet-0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/virtual/emacs-cedet/emacs-cedet-0.ebuild,v 1.1 2010/05/14 14:26:09 ulm Exp $
+
+DESCRIPTION="Virtual for the Collection of Emacs Development Environment Tools"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+# CEDET is included with GNU Emacs 23.2 or later.
+RDEPEND="|| ( app-emacs/cedet
+ >=app-editors/emacs-23.2
+ >=app-editors/emacs-vcs-23.2 )"
+
+DEPEND="${RDEPEND}
+ virtual/emacs"
+
+pkg_setup () {
+ # Test if CEDET is available with the actual (eselected) Emacs.
+ if ! emacs -batch -q --eval "(require 'cedet)"; then
+ eerror "virtual/${P} requires Emacs with CEDET."
+ eerror "You should either install package app-emacs/cedet,"
+ eerror "or use \"eselect emacs\" to select an Emacs version >= 23.2."
+ die "CEDET not found."
+ fi
+}
diff --git a/virtual/emacs-cedet/metadata.xml b/virtual/emacs-cedet/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/virtual/emacs-cedet/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>