summaryrefslogtreecommitdiff
blob: 5616ea70dcaa03daf47da6490d85c2d4e939472c (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-doc/elisp-manual/elisp-manual-21.2.8-r1.ebuild,v 1.3 2007/07/06 17:50:24 opfer Exp $

inherit versionator

MY_PV=$(replace_version_separator 1 '-' )
DESCRIPTION="The GNU Emacs Lisp Reference Manual"
HOMEPAGE="http://ftp.gnu.org/gnu/Manuals/elisp-manual-${MY_PV}/elisp.html"
SRC_URI="mirror://gnu/Manuals/elisp-manual-${MY_PV}/info/elisp-info.tar.gz"

LICENSE="FDL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~s390 sparc x86"
IUSE=""

DEPEND=""
RDEPEND=""

S="${WORKDIR}"

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i -e '/^INFO-DIR-SECTION/s/Editors/Emacs/' elisp.info* \
		|| die "sed failed"
}

src_install() {
	doinfo elisp.info*
}