diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-05-17 06:02:35 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-05-17 06:02:35 +0000 |
commit | 63557942fae3b758e21c4a64664c46eeb4c1addb (patch) | |
tree | 28ec8ca34f3cd26332daa7342c542000dadfe243 /games-roguelike/moria | |
parent | use gentoo as the vendor instead of pc (diff) | |
download | historical-63557942fae3b758e21c4a64664c46eeb4c1addb.tar.gz historical-63557942fae3b758e21c4a64664c46eeb4c1addb.tar.bz2 historical-63557942fae3b758e21c4a64664c46eeb4c1addb.zip |
use toolchain-funs; tidy
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-roguelike/moria')
-rw-r--r-- | games-roguelike/moria/ChangeLog | 7 | ||||
-rw-r--r-- | games-roguelike/moria/Manifest | 4 | ||||
-rw-r--r-- | games-roguelike/moria/moria-5.5.2.ebuild | 33 |
3 files changed, 24 insertions, 20 deletions
diff --git a/games-roguelike/moria/ChangeLog b/games-roguelike/moria/ChangeLog index 25555fcd19a6..1b24131c8cc8 100644 --- a/games-roguelike/moria/ChangeLog +++ b/games-roguelike/moria/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-roguelike/moria -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/moria/ChangeLog,v 1.5 2004/06/24 23:13:10 agriffis Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/moria/ChangeLog,v 1.6 2005/05/17 06:02:35 mr_bones_ Exp $ + + 17 May 2005; Michael Sterrett <mr_bones_@gentoo.org> moria-5.5.2.ebuild: + use toolchain-funs; tidy 30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> moria-5.5.2.ebuild: don't rdepend on sed; error check sed; use games src_compile diff --git a/games-roguelike/moria/Manifest b/games-roguelike/moria/Manifest index 0106b39a7c5e..4332995bec5f 100644 --- a/games-roguelike/moria/Manifest +++ b/games-roguelike/moria/Manifest @@ -1,6 +1,6 @@ -MD5 b310d24d3aea248b6ae08c56e6eb99b4 ChangeLog 679 -MD5 be55d4ecd58fd33997dc42d59676ad79 moria-5.5.2.ebuild 1885 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 339426f3674b43ee23574cefb46928fd ChangeLog 783 +MD5 ad141da86968e9982fa39b65c311a826 moria-5.5.2.ebuild 1859 MD5 b39d7c4a2dd55ea387aad81b73b91d6d files/5.5.2-gentoo-paths.patch 2363 MD5 7474a4c2af916defe5d530cd97b8cfce files/5.5.2-glibc.patch 9137 MD5 ce7e2d9e9dbd488130b49ae8fa9ab9b2 files/digest-moria-5.5.2 122 diff --git a/games-roguelike/moria/moria-5.5.2.ebuild b/games-roguelike/moria/moria-5.5.2.ebuild index dee6b9cc64f3..f4ba464e761d 100644 --- a/games-roguelike/moria/moria-5.5.2.ebuild +++ b/games-roguelike/moria/moria-5.5.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/moria/moria-5.5.2.ebuild,v 1.9 2004/11/03 12:28:28 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/moria/moria-5.5.2.ebuild,v 1.10 2005/05/17 06:02:35 mr_bones_ Exp $ -inherit eutils gcc games +inherit eutils toolchain-funcs games DESCRIPTION="Rogue-like D&D curses game similar to nethack (BUT BETTER)" HOMEPAGE="http://remarque.org/~grabiner/moria.html" @@ -17,17 +17,19 @@ SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="" -DEPEND="virtual/libc - >=sys-libs/ncurses-5" +DEPEND=">=sys-libs/ncurses-5" -S="${WORKDIR}/umoria" +S=${WORKDIR}/umoria src_unpack() { + local f + unpack ${A} - cd ${S} + cd "${S}" - epatch ${FILESDIR}/${PV}-gentoo-paths.patch - epatch ${FILESDIR}/${PV}-glibc.patch + epatch \ + "${FILESDIR}"/${PV}-gentoo-paths.patch \ + "${FILESDIR}"/${PV}-glibc.patch for f in source/* unix/* ; do ln -s ${f} $(basename ${f}) @@ -38,7 +40,7 @@ src_unpack() { -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \ -e "s:GENTOO_STATEDIR:${GAMES_STATEDIR}:" \ config.h \ - || die "sed config.h failed" + || die "sed failed" sed -i \ -e "/^STATEDIR =/s:=.*:=\$(DESTDIR)${GAMES_STATEDIR}:" \ -e "/^BINDIR = /s:=.*:=\$(DESTDIR)${GAMES_BINDIR}:" \ @@ -46,19 +48,18 @@ src_unpack() { -e "/^CFLAGS = /s:=.*:=${CFLAGS}:" \ -e "/^OWNER = /s:=.*:=${GAMES_USER}:" \ -e "/^GROUP = /s:=.*:=${GAMES_GROUP}:" \ - -e "/^CC = /s:=.*:=$(gcc-getCC):" \ + -e "/^CC = /s:=.*:=$(tc-getCC):" \ Makefile \ - || die "sed Makefile failed" + || die "sed failed" + mv doc/moria.6 "${S}" || die "mv failed" } src_install() { dodir "${GAMES_BINDIR}" "${GAMES_DATADIR}/${PN}" "${GAMES_STATEDIR}" make DESTDIR="${D}" install || die "make install failed" - doman doc/moria.6 - rm doc/moria.6 - dodoc README doc/* ${WORKDIR}/${PN}-extras/* + doman moria.6 + dodoc README doc/* "${WORKDIR}"/${PN}-extras/* prepgamesdirs - fperms g+w ${GAMES_STATEDIR}/moriascores } |