summaryrefslogtreecommitdiff
blob: aea3bf775258bd075d0e6d4c4e74a577956f1bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/remember/remember-1.9.ebuild,v 1.4 2007/02/28 17:00:55 blubb Exp $

inherit elisp

DESCRIPTION="Simplify writing short notes in emacs"
HOMEPAGE="http://www.emacswiki.org/cgi-bin/wiki/RememberMode"

# Upstream releases

SRC_URI="http://download.gna.org/remember-el/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="bbdb planner"
RDEPEND="virtual/emacs"
DEPEND="${RDEPEND}
	sys-apps/texinfo
	bbdb? ( app-emacs/bbdb )
	planner? ( app-emacs/planner )"

SITEFILE=50remember-gentoo.el

src_compile() {
	emake || die
}

src_install() {
	doinfo remember-el.info
	dodoc ChangeLog
	elisp-install ${PN} *.{el,elc}
	elisp-site-file-install ${FILESDIR}/${SITEFILE}
}

pkg_postinst() {
	elisp-site-regen
}

pkg_postrm() {
	elisp-site-regen
}