summaryrefslogtreecommitdiff
blob: a45a99955d8439b65974563fc82140380681ad69 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/cc-mode/cc-mode-5.31.3.ebuild,v 1.2 2006/06/19 03:23:33 mkennedy Exp $

inherit elisp

IUSE=""

DESCRIPTION="An Emacs mode for editing C and other languages with similar syntax."
HOMEPAGE="http://cc-mode.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64 ~sparc"

DEPEND=""

SITEFILE="50${PN}-gentoo.el"

src_compile() {
	elisp-comp *.el || die
	makeinfo ${PN}.texi || die
}

src_install() {
	elisp-install ${PN} *.el *.elc || die
	elisp-site-file-install ${FILESDIR}/${SITEFILE}
	dodoc README NEWS
	doinfo ${PN}.info
}