-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild,v 1.5 2004/06/24 22:15:11 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild,v 1.6 2006/11/23 20:34:16 nyhm Exp $
inherit eutils games
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 sparc ~ppc ~amd64"
+KEYWORDS="~amd64 ~ppc sparc x86"
IUSE=""
DEPEND="media-libs/libsdl"
-S="${WORKDIR}/yar-${PV}"
+S=${WORKDIR}/yar-${PV}
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}-math.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-math.patch
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog README TODO
prepgamesdirs
}