summaryrefslogtreecommitdiff
blob: 529b201a31dc8f41e5fddaa4d0cd3400489ad9c8 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/paredit/paredit-20-r1.ebuild,v 1.1 2007/09/15 23:55:17 ulm Exp $

inherit elisp

DESCRIPTION="Minor mode for performing structured editing of S-expressions"
HOMEPAGE="http://mumble.net/~campbell/emacs/
	http://www.emacswiki.org/cgi-bin/wiki/ParEdit"
SRC_URI="http://mumble.net/~campbell/emacs/${P}.el
	http://mumble.net/~campbell/emacs/${P}.html"

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

SITEFILE=50${PN}-gentoo.el

S="${WORKDIR}"

src_unpack() {
	cp "${DISTDIR}/${P}.el" ${PN}.el || die "cp ${P}.el failed"
	cp "${DISTDIR}/${P}.html" ${PN}.html || die "cp ${P}.html failed"
}

src_install() {
	elisp-install ${PN} *.el *.elc
	elisp-site-file-install "${FILESDIR}/${SITEFILE}"
	dohtml *.html
}