summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kohl <citizen428@gentoo.org>2004-11-19 19:08:01 +0000
committerMichael Kohl <citizen428@gentoo.org>2004-11-19 19:08:01 +0000
commit28ad49638e68ade83e2f7468ba0cd00e3975b1fa (patch)
tree32d4bf84944b0169e1e501e28b26a3a1d8ce90bd /games-roguelike/noegnud-nethack
parentAddex ~x86 to x11-misc/xdesktopwaves-1.0 (Manifest recommit) (diff)
downloadgentoo-2-28ad49638e68ade83e2f7468ba0cd00e3975b1fa.tar.gz
gentoo-2-28ad49638e68ade83e2f7468ba0cd00e3975b1fa.tar.bz2
gentoo-2-28ad49638e68ade83e2f7468ba0cd00e3975b1fa.zip
Version bump, closing bug #61602.
Diffstat (limited to 'games-roguelike/noegnud-nethack')
-rw-r--r--games-roguelike/noegnud-nethack/ChangeLog8
-rw-r--r--games-roguelike/noegnud-nethack/Manifest6
-rw-r--r--games-roguelike/noegnud-nethack/files/digest-noegnud-nethack-0.8.32
-rw-r--r--games-roguelike/noegnud-nethack/noegnud-nethack-0.8.3.ebuild60
4 files changed, 73 insertions, 3 deletions
diff --git a/games-roguelike/noegnud-nethack/ChangeLog b/games-roguelike/noegnud-nethack/ChangeLog
index 8755b61f1f86..ea8ad197a2d1 100644
--- a/games-roguelike/noegnud-nethack/ChangeLog
+++ b/games-roguelike/noegnud-nethack/ChangeLog
@@ -1,6 +1,12 @@
# 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.6 2004/07/06 02:45:10 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-nethack/ChangeLog,v 1.7 2004/11/19 19:08:01 citizen428 Exp $
+
+*noegnud-nethack-0.8.3 (19 Nov 2004)
+
+ 19 Nov 2004; Michael Kohl <citizen428@gentoo.org>
+ +noegnud-nethack-0.8.3.ebuild:
+ Version bump, closing bug #61602.
05 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org>
noegnud-nethack-0.8.2.ebuild:
diff --git a/games-roguelike/noegnud-nethack/Manifest b/games-roguelike/noegnud-nethack/Manifest
index 5f3e2ccb15d0..804af85a756d 100644
--- a/games-roguelike/noegnud-nethack/Manifest
+++ b/games-roguelike/noegnud-nethack/Manifest
@@ -1,6 +1,8 @@
-MD5 3b90e9065e098eacb48ef797627a91d8 ChangeLog 738
-MD5 22e18492f9fe0b7799fe9356b5fb6c15 noegnud-nethack-0.7.1.ebuild 1507
MD5 3de05807f2d99827af4b101535121ac8 noegnud-nethack-0.8.2.ebuild 1966
+MD5 22e18492f9fe0b7799fe9356b5fb6c15 noegnud-nethack-0.7.1.ebuild 1507
+MD5 3b90e9065e098eacb48ef797627a91d8 ChangeLog 738
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 5e5ead3dcbd52a07ffd01cae6ef2fea9 noegnud-nethack-0.8.3.ebuild 1841
MD5 5980dfc62f455dbda695dfdfd084b4d9 files/digest-noegnud-nethack-0.7.1 130
MD5 34a83b9229d1783a3d5bdd88406dc020 files/digest-noegnud-nethack-0.8.2 146
+MD5 508811d35758f8f298bc8e632ba67142 files/digest-noegnud-nethack-0.8.3 150
diff --git a/games-roguelike/noegnud-nethack/files/digest-noegnud-nethack-0.8.3 b/games-roguelike/noegnud-nethack/files/digest-noegnud-nethack-0.8.3
new file mode 100644
index 000000000000..389baae2ac22
--- /dev/null
+++ b/games-roguelike/noegnud-nethack/files/digest-noegnud-nethack-0.8.3
@@ -0,0 +1,2 @@
+MD5 4c3d025cdef74eb037bfd25bbfcc2909 noegnud-0.8.3_linux_src-minimal.tar.bz2 4794245
+MD5 21479c95990eefe7650df582426457f9 nethack-343-src.tgz 3497458
diff --git a/games-roguelike/noegnud-nethack/noegnud-nethack-0.8.3.ebuild b/games-roguelike/noegnud-nethack/noegnud-nethack-0.8.3.ebuild
new file mode 100644
index 000000000000..e4f5abbd92ac
--- /dev/null
+++ b/games-roguelike/noegnud-nethack/noegnud-nethack-0.8.3.ebuild
@@ -0,0 +1,60 @@
+# 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.3.ebuild,v 1.1 2004/11/19 19:08:01 citizen428 Exp $
+
+inherit games
+
+VAR_NAME=nethack
+VAR_SNAME=nh
+VAR_DVER=3.4.3
+VAR_VER=${VAR_DVER//.}
+VAR_TAR=${VAR_NAME}-${VAR_VER}-src.tgz
+DESCRIPTION="An alternate 2D/3D graphical user interface for NetHack"
+HOMEPAGE="http://noegnud.sourceforge.net/"
+SRC_URI="mirror://sourceforge/noegnud/noegnud-${PV}_linux_src-minimal.tar.bz2
+ mirror://sourceforge/${VAR_NAME}/${VAR_TAR}"
+
+LICENSE="nethack"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ dev-util/yacc"
+RDEPEND="media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ virtual/opengl
+ games-roguelike/noegnud-data"
+
+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}
+}
+
+src_compile() {
+ 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 failed"
+
+ 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}"
+
+ 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"
+
+ prepgamesdirs
+ chmod -R g+w "${D}/${GAMES_LIBDIR}/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}"
+}