summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-07-06 02:45:10 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-07-06 02:45:10 +0000
commite1d8116598ed7cefd250d8a0830744a5049e320f (patch)
tree34b3768dd410bf5a60e32d1cccbb9128ceb86e9d
parentAdded ~amd64 (bug #53403) (Manifest recommit) (diff)
downloadgentoo-2-e1d8116598ed7cefd250d8a0830744a5049e320f.tar.gz
gentoo-2-e1d8116598ed7cefd250d8a0830744a5049e320f.tar.bz2
gentoo-2-e1d8116598ed7cefd250d8a0830744a5049e320f.zip
update HOMEPAGE; tidy
-rw-r--r--games-roguelike/noegnud-nethack/ChangeLog6
-rw-r--r--games-roguelike/noegnud-nethack/noegnud-nethack-0.8.2.ebuild27
2 files changed, 19 insertions, 14 deletions
diff --git a/games-roguelike/noegnud-nethack/ChangeLog b/games-roguelike/noegnud-nethack/ChangeLog
index bab0376031b8..8755b61f1f86 100644
--- a/games-roguelike/noegnud-nethack/ChangeLog
+++ b/games-roguelike/noegnud-nethack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-roguelike/noegnud-nethack
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-nethack/ChangeLog,v 1.5 2004/06/24 23:13:41 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-nethack/ChangeLog,v 1.6 2004/07/06 02:45:10 mr_bones_ Exp $
+
+ 05 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ noegnud-nethack-0.8.2.ebuild:
+ update HOMEPAGE; tidy
15 Mar 2004; David Holm <dholm@gentoo.org> noegnud-nethack-0.8.2.ebuild:
Added to ~ppc.
diff --git a/games-roguelike/noegnud-nethack/noegnud-nethack-0.8.2.ebuild b/games-roguelike/noegnud-nethack/noegnud-nethack-0.8.2.ebuild
index 9f6efaf34408..b4eedd97aed0 100644
--- a/games-roguelike/noegnud-nethack/noegnud-nethack-0.8.2.ebuild
+++ b/games-roguelike/noegnud-nethack/noegnud-nethack-0.8.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-nethack/noegnud-nethack-0.8.2.ebuild,v 1.7 2004/06/24 23:13:41 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-nethack/noegnud-nethack-0.8.2.ebuild,v 1.8 2004/07/06 02:45:10 mr_bones_ Exp $
inherit games
@@ -10,7 +10,7 @@ VAR_DVER=3.4.2
VAR_VER=${VAR_DVER//.}
VAR_TAR=${VAR_NAME}-${VAR_VER}.tgz
DESCRIPTION="an alternate 2D/3D graphical user interface for NetHack"
-HOMEPAGE="http://noegnud.sourceforge.net/"
+HOMEPAGE="http://www.linuxgames.co.za/noeGNUd/"
SRC_URI="mirror://sourceforge/noegnud/noegnud-${PV}_linux_src-minimal.tar.bz2
mirror://sourceforge/${VAR_NAME}/${VAR_TAR}"
@@ -27,33 +27,34 @@ RDEPEND="media-libs/libsdl
virtual/opengl
games-roguelike/noegnud-data"
-S=${WORKDIR}/noegnud-${PV}/variants
+S="${WORKDIR}/noegnud-${PV}/variants"
src_unpack() {
unpack noegnud-${PV}_linux_src-minimal.tar.bz2
- ln -s ${DISTDIR}/${VAR_TAR} noegnud-${PV}/variants/tarballs/${VAR_TAR}
+ ln -s "${DISTDIR}/${VAR_TAR}" noegnud-${PV}/variants/tarballs/${VAR_TAR}
}
src_compile() {
- make ${VAR_SNAME}${VAR_VER} PREFIX=${GAMES_PREFIX} || die
+ make ${VAR_SNAME}${VAR_VER} PREFIX="${GAMES_PREFIX}" || die "make failed"
}
src_install() {
- make install_${VAR_SNAME}${VAR_VER} PREFIX=${D}/${GAMES_PREFIX} || die
+ make install_${VAR_SNAME}${VAR_VER} PREFIX="${D}/${GAMES_PREFIX}" \
+ || die "make install failed"
- cd ${D}/${GAMES_BINDIR}
+ cd "${D}/${GAMES_BINDIR}"
# we do this cause sometimes the installed package thinks it's a diff version :)
local tver="`ls noegnud-*-${VAR_NAME}-${VAR_DVER} | cut -d- -f2`"
rm noegnud-${VAR_NAME}-${VAR_DVER}
mv noegnud-${tver}-${VAR_NAME}-${VAR_DVER} noegnud-${VAR_NAME}
- dosed "/^HACKDIR/s:=.*:=${GAMES_LIBDIR}/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}:" ${GAMES_BINDIR}/noegnud-${VAR_NAME}
+ dosed "/^HACKDIR/s:=.*:=${GAMES_LIBDIR}/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}:" "${GAMES_BINDIR}/noegnud-${VAR_NAME}"
- dodir ${GAMES_DATADIR}/noegnud_data
- cp -r ${S}/../data/* ${D}/${GAMES_DATADIR}/noegnud_data/
- dosym ${GAMES_DATADIR}/noegnud_data ${GAMES_LIBDIR}/noegnud-${tver}/data
+ dodir "${GAMES_DATADIR}/noegnud_data"
+ cp -r "${S}/../data/"* "${D}/${GAMES_DATADIR}/noegnud_data/"
+ dosym "${GAMES_DATADIR}/noegnud_data" "${GAMES_LIBDIR}/noegnud-${tver}/data"
- keepdir ${GAMES_LIBDIR}/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}/save
+ keepdir "${GAMES_LIBDIR}/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}/save"
prepgamesdirs
- chmod -R g+w ${D}/${GAMES_LIBDIR}/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}
+ chmod -R g+w "${D}/${GAMES_LIBDIR}/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}"
}