summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-10-22 06:22:43 +0000
committerMike Frysinger <vapier@gentoo.org>2006-10-22 06:22:43 +0000
commit67b78e9e29b75a69b9f3943019e10c23f4521aa1 (patch)
tree46c24c1640c8aaf19ce0c9fbaa7c94417fe737b9
parentVersion bump #151529 by Jesse Adelman. (diff)
downloadgentoo-2-67b78e9e29b75a69b9f3943019e10c23f4521aa1.tar.gz
gentoo-2-67b78e9e29b75a69b9f3943019e10c23f4521aa1.tar.bz2
gentoo-2-67b78e9e29b75a69b9f3943019e10c23f4521aa1.zip
touchups/stabilize
(Portage version: 2.1.2_pre3-r5)
-rw-r--r--games-action/powermanga/powermanga-0.80.ebuild23
1 files changed, 10 insertions, 13 deletions
diff --git a/games-action/powermanga/powermanga-0.80.ebuild b/games-action/powermanga/powermanga-0.80.ebuild
index 626bafa9bc29..fa5d0135371b 100644
--- a/games-action/powermanga/powermanga-0.80.ebuild
+++ b/games-action/powermanga/powermanga-0.80.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.80.ebuild,v 1.5 2006/09/28 20:52:41 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.80.ebuild,v 1.6 2006/10/22 06:22:43 vapier Exp $
inherit eutils games
@@ -10,7 +10,7 @@ SRC_URI="http://linux.tlk.fr/games/Powermanga/download/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86"
+KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND=">=media-libs/libsdl-0.11.0
@@ -25,18 +25,17 @@ pkg_setup() {
}
src_unpack() {
- local f
unpack ${A}
cd "${S}"
sed -i -e "/null/d" graphics/Makefile.in || die "sed failed"
sed -i -e "/zozo/d" texts/text_en.txt || die "sed failed"
- for f in src/assembler.S src/assembler_opt.S
- do
- cat >> $f <<-EOF
-#ifdef __ELF__
+ local f
+ for f in src/assembler.S src/assembler_opt.S ; do
+ cat <<-EOF >> ${f}
+ #ifdef __ELF__
.section .note.GNU-stack,"",%progbits
-#endif
- EOF
+ #endif
+ EOF
done
}
@@ -46,8 +45,6 @@ src_compile() {
}
src_install() {
- local f
-
dogamesbin powermanga || die "dogamesbin failed"
doman powermanga.6
dodoc AUTHORS CHANGES README
@@ -64,8 +61,8 @@ src_install() {
find "${D}${GAMES_DATADIR}/powermanga/" -name "Makefile*" -exec rm -f \{\} \;
insinto /var/games
- for f in powermanga.hi-easy powermanga.hi powermanga.hi-hard
- do
+ local f
+ for f in powermanga.hi-easy powermanga.hi powermanga.hi-hard ; do
touch "${D}/var/games/${f}" || die "touch ${f} failed"
fperms 660 "/var/games/${f}" || die "fperms ${f} failed"
done