From 07781d45fd7dd71b5a63fb524294d86510c89ef3 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Mon, 2 Mar 2009 21:40:12 +0000 Subject: Add some "die" commands. (Portage version: 2.2_rc23/cvs/Linux i686) --- app-emacs/jde/ChangeLog | 7 +++++-- app-emacs/jde/jde-2.3.5.1.ebuild | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 12 deletions(-) (limited to 'app-emacs/jde') 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 jde-2.3.5.1.ebuild: + Add some "die" commands. 01 May 2008; Ulrich Mueller -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 } -- cgit v1.2.3-65-gdbad