summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20110309.ebuild')
-rw-r--r--app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20110309.ebuild15
1 files changed, 2 insertions, 13 deletions
diff --git a/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20110309.ebuild b/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20110309.ebuild
index 0aa3473e7bac..22fa02e1facc 100644
--- a/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20110309.ebuild
+++ b/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20110309.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2011 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-20110309.ebuild,v 1.1 2011/03/09 16:12:10 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20110309.ebuild,v 1.2 2011/03/12 14:42:13 ulm Exp $
+NEED_EMACS=23
inherit elisp
DESCRIPTION="Extension for nxml-mode with Gentoo-specific schemas"
@@ -13,8 +14,6 @@ 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() { :; }
@@ -25,13 +24,3 @@ src_install() {
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
-}