summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/planner/planner-3.99.ebuild')
-rw-r--r--app-emacs/planner/planner-3.99.ebuild25
1 files changed, 13 insertions, 12 deletions
diff --git a/app-emacs/planner/planner-3.99.ebuild b/app-emacs/planner/planner-3.99.ebuild
index 0c71d86..5d595da 100644
--- a/app-emacs/planner/planner-3.99.ebuild
+++ b/app-emacs/planner/planner-3.99.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.emacswiki.org/cgi-bin/wiki/PlannerMode"
# Upstream sources are not reliably available, so we use the Debian
# project's source archives
-SRC_URI="http://www.mwolson.org/static/dist/planner-muse-latest.tar.gz"
+SRC_URI="http://www.mwolson.org/static/dist/planner-latest.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
@@ -21,22 +21,23 @@ DEPEND="app-emacs/muse
SITEFILE=80planner-gentoo.el
-S=${WORKDIR}/planner-muse
+S=${WORKDIR}/${PN}
src_compile() {
- rm planner-gnats.el
- rm planner-ical.el
- rm planner-vm.el
- rm planner-w3m.el
- rm planner-wl.el
- rm planner-xtla.el
- EMACSLOADPATH="/usr/share/emacs/site-lisp/muse:/usr/share/emacs/21.4/lisp/:${S}" elisp-compile *.el
- makeinfo planner-el.texi || die
+ emake || die
}
src_install() {
+ doinfo planner-el.info
+ dodoc COMMENTARY
elisp-install ${PN} *.{el,elc}
elisp-site-file-install ${FILESDIR}/${SITEFILE}
- dodoc ChangeLog.* PLANNER-README
- doinfo planner-el.info*
+}
+
+pkg_postinst() {
+ elisp-site-regen
+}
+
+pkg_postrm() {
+ elisp-site-regen
}