summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-01-25 20:46:25 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-01-25 20:46:25 +0000
commitd80f9078c7607e8657a7eab0fdf2cb4ed361d8bf (patch)
treef1fb4151032e87ac970d721795e0cdaddf6568c2 /games-action/noiz2sa
parentFix repoman warning. (diff)
downloadgentoo-2-d80f9078c7607e8657a7eab0fdf2cb4ed361d8bf.tar.gz
gentoo-2-d80f9078c7607e8657a7eab0fdf2cb4ed361d8bf.tar.bz2
gentoo-2-d80f9078c7607e8657a7eab0fdf2cb4ed361d8bf.zip
EAPI=2; tidy
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-action/noiz2sa')
-rw-r--r--games-action/noiz2sa/ChangeLog7
-rw-r--r--games-action/noiz2sa/noiz2sa-0.51a.ebuild17
2 files changed, 15 insertions, 9 deletions
diff --git a/games-action/noiz2sa/ChangeLog b/games-action/noiz2sa/ChangeLog
index ad992534232a..e19a3cfb0bd9 100644
--- a/games-action/noiz2sa/ChangeLog
+++ b/games-action/noiz2sa/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-action/noiz2sa
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/noiz2sa/ChangeLog,v 1.7 2007/03/12 13:20:37 genone Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/noiz2sa/ChangeLog,v 1.8 2010/01/25 20:46:25 mr_bones_ Exp $
+
+ 25 Jan 2010; Michael Sterrett <mr_bones_@gentoo.org> noiz2sa-0.51a.ebuild:
+ EAPI=2; tidy
12 Mar 2007; Marius Mauch <genone@gentoo.org> noiz2sa-0.51a.ebuild:
Replacing einfo with elog
diff --git a/games-action/noiz2sa/noiz2sa-0.51a.ebuild b/games-action/noiz2sa/noiz2sa-0.51a.ebuild
index 267c1c603f36..3a167d1041eb 100644
--- a/games-action/noiz2sa/noiz2sa-0.51a.ebuild
+++ b/games-action/noiz2sa/noiz2sa-0.51a.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/noiz2sa/noiz2sa-0.51a.ebuild,v 1.8 2007/03/12 13:20:37 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/noiz2sa/noiz2sa-0.51a.ebuild,v 1.9 2010/01/25 20:46:25 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="Abstract Shooting Game"
@@ -17,13 +18,15 @@ DEPEND="media-libs/sdl-mixer
>=dev-libs/libbulletml-0.0.3
virtual/opengl"
-S="${WORKDIR}/${PN}"
+S=${WORKDIR}/${PN}
-src_unpack(){
- unpack ${A}
+src_prepare(){
cd "${S}/src"
epatch "${FILESDIR}/${P}"-gcc41.patch
- sed -e "s/-lglut/-lGL/" makefile.lin > Makefile || die "sed failed"
+ sed \
+ -e "s/-lglut/-lGL/" \
+ makefile.lin > Makefile \
+ || die "sed failed"
sed -i \
-e "s:/.noiz2sa.prf:/noiz2sa.prf:" \
@@ -50,7 +53,7 @@ src_install(){
pkg_postinst() {
games_pkg_postinst
- if ! built_with_use media-libs/sdl-mixer vorbis ; then
+ if ! has_version "media-libs/sdl-mixer[vorbis]" ; then
elog "${PN} will not have sound since sdl-mixer"
elog "is built with USE=-vorbis"
elog "Please emerge sdl-mixer with USE=vorbis"