summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2011-04-12 05:40:30 +0000
committerUlrich Müller <ulm@gentoo.org>2011-04-12 05:40:30 +0000
commite0f93615a690cf41cf360f56eb1c55b826dd5f17 (patch)
tree248928906241ecc6bfc5ecc7d55fd83f6e5a293e /app-emacs/calfw
parentAdd prefix support, bump EAPI to 3, add prefix keywords (diff)
downloadgentoo-2-e0f93615a690cf41cf360f56eb1c55b826dd5f17.tar.gz
gentoo-2-e0f93615a690cf41cf360f56eb1c55b826dd5f17.tar.bz2
gentoo-2-e0f93615a690cf41cf360f56eb1c55b826dd5f17.zip
Use default functions of elisp.eclass. Add a site-init file.
(Portage version: 2.1.9.45/cvs/Linux x86_64)
Diffstat (limited to 'app-emacs/calfw')
-rw-r--r--app-emacs/calfw/ChangeLog8
-rw-r--r--app-emacs/calfw/calfw-0.1-r1.ebuild33
-rw-r--r--app-emacs/calfw/files/50calfw-gentoo.el2
-rw-r--r--app-emacs/calfw/metadata.xml3
4 files changed, 44 insertions, 2 deletions
diff --git a/app-emacs/calfw/ChangeLog b/app-emacs/calfw/ChangeLog
index 6227599bf014..74f920003efe 100644
--- a/app-emacs/calfw/ChangeLog
+++ b/app-emacs/calfw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emacs/calfw
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/calfw/ChangeLog,v 1.1 2011/04/10 16:47:10 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/calfw/ChangeLog,v 1.2 2011/04/12 05:40:30 ulm Exp $
+
+*calfw-0.1-r1 (12 Apr 2011)
+
+ 12 Apr 2011; Ulrich Mueller <ulm@gentoo.org> +files/50calfw-gentoo.el,
+ +calfw-0.1-r1.ebuild, metadata.xml:
+ Use default functions of elisp.eclass. Add a site-init file.
*calfw-0.1 (10 Apr 2011)
diff --git a/app-emacs/calfw/calfw-0.1-r1.ebuild b/app-emacs/calfw/calfw-0.1-r1.ebuild
new file mode 100644
index 000000000000..2dc8f41817e9
--- /dev/null
+++ b/app-emacs/calfw/calfw-0.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/calfw/calfw-0.1-r1.ebuild,v 1.1 2011/04/12 05:40:30 ulm Exp $
+
+EAPI=3
+NEED_EMACS=22
+
+inherit elisp eutils
+
+DESCRIPTION="A calendar framework for Emacs"
+HOMEPAGE="https://github.com/kiwanami/emacs-calfw"
+SRC_URI="https://github.com/kiwanami/emacs-calfw/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="howm"
+
+DEPEND="howm? ( app-emacs/howm )"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_unpack() {
+ unpack ${A}
+ mv kiwanami-emacs-calfw-* ${P} || die
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.1-cl.patch
+ epatch "${FILESDIR}"/${PN}-0.1-howm-menu.patch
+ use howm || rm -f calfw-howm.el
+}
diff --git a/app-emacs/calfw/files/50calfw-gentoo.el b/app-emacs/calfw/files/50calfw-gentoo.el
new file mode 100644
index 000000000000..f35fde6b60c4
--- /dev/null
+++ b/app-emacs/calfw/files/50calfw-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'cfw:open-calendar-buffer "calfw" "Open a calendar buffer simply." t)
diff --git a/app-emacs/calfw/metadata.xml b/app-emacs/calfw/metadata.xml
index 9b2c04f99f9d..f4e8f7fd429e 100644
--- a/app-emacs/calfw/metadata.xml
+++ b/app-emacs/calfw/metadata.xml
@@ -6,6 +6,7 @@
<email>naota@gentoo.org</email>
</maintainer>
<use>
- <flag name='howm'>Add support for app-emacs/howm</flag>
+ <flag name='howm'>Add support for the <pkg>app-emacs/howm</pkg>
+ note-taking tool</flag>
</use>
</pkgmetadata>