# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/0verkill/0verkill-0.16-r2.ebuild,v 1.4 2004/03/31 03:30:56 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/0verkill/0verkill-0.16-r2.ebuild,v 1.5 2004/06/03 07:03:55 mr_bones_ Exp $
inherit eutils games
epatch ${FILESDIR}/${PV}-docs.patch
epatch ${FILESDIR}/${PV}-home-overflow.patch
epatch ${FILESDIR}/${PV}-gentoo-paths.patch
- sed -i "s:data/:${GAMES_DATADIR}/${PN}/data/:" cfg.h
+ sed -i \
+ -e "s:data/:${GAMES_DATADIR}/${PN}/data/:" cfg.h \
+ || die "sed failed"
}
src_compile() {
- egamesconf `use_with X x` || die
- emake || die
+ egamesconf $(use_with X x) || die
+ emake || die "emake failed"
}
src_install() {
dogamesbin 0verkill
newgamesbin avi 0verkill-avi
newgamesbin editor 0verkill-editor
- if [ `use X` ] ; then
+ if use X ; then
dogamesbin x0verkill
newgamesbin xavi x0verkill-avi
newgamesbin xeditor x0verkill-editor
# ChangeLog for games-action/0verkill
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/0verkill/ChangeLog,v 1.7 2004/03/31 03:30:56 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/0verkill/ChangeLog,v 1.8 2004/06/03 07:03:55 mr_bones_ Exp $
+
+ 03 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ 0verkill-0.16-r2.ebuild:
+ error check sed; fix use invocation
30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org>
0verkill-0.16-r2.ebuild:
+MD5 a869187c08988a0a12c3f06d4308f0cf ChangeLog 1050
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 da3848671b5468281961df7414b03702 0verkill-0.16-r2.ebuild 1475
MD5 04be3e21d009bd5a35960e2b1a5f3493 files/0.16-docs.patch 1477
-MD5 d8950100087c6833b0b5f3db66162b99 files/0.16-gentoo-paths.patch 395
MD5 c4401c96f138fbc30fa5b9884febb7ab files/0.16-home-overflow.patch 725
MD5 032b2b4357f281b2da9c0046ada0a03a files/digest-0verkill-0.16-r2 62
-MD5 ebc2a801ed18730ec32104cc918c7c2d 0verkill-0.16-r2.ebuild 1435
-MD5 5cb4b7fe142ce86f725ffa447d094f1e ChangeLog 930
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 d8950100087c6833b0b5f3db66162b99 files/0.16-gentoo-paths.patch 395