summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-03-02 21:40:12 +0000
committerUlrich Müller <ulm@gentoo.org>2009-03-02 21:40:12 +0000
commit07781d45fd7dd71b5a63fb524294d86510c89ef3 (patch)
tree1f36a8ac16edd8e3ee656e762d9ee8a33cde14c3 /app-emacs/jde
parentFilter out -Werror from compiler flags. Reported by Diego Pettenò <flameeyes... (diff)
downloadgentoo-2-07781d45fd7dd71b5a63fb524294d86510c89ef3.tar.gz
gentoo-2-07781d45fd7dd71b5a63fb524294d86510c89ef3.tar.bz2
gentoo-2-07781d45fd7dd71b5a63fb524294d86510c89ef3.zip
Add some "die" commands.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'app-emacs/jde')
-rw-r--r--app-emacs/jde/ChangeLog7
-rw-r--r--app-emacs/jde/jde-2.3.5.1.ebuild20
2 files changed, 15 insertions, 12 deletions
diff --git a/app-emacs/jde/ChangeLog b/app-emacs/jde/ChangeLog
index 0d2524f5bbd8..aee7786d4c5c 100644
--- a/app-emacs/jde/ChangeLog
+++ b/app-emacs/jde/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-emacs/jde
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/ChangeLog,v 1.29 2008/05/01 19:16:44 ulm Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/ChangeLog,v 1.30 2009/03/02 21:40:12 ulm Exp $
+
+ 02 Mar 2009; Ulrich Mueller <ulm@gentoo.org> jde-2.3.5.1.ebuild:
+ Add some "die" commands.
01 May 2008; Ulrich Mueller <ulm@gentoo.org> -files/2.3.5-70jde-gentoo.el,
-files/2.3.5.1-70jde-gentoo.el,
diff --git a/app-emacs/jde/jde-2.3.5.1.ebuild b/app-emacs/jde/jde-2.3.5.1.ebuild
index 5ee8b2e35660..a8966ef3f85c 100644
--- a/app-emacs/jde/jde-2.3.5.1.ebuild
+++ b/app-emacs/jde/jde-2.3.5.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/jde-2.3.5.1.ebuild,v 1.7 2008/05/01 19:16:44 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/jde-2.3.5.1.ebuild,v 1.8 2009/03/02 21:40:12 ulm Exp $
inherit elisp
@@ -18,7 +18,7 @@ DEPEND="app-emacs/elib
RDEPEND="${DEPEND}
>=virtual/jdk-1.3"
-SITEFILE=70${PN}-gentoo.el
+SITEFILE="70${PN}-gentoo.el"
src_compile() {
cd "${S}"/lisp
@@ -26,19 +26,19 @@ src_compile() {
(load "${SITELISP}/cedet/common/cedet")
(add-to-list 'load-path "$PWD")
EOF
- emacs -batch -l jde-compile-script-init -f batch-byte-compile *.el
+ emacs -batch -l jde-compile-script-init -f batch-byte-compile *.el || die
}
src_install() {
dodir ${SITELISP}/${PN}
- cp -r java "${D}"/${SITELISP}/${PN}/
+ cp -r java "${D}"/${SITELISP}/${PN}/ || die
dodir /usr/share/doc/${P}
- cp -r doc/* "${D}"/usr/share/doc/${P}/
+ cp -r doc/* "${D}"/usr/share/doc/${P}/ || die
cd "${S}"/lisp
- elisp-install ${PN}/lisp *.el *.elc *.bnf
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ elisp-install ${PN}/lisp *.el *.elc *.bnf || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
dodoc ChangeLog ReleaseNotes.txt
- find "${D}" -type f -print0 |xargs -0 chmod 644
+ find "${D}" -type f -print0 | xargs -0 chmod 644
exeinto /usr/bin
- doexe jtags*
+ doexe jtags* || die
}