summaryrefslogtreecommitdiff
blob: a194fa9c715bd8e1e6611ca8a2b21d0f62877336 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit elisp

DESCRIPTION="TECO interpreter for GNU Emacs"
HOMEPAGE="http://www.emacswiki.org/emacs/TECO"
# taken from: http://www.emacswiki.org/emacs/teco.el
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.bz2"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

ELISP_PATCHES="${P}-minibuffer-prompt.patch"
SITEFILE="50${PN}-gentoo.el"

pkg_postinst() {
	elisp-site-regen
	elog "To be able to invoke Teco directly, define a key binding"
	elog "for teco:command in your ~/.emacs file, e.g.:"
	elog "  (global-set-key \"\\C-z\" 'teco:command)"
	elog "See ${SITELISP}/${PN}/teco.el for documentation."
}