diff options
author | Ulrich Müller <ulm@gentoo.org> | 2011-03-12 14:42:45 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2011-03-12 14:42:45 +0000 |
commit | 9e20400f7f4d9b07b2858061fd7a8cf5da6d210d (patch) | |
tree | 6fc4cfad577c2494b3ba38638c0e8f45d072b6ad /app-emacs/nxml-svg-schemas | |
parent | Drop dependency on app-emacs/nxml-mode. (diff) | |
download | gentoo-2-9e20400f7f4d9b07b2858061fd7a8cf5da6d210d.tar.gz gentoo-2-9e20400f7f4d9b07b2858061fd7a8cf5da6d210d.tar.bz2 gentoo-2-9e20400f7f4d9b07b2858061fd7a8cf5da6d210d.zip |
Drop dependency on app-emacs/nxml-mode.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'app-emacs/nxml-svg-schemas')
-rw-r--r-- | app-emacs/nxml-svg-schemas/ChangeLog | 8 | ||||
-rw-r--r-- | app-emacs/nxml-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild | 22 |
2 files changed, 10 insertions, 20 deletions
diff --git a/app-emacs/nxml-svg-schemas/ChangeLog b/app-emacs/nxml-svg-schemas/ChangeLog index 3acd26f47c95..71ec09d3d6e6 100644 --- a/app-emacs/nxml-svg-schemas/ChangeLog +++ b/app-emacs/nxml-svg-schemas/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emacs/nxml-svg-schemas -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-svg-schemas/ChangeLog,v 1.2 2008/11/26 10:02:11 armin76 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-svg-schemas/ChangeLog,v 1.3 2011/03/12 14:42:45 ulm Exp $ + + 12 Mar 2011; Ulrich Mueller <ulm@gentoo.org> + nxml-svg-schemas-1.1.20081123.ebuild: + Drop dependency on app-emacs/nxml-mode. 26 Nov 2008; Raúl Porcel <armin76@gentoo.org> nxml-svg-schemas-1.1.20081123.ebuild: diff --git a/app-emacs/nxml-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild b/app-emacs/nxml-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild index dff9692bed61..d29ae1a587eb 100644 --- a/app-emacs/nxml-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild +++ b/app-emacs/nxml-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild @@ -1,35 +1,31 @@ -# 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-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild,v 1.2 2008/11/26 10:02:11 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild,v 1.3 2011/03/12 14:42:45 ulm Exp $ +NEED_EMACS=23 inherit elisp DESCRIPTION="Extension for nxml-mode with SVG 1.1 schemas" HOMEPAGE="http://www.w3.org/TR/SVG11/" - # original SRC_URI is http://www.w3.org/Graphics/SVG/1.1/rng/rng.zip # but since it's unversioned, I versioned it and got it locally. SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/w3c-svg-rng-${PV}.zip" # This is truly as-is! LICENSE="as-is" - # In a future we might have 1.2 schemas too, but for now we can only # install this one anyway because the schemas.xml syntax is not # sophisticated enough. SLOT="1.1" - KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND="|| ( >=app-emacs/nxml-mode-20041004-r3 >=virtual/emacs-23 )" - # Yes this requires Java, but I'd rather not repackage this, if you # know something better in C, I'll be glad to use that. DEPEND="app-text/trang" +RDEPEND="" SITEFILE=60${PN}-gentoo.el - S="${WORKDIR}" src_unpack() { @@ -48,13 +44,3 @@ src_install() { doins "${FILESDIR}/schemas.xml" *.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 -} |