blob: c982396864de7cd45c113681b0cbb7add1d22061 (
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
32
33
34
35
36
37
38
39
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/gentoo-syntax/gentoo-syntax-9999.ebuild,v 1.12 2009/11/15 13:54:41 scarabeus Exp $
inherit elisp subversion
ESVN_REPO_URI="svn://anonsvn.gentoo.org/emacs/${PN}"
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""
DOCS="ChangeLog"
SITEFILE="50${PN}-gentoo.el"
src_compile() {
elisp_src_compile
makeinfo gentoo-syntax.texi || die
}
src_install() {
elisp-install ${PN} *.el *.elc || die
sed -e "s:@PORTDIR@:${PORTDIR}:" \
"${FILESDIR}/${SITEFILE}" >"${T}/${SITEFILE}" || die
elisp-site-file-install "${T}/${SITEFILE}" || die
doinfo gentoo-syntax.info || die
dodoc ${DOCS} || die
}
pkg_postinst() {
elisp-site-regen
elog "Some optional features may require installation of additional"
elog "packages, like app-portage/gentoolkit-dev for echangelog."
}
|