summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-12-01 15:56:18 +0000
committerUlrich Müller <ulm@gentoo.org>2007-12-01 15:56:18 +0000
commit59dbb0968614d92e2308be50154f81d51db92857 (patch)
tree66aac6281c2abc406cf936296849abe47a1af51d /app-emacs/nxml-gentoo-schemas
parentUse SITEETC eclass variable. (diff)
downloadgentoo-2-59dbb0968614d92e2308be50154f81d51db92857.tar.gz
gentoo-2-59dbb0968614d92e2308be50154f81d51db92857.tar.bz2
gentoo-2-59dbb0968614d92e2308be50154f81d51db92857.zip
Use SITEETC eclass variable.
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'app-emacs/nxml-gentoo-schemas')
-rw-r--r--app-emacs/nxml-gentoo-schemas/ChangeLog7
-rw-r--r--app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el2
-rw-r--r--app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20071122-r1.ebuild4
3 files changed, 9 insertions, 4 deletions
diff --git a/app-emacs/nxml-gentoo-schemas/ChangeLog b/app-emacs/nxml-gentoo-schemas/ChangeLog
index beef942c9f72..8547b80e2c12 100644
--- a/app-emacs/nxml-gentoo-schemas/ChangeLog
+++ b/app-emacs/nxml-gentoo-schemas/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emacs/nxml-gentoo-schemas
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-gentoo-schemas/ChangeLog,v 1.7 2007/11/23 17:32:39 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-gentoo-schemas/ChangeLog,v 1.8 2007/12/01 15:56:18 ulm Exp $
+
+ 01 Dec 2007; Ulrich Mueller <ulm@gentoo.org>
+ files/60nxml-gentoo-schemas-gentoo.el,
+ nxml-gentoo-schemas-20071122-r1.ebuild:
+ Use SITEETC eclass variable.
*nxml-gentoo-schemas-20071122-r1 (23 Nov 2007)
diff --git a/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el b/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el
index cae317749029..4b6816257799 100644
--- a/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el
+++ b/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el
@@ -4,4 +4,4 @@
;; This must come after the nxml-mode site initialisation,
;; because rng-schema-locating-files-default is set there.
(add-to-list 'rng-schema-locating-files-default
- "/usr/share/emacs/etc/nxml-gentoo-schemas/schemas.xml")
+ "@SITEETC@/schemas.xml")
diff --git a/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20071122-r1.ebuild b/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20071122-r1.ebuild
index e1298d20a3e2..03a56af833a6 100644
--- a/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20071122-r1.ebuild
+++ b/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20071122-r1.ebuild
@@ -1,6 +1,6 @@
# 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-20071122-r1.ebuild,v 1.2 2007/11/23 17:32:39 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20071122-r1.ebuild,v 1.3 2007/12/01 15:56:18 ulm Exp $
inherit elisp
@@ -20,7 +20,7 @@ SITEFILE=60${PN}-gentoo.el
src_compile() { :; }
src_install() {
- insinto /usr/share/emacs/etc/${PN}
+ insinto ${SITEETC}/${PN}
doins schemas.xml *.rnc || die
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
}