summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-11-24 21:25:46 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-11-24 21:25:46 +0000
commit903991c28f1ede434ec770121719814d8e48543d (patch)
tree2430b95cbbbbb23ee8bc07da4bf95447c26a32cd /app-emacs/nxml-mode
parentimport changes from Prefix overlay (diff)
downloadgentoo-2-903991c28f1ede434ec770121719814d8e48543d.tar.gz
gentoo-2-903991c28f1ede434ec770121719814d8e48543d.tar.bz2
gentoo-2-903991c28f1ede434ec770121719814d8e48543d.zip
convert to EAPI 2
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-emacs/nxml-mode')
-rw-r--r--app-emacs/nxml-mode/ChangeLog6
-rw-r--r--app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild22
2 files changed, 16 insertions, 12 deletions
diff --git a/app-emacs/nxml-mode/ChangeLog b/app-emacs/nxml-mode/ChangeLog
index 8e986db2c24c..8c8e5b7a07fe 100644
--- a/app-emacs/nxml-mode/ChangeLog
+++ b/app-emacs/nxml-mode/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emacs/nxml-mode
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-mode/ChangeLog,v 1.35 2009/11/24 21:04:34 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-mode/ChangeLog,v 1.36 2009/11/24 21:25:46 fauli Exp $
+
+ 24 Nov 2009; Christian Faulhammer <fauli@gentoo.org>
+ nxml-mode-20041004-r3.ebuild:
+ convert to EAPI 2
24 Nov 2009; Christian Faulhammer <fauli@gentoo.org>
nxml-mode-20041004-r3.ebuild:
diff --git a/app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild b/app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild
index 4c71751f6f3a..67e0b4b2f562 100644
--- a/app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild
+++ b/app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild,v 1.8 2009/11/24 21:04:34 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-mode/nxml-mode-20041004-r3.ebuild,v 1.9 2009/11/24 21:25:46 fauli Exp $
+
+EAPI=2
inherit elisp eutils
@@ -17,9 +19,7 @@ IUSE=""
SITEFILE=50${PN}-gentoo.el
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}/${PN}-info-gentoo.patch"
epatch "${WORKDIR}/${PN}-20040910-xmlschema.patch"
epatch "${FILESDIR}/xsd-regexp.el.2006-01-26.patch" # bug #188112
@@ -28,18 +28,18 @@ src_unpack() {
src_compile() {
emacs -batch -l rng-auto.el -f rng-byte-compile-load \
- || die "byte compilation failed"
- makeinfo --force nxml-mode.texi || die "makeinfo failed"
+ || die
+ makeinfo --force nxml-mode.texi || die
}
src_install() {
- elisp-install ${PN} *.el *.elc || die "elisp-install failed"
+ elisp-install ${PN} *.el *.elc || die
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
- || die "elisp-site-file-install failed"
+ || die
insinto ${SITELISP}/${PN}
- doins -r char-name || die "doins char-name failed"
+ doins -r char-name || die
insinto ${SITEETC}/${PN}
- doins -r schema || die "doins schema failed"
+ doins -r schema || die
doinfo nxml-mode.info
- dodoc README VERSION TODO NEWS || die "dodoc failed"
+ dodoc README VERSION TODO NEWS || die
}