summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-09-26 06:56:28 +0000
committerUlrich Müller <ulm@gentoo.org>2012-09-26 06:56:28 +0000
commit04361faeee78f4859a53e7e9069f7745f46ff184 (patch)
tree6389ad60a21980364f540a96ae28434be8b600a6 /app-emacs/nxml-svg-schemas
parentUse dev-libs/ferrisloki instead of bundled one, bug#383109. (diff)
downloadgentoo-2-04361faeee78f4859a53e7e9069f7745f46ff184.tar.gz
gentoo-2-04361faeee78f4859a53e7e9069f7745f46ff184.tar.bz2
gentoo-2-04361faeee78f4859a53e7e9069f7745f46ff184.zip
Specify LICENSE more precisely. Bump ebuild to EAPI 4.
(Portage version: 2.1.11.20/cvs/Linux x86_64)
Diffstat (limited to 'app-emacs/nxml-svg-schemas')
-rw-r--r--app-emacs/nxml-svg-schemas/ChangeLog8
-rw-r--r--app-emacs/nxml-svg-schemas/files/60nxml-svg-schemas-gentoo.el3
-rw-r--r--app-emacs/nxml-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild22
3 files changed, 16 insertions, 17 deletions
diff --git a/app-emacs/nxml-svg-schemas/ChangeLog b/app-emacs/nxml-svg-schemas/ChangeLog
index 71ec09d3d6e6..61014cc563e9 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-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 $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-svg-schemas/ChangeLog,v 1.4 2012/09/26 06:56:28 ulm Exp $
+
+ 26 Sep 2012; Ulrich Müller <ulm@gentoo.org>
+ nxml-svg-schemas-1.1.20081123.ebuild:
+ Specify LICENSE more precisely. Bump ebuild to EAPI 4.
12 Mar 2011; Ulrich Mueller <ulm@gentoo.org>
nxml-svg-schemas-1.1.20081123.ebuild:
diff --git a/app-emacs/nxml-svg-schemas/files/60nxml-svg-schemas-gentoo.el b/app-emacs/nxml-svg-schemas/files/60nxml-svg-schemas-gentoo.el
index 6f41677d3ac0..c574746e6576 100644
--- a/app-emacs/nxml-svg-schemas/files/60nxml-svg-schemas-gentoo.el
+++ b/app-emacs/nxml-svg-schemas/files/60nxml-svg-schemas-gentoo.el
@@ -1,6 +1,3 @@
-
-;;; nxml-svg-schemas site-lisp configuration
-
;; This must be executed after rng-schema-locating-files
;; is set in rng-loc (which is part of nxml-mode).
(eval-after-load "rng-loc"
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 d29ae1a587eb..9de02f062967 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,6 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 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.3 2011/03/12 14:42:45 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild,v 1.4 2012/09/26 06:56:28 ulm Exp $
+
+EAPI=4
NEED_EMACS=23
inherit elisp
@@ -11,36 +13,32 @@ HOMEPAGE="http://www.w3.org/TR/SVG11/"
# 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"
+LICENSE="HPND"
# 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=""
# 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}"
+SITEFILE="60${PN}-gentoo.el"
-src_unpack() {
- unpack ${A}
-
+src_prepare() {
# we don't need the doctype for our work
sed -i -e '/DOCTYPE grammar/d' *.rng || die "sed failed"
}
src_compile() {
- emake -f "${FILESDIR}/Makefile-trang" || die "trang failed"
+ emake -f "${FILESDIR}/Makefile-trang"
}
src_install() {
- insinto ${SITEETC}/${PN}
- doins "${FILESDIR}/schemas.xml" *.rnc || die "install failed"
+ insinto "${SITEETC}/${PN}"
+ doins "${FILESDIR}/schemas.xml" *.rnc
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
}