summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-02-01 19:01:54 +0000
committerUlrich Müller <ulm@gentoo.org>2009-02-01 19:01:54 +0000
commitfcb29467ab72028081194c82fbed0ed3a7c228f5 (patch)
tree4367426ffb68414d4f2944851ae8d4fda70ba06e /app-emacs
parentmedia-libs/mesa: bump to 7.3, copy from the x11 overlay (diff)
downloadgentoo-2-fcb29467ab72028081194c82fbed0ed3a7c228f5.tar.gz
gentoo-2-fcb29467ab72028081194c82fbed0ed3a7c228f5.tar.bz2
gentoo-2-fcb29467ab72028081194c82fbed0ed3a7c228f5.zip
Version bump.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/emacs-daemon/ChangeLog7
-rw-r--r--app-emacs/emacs-daemon/emacs-daemon-0.12.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/app-emacs/emacs-daemon/ChangeLog b/app-emacs/emacs-daemon/ChangeLog
index 804b43ecafcc..3c1f585c0ade 100644
--- a/app-emacs/emacs-daemon/ChangeLog
+++ b/app-emacs/emacs-daemon/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emacs/emacs-daemon
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.5 2009/01/14 21:47:13 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.6 2009/02/01 19:01:54 ulm Exp $
+
+*emacs-daemon-0.12 (01 Feb 2009)
+
+ 01 Feb 2009; Ulrich Mueller <ulm@gentoo.org> +emacs-daemon-0.12.ebuild:
+ Version bump.
*emacs-daemon-0.11 (14 Jan 2009)
diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.12.ebuild b/app-emacs/emacs-daemon/emacs-daemon-0.12.ebuild
new file mode 100644
index 000000000000..91de399961bc
--- /dev/null
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.12.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/emacs-daemon-0.12.ebuild,v 1.1 2009/02/01 19:01:54 ulm Exp $
+
+inherit elisp
+
+DESCRIPTION="Gentoo support for Emacs running as a server in the background"
+HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=virtual/emacs-23"
+RDEPEND="${DEPEND}
+ >=sys-apps/openrc-0.3.0-r1"
+
+SITEFILE="10${PN}-gentoo.el"
+
+pkg_setup() {
+ local has_daemon=$(${EMACS} ${EMACSFLAGS} \
+ --eval "(princ (fboundp 'daemonp))")
+ if [ "${has_daemon}" != t ]; then
+ ewarn "Your current Emacs version does not support running as a daemon"
+ ewarn "which is required for ${CATEGORY}/${PN}."
+ ewarn "Use \"eselect emacs\" to select an Emacs version >= 23."
+ fi
+}
+
+src_compile() { :; }
+
+src_install() {
+ newinitd emacs.rc emacs || die
+ newconfd emacs.conf emacs || die
+ exeinto /usr/libexec/emacs
+ doexe emacs-wrapper.sh || die
+ elisp-site-file-install "${SITEFILE}" || die
+ keepdir /var/run/emacs || die
+ dodoc README ChangeLog || die
+}