summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-03-28 01:43:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-03-28 01:43:06 +0000
commit73ad8565fad098f59a7c46fb5e197e8e68e47c77 (patch)
tree98e547d8cb15c10cc727bac8609d169d92b04f48 /games-arcade/afternoonstalker
parentMissed this one; should be unstable (diff)
downloadgentoo-2-73ad8565fad098f59a7c46fb5e197e8e68e47c77.tar.gz
gentoo-2-73ad8565fad098f59a7c46fb5e197e8e68e47c77.tar.bz2
gentoo-2-73ad8565fad098f59a7c46fb5e197e8e68e47c77.zip
tidy; stable for x86
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-arcade/afternoonstalker')
-rw-r--r--games-arcade/afternoonstalker/ChangeLog6
-rw-r--r--games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild43
2 files changed, 33 insertions, 16 deletions
diff --git a/games-arcade/afternoonstalker/ChangeLog b/games-arcade/afternoonstalker/ChangeLog
index 673367ed87ee..dfe89077b489 100644
--- a/games-arcade/afternoonstalker/ChangeLog
+++ b/games-arcade/afternoonstalker/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/afternoonstalker
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/afternoonstalker/ChangeLog,v 1.2 2007/03/26 06:17:09 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/afternoonstalker/ChangeLog,v 1.3 2007/03/28 01:43:06 mr_bones_ Exp $
+
+ 28 Mar 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ afternoonstalker-1.1.1.ebuild:
+ tidy; stable for x86
26 Mar 2007; <tupone@gentoo.org> afternoonstalker-1.1.1.ebuild:
Added ~x86 keyword. Bug #172259 by Will Briggs
diff --git a/games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild b/games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild
index 89f1987891e2..5b0bd1ba6670 100644
--- a/games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild
+++ b/games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild,v 1.2 2007/03/26 06:17:09 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild,v 1.3 2007/03/28 01:43:06 mr_bones_ Exp $
-inherit games
+inherit autotools eutils games
DESCRIPTION="Clone of the 1981 Night Stalker video game by Mattel Electronics"
HOMEPAGE="http://www3.sympatico.ca/sarrazip/dev/afternoonstalker.html"
@@ -10,7 +10,7 @@ SRC_URI="http://www3.sympatico.ca/sarrazip/dev/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
IUSE=""
DEPEND="media-libs/libsdl
@@ -18,21 +18,34 @@ DEPEND="media-libs/libsdl
media-libs/sdl-mixer
dev-games/flatzebra"
-src_compile() {
- egamesconf || die "egamesconf failed"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \
+ -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \
+ -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \
+ src/Makefile.am \
+ || die "sed failed"
+ sed -i \
+ -e '/^docdir/d' \
+ -e '/INSTALL/d' \
+ -e '/COPYING/d' \
+ Makefile.am \
+ || die "sed failed"
+ AT_M4DIR=macros eautoreconf
+}
- emake DGAMEDATADIR="${GAMES_DATADIR}/${PN}" \
- pkgsounddir="${GAMES_DATADIR}/${PN}/sounds" \
- || die "emake failed"
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --docdir=/usr/share/doc/${PF} \
+ || die
+ emake || die "emake failed"
}
src_install() {
- dogamesbin src/${PN} || die "dogamesbin failed"
-
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r src/data/* src/images/* src/sounds || die "doins failed"
-
- dodoc AUTHORS NEWS README THANKS TODO
-
+ emake DESTDIR="${D}" install || die "emake install failed"
+ prepalldocs
prepgamesdirs
}