summaryrefslogtreecommitdiff
blob: 4a63da54cabd758f5a748ff7fe7ea401ffcb7ea3 (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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20070710.ebuild,v 1.3 2007/08/14 00:45:30 dberkholz Exp $

inherit elisp-common

DESCRIPTION="Extension for nxml-mode with Gentoo-specific schemas"
HOMEPAGE="http://farragut.flameeyes.is-a-geek.org/"

SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE=""

RDEPEND="app-emacs/nxml-mode"

SITEFILE=81nxml-gentoo-schemas-gentoo.el

S="${WORKDIR}"

src_unpack() { :; }

src_compile() { :; }

src_install() {
	insinto "${SITELISP}/${PN}"
	doins "${FILESDIR}/schemas.xml" "${FILESDIR}"/*.rnc

	elisp-site-file-install "${FILESDIR}/${SITEFILE}"
}

pkg_postinst() {
	elisp-site-regen
}
pkg_postrm() {
	elisp-site-regen
}