From 59dbb0968614d92e2308be50154f81d51db92857 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sat, 1 Dec 2007 15:56:18 +0000 Subject: Use SITEETC eclass variable. (Portage version: 2.1.4_rc4) --- app-emacs/nxml-gentoo-schemas/ChangeLog | 7 ++++++- .../nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el | 2 +- .../nxml-gentoo-schemas/nxml-gentoo-schemas-20071122-r1.ebuild | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) (limited to 'app-emacs/nxml-gentoo-schemas') 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 + 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 } -- cgit v1.2.3-65-gdbad