summaryrefslogtreecommitdiff
blob: a7f89b7fa89ba40ed49c09330d0906b256d6c310 (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
# 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-20071121.ebuild,v 1.1 2007/11/21 11:25:53 flameeyes Exp $

inherit elisp-common

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

SRC_URI="http://flameeyes.is-a-geek.org/files/${P}.tar.bz2"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE=""

RDEPEND="app-emacs/nxml-mode"

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

src_compile() { :; }

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

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

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