summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-19 02:43:08 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-19 02:43:08 +0000
commitdd9d3c3c41cf77b76e133fe5c10501b3e98751e3 (patch)
tree1283defe84aab2d5ca2b4753b19502ba0fba1363 /games-roguelike/noegnud-slashem
parentblah (diff)
downloadhistorical-dd9d3c3c41cf77b76e133fe5c10501b3e98751e3.tar.gz
historical-dd9d3c3c41cf77b76e133fe5c10501b3e98751e3.tar.bz2
historical-dd9d3c3c41cf77b76e133fe5c10501b3e98751e3.zip
version bump #26551
Diffstat (limited to 'games-roguelike/noegnud-slashem')
-rw-r--r--games-roguelike/noegnud-slashem/ChangeLog7
-rw-r--r--games-roguelike/noegnud-slashem/files/digest-noegnud-slashem-0.8.23
-rw-r--r--games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild59
3 files changed, 68 insertions, 1 deletions
diff --git a/games-roguelike/noegnud-slashem/ChangeLog b/games-roguelike/noegnud-slashem/ChangeLog
index 7b9f80d2dcbd..9cbcf53e9275 100644
--- a/games-roguelike/noegnud-slashem/ChangeLog
+++ b/games-roguelike/noegnud-slashem/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-roguelike/noegnud-slashem
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-slashem/ChangeLog,v 1.2 2003/09/10 15:54:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-slashem/ChangeLog,v 1.3 2003/09/19 02:43:08 vapier Exp $
+
+*noegnud-slashem-0.8.2 (18 Sep 2003)
+
+ 18 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #26551.
*noegnud-slashem-0.7.1 (13 Jul 2003)
diff --git a/games-roguelike/noegnud-slashem/files/digest-noegnud-slashem-0.8.2 b/games-roguelike/noegnud-slashem/files/digest-noegnud-slashem-0.8.2
new file mode 100644
index 000000000000..c03158941a33
--- /dev/null
+++ b/games-roguelike/noegnud-slashem/files/digest-noegnud-slashem-0.8.2
@@ -0,0 +1,3 @@
+MD5 aba1978545c6e6cbd14779d4aa62e6b7 noegnud-0.8.2_linux_src-minimal.tar.bz2 4801644
+MD5 0b712eab6a565147a9a449625f3300d8 noegnud-0.8.2_noegnud-0.8.2.se007E3.diff.gz 6201
+MD5 c8e6daad6c0b46f47cbad85c00de9800 se007e3.tar.gz 5073942
diff --git a/games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild b/games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild
new file mode 100644
index 000000000000..288ec662ce03
--- /dev/null
+++ b/games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild,v 1.1 2003/09/19 02:43:08 vapier Exp $
+
+inherit games
+
+VAR_NAME=slashem
+VAR_SNAME=se
+VAR_DVER=0.0.7E3
+VAR_VER=007e3
+VAR_TAR=${VAR_SNAME}${VAR_VER}.tar.gz
+DESCRIPTION="an alternate 2D/3D graphical user interface for SLASH'EM"
+HOMEPAGE="http://noegnud.sourceforge.net/"
+SRC_URI="mirror://sourceforge/noegnud/noegnud-${PV}_linux_src-minimal.tar.bz2
+ mirror://sourceforge/noegnud/noegnud-${PV}_noegnud-${PV}.se${VAR_VER/e/E}.diff.gz
+ mirror://sourceforge/${VAR_NAME}/${VAR_TAR}"
+
+LICENSE="nethack"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="media-libs/libsdl
+ dev-util/yacc"
+RDEPEND="media-libs/libsdl
+ media-libs/sdl-image
+ virtual/opengl
+ games-roguelike/noegnud-data"
+
+S=${WORKDIR}/noegnud-${PV}/variants
+
+src_unpack() {
+ unpack noegnud-${PV}_linux_src-minimal.tar.bz2
+ epatch ${DISTDIR}/noegnud-${PV}_noegnud-${PV}.${VAR_SNAME}${VAR_VER/e/E}.diff.gz
+ ln -s ${DISTDIR}/${VAR_TAR} noegnud-${PV}/variants/tarballs/${VAR_TAR}
+}
+
+src_compile() {
+ make ${VAR_SNAME}${VAR_VER} PREFIX=${GAMES_PREFIX} || die
+}
+
+src_install() {
+ make install_${VAR_SNAME}${VAR_VER} PREFIX=${D}/${GAMES_PREFIX} || die
+
+ 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}
+}