diff options
author | Ulrich Müller <ulm@gentoo.org> | 2011-03-12 14:41:55 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2011-03-12 14:41:55 +0000 |
commit | 172e81744649530efc041ce8dcb1d9cfa16da743 (patch) | |
tree | 9b4b1f680c0bdf7a8d42aefbe20d40dd1b27c86b /app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild | |
parent | Version bump for dev channel release. Remove old. (diff) | |
download | gentoo-2-172e81744649530efc041ce8dcb1d9cfa16da743.tar.gz gentoo-2-172e81744649530efc041ce8dcb1d9cfa16da743.tar.bz2 gentoo-2-172e81744649530efc041ce8dcb1d9cfa16da743.zip |
Drop dependency on app-emacs/nxml-mode.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild')
-rw-r--r-- | app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild b/app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild index 90dc14cb3831..51727ad26eee 100644 --- a/app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild +++ b/app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild,v 1.1 2008/09/22 13:09:20 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild,v 1.2 2011/03/12 14:41:55 ulm Exp $ +NEED_EMACS=23 inherit elisp DESCRIPTION="Add support for DocBook 5 schemas to NXML" @@ -13,8 +14,6 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND="|| ( >=app-emacs/nxml-mode-20041004-r3 >=virtual/emacs-23 )" - SITEFILE=60${PN}-gentoo.el src_compile() { :; } @@ -24,13 +23,3 @@ src_install() { doins "${FILESDIR}"/schemas.xml "${DISTDIR}"/docbookxi.rnc || die "install failed" elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die } - -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 -} |