summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emacs/nxml-gentoo-schemas/ChangeLog8
-rw-r--r--app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20090527.ebuild37
2 files changed, 44 insertions, 1 deletions
diff --git a/app-emacs/nxml-gentoo-schemas/ChangeLog b/app-emacs/nxml-gentoo-schemas/ChangeLog
index b4dc24b2a9a2..78716084bc38 100644
--- a/app-emacs/nxml-gentoo-schemas/ChangeLog
+++ b/app-emacs/nxml-gentoo-schemas/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emacs/nxml-gentoo-schemas
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-gentoo-schemas/ChangeLog,v 1.16 2009/01/29 02:35:57 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-gentoo-schemas/ChangeLog,v 1.17 2009/05/27 22:29:08 flameeyes Exp $
+
+*nxml-gentoo-schemas-20090527 (27 May 2009)
+
+ 27 May 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +nxml-gentoo-schemas-20090527.ebuild:
+ After more than an year.. some kind of update.
29 Jan 2009; Christian Faulhammer <fauli@gentoo.org>
-nxml-gentoo-schemas-20080301.ebuild:
diff --git a/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20090527.ebuild b/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20090527.ebuild
new file mode 100644
index 000000000000..8d319b9123ca
--- /dev/null
+++ b/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20090527.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2009 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-20090527.ebuild,v 1.1 2009/05/27 22:29:08 flameeyes Exp $
+
+inherit elisp
+
+DESCRIPTION="Extension for nxml-mode with Gentoo-specific schemas"
+HOMEPAGE="http://blog.flameeyes.eu/"
+SRC_URI="http://www.flameeyes.eu/files/${P}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="|| ( >=app-emacs/nxml-mode-20041004-r3 >=virtual/emacs-23 )"
+
+SITEFILE=60${PN}-gentoo.el
+
+src_compile() { :; }
+
+src_install() {
+ insinto ${SITEETC}/${PN}
+ doins schemas.xml *.rnc || die "install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ dodoc DONATING
+}
+
+pkg_postinst () {
+ elisp-site-regen
+
+ if [ $(emacs -batch -q --eval "(princ (fboundp 'nxml-mode))") = nil ]; then
+ ewarn "This package needs nxml-mode. You should either install"
+ ewarn "app-emacs/nxml-mode, or use \"eselect emacs\" to select"
+ ewarn "an Emacs version >= 23."
+ fi
+}