summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-31 06:39:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-31 06:39:06 +0000
commit7f6990dd1470882c3745a16ffa2850b310a030cc (patch)
tree2d217c0f0483088e6eb44c5db540ac2649762239 /games-roguelike
parentDrop 4.2. It's two years old. (Manifest recommit) (diff)
downloadgentoo-2-7f6990dd1470882c3745a16ffa2850b310a030cc.tar.gz
gentoo-2-7f6990dd1470882c3745a16ffa2850b310a030cc.tar.bz2
gentoo-2-7f6990dd1470882c3745a16ffa2850b310a030cc.zip
don't RDEPEND on sed; error check sed; virtual/x11; tidy
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/angband/ChangeLog5
-rw-r--r--games-roguelike/angband/angband-3.0.3.ebuild21
2 files changed, 16 insertions, 10 deletions
diff --git a/games-roguelike/angband/ChangeLog b/games-roguelike/angband/ChangeLog
index f000e8d6c922..0a7dcf24de95 100644
--- a/games-roguelike/angband/ChangeLog
+++ b/games-roguelike/angband/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-roguelike/angband
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/angband/ChangeLog,v 1.5 2004/03/10 23:16:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/angband/ChangeLog,v 1.6 2004/03/31 06:39:02 mr_bones_ Exp $
+
+ 30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> angband-3.0.3.ebuild:
+ don't RDEPEND on sed; error check sed; virtual/x11; tidy
10 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> angband-3.0.4.ebuild:
chown foo.bar -> chown foo:bar (bug #44294)
diff --git a/games-roguelike/angband/angband-3.0.3.ebuild b/games-roguelike/angband/angband-3.0.3.ebuild
index f139d3858719..2219ce55e76c 100644
--- a/games-roguelike/angband/angband-3.0.3.ebuild
+++ b/games-roguelike/angband/angband-3.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/angband/angband-3.0.3.ebuild,v 1.4 2004/03/10 13:33:52 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/angband/angband-3.0.3.ebuild,v 1.5 2004/03/31 06:39:06 mr_bones_ Exp $
inherit games
@@ -13,30 +13,33 @@ SLOT="0"
KEYWORDS="x86 ppc ~amd64"
IUSE="X"
-DEPEND="virtual/glibc
- >=sys-apps/sed-4
+RDEPEND="virtual/glibc
>=sys-libs/ncurses-5
- X? ( >=x11-base/xfree-4.0 )"
+ X? ( virtual/x11 )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
src_compile() {
local myconf="--bindir=/usr/games/bin --with-setgid=games"
myconf="${myconf} `use_with X x`"
- sed -i "s:/games/:/:" configure || die "sed configure failed"
+ sed -i \
+ -e "s:/games/:/:" configure \
+ || die "sed configure failed"
chmod +x configure
egamesconf ${myconf} || die "configure failed"
emake || die "make failed"
}
pkg_preinst() {
- rm ${D}/usr/share/games/angband/lib/apex/scores.raw
+ rm "${D}/usr/share/games/angband/lib/apex/scores.raw"
}
src_install() {
- make DESTDIR=${D} install || die
- dodoc AUTHORS COPYING THANKS TODO changes.txt compile.txt readme.txt
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS THANKS TODO changes.txt compile.txt readme.txt
prepgamesdirs
}
pkg_postinst() {
- chmod -R g+w /usr/share/games/angband/lib/{apex,save,user}
+ chmod -R g+w "${ROOT}"/usr/share/games/angband/lib/{apex,save,user}
}