summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-12-08 21:45:09 +0000
committerUlrich Müller <ulm@gentoo.org>2008-12-08 21:45:09 +0000
commitda247fea5e440f2f9faa59967e97ab453f7d543d (patch)
tree4a880f60522b16490971d1764b1617506581f201 /app-emacs/emacs-daemon
parentstable amd64, bug 250219 (diff)
downloadhistorical-da247fea5e440f2f9faa59967e97ab453f7d543d.tar.gz
historical-da247fea5e440f2f9faa59967e97ab453f7d543d.tar.bz2
historical-da247fea5e440f2f9faa59967e97ab453f7d543d.zip
Version bump.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.27-gentoo-r4 i686
Diffstat (limited to 'app-emacs/emacs-daemon')
-rw-r--r--app-emacs/emacs-daemon/ChangeLog7
-rw-r--r--app-emacs/emacs-daemon/emacs-daemon-0.8.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/app-emacs/emacs-daemon/ChangeLog b/app-emacs/emacs-daemon/ChangeLog
index 02b5821cf775..eb699039fe13 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.1 2008/11/30 10:43:39 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.2 2008/12/08 21:45:09 ulm Exp $
+
+*emacs-daemon-0.8 (08 Dec 2008)
+
+ 08 Dec 2008; Ulrich Mueller <ulm@gentoo.org> +emacs-daemon-0.8.ebuild:
+ Version bump.
*emacs-daemon-0.7 (30 Nov 2008)
diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.8.ebuild b/app-emacs/emacs-daemon/emacs-daemon-0.8.ebuild
new file mode 100644
index 000000000000..8ab6ca022809
--- /dev/null
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.8.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 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.8.ebuild,v 1.1 2008/12/08 21:45:09 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
+}