diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 04:59:58 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 04:59:58 +0000 |
commit | 12c9973915d478c72a31e83a2dcd74a9d85f9329 (patch) | |
tree | d37cf05165786ebbb579f87068d6e4ac5c678a32 /games-roguelike/noegnud-nethack | |
parent | repoman: fix leading whitespace (diff) | |
download | gentoo-2-12c9973915d478c72a31e83a2dcd74a9d85f9329.tar.gz gentoo-2-12c9973915d478c72a31e83a2dcd74a9d85f9329.tar.bz2 gentoo-2-12c9973915d478c72a31e83a2dcd74a9d85f9329.zip |
hello rogues
Diffstat (limited to 'games-roguelike/noegnud-nethack')
4 files changed, 63 insertions, 0 deletions
diff --git a/games-roguelike/noegnud-nethack/ChangeLog b/games-roguelike/noegnud-nethack/ChangeLog new file mode 100644 index 000000000000..d9699e838037 --- /dev/null +++ b/games-roguelike/noegnud-nethack/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-games/noegnud-nethack +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-nethack/ChangeLog,v 1.1 2003/09/10 04:59:58 vapier Exp $ + +*noegnud-nethack-0.7.1 (13 Jul 2003) + + 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Clive Crous <entro-p@users.sourceforge.net> #22307. diff --git a/games-roguelike/noegnud-nethack/Manifest b/games-roguelike/noegnud-nethack/Manifest new file mode 100644 index 000000000000..f309fa64e678 --- /dev/null +++ b/games-roguelike/noegnud-nethack/Manifest @@ -0,0 +1,3 @@ +MD5 5980dfc62f455dbda695dfdfd084b4d9 files/digest-noegnud-nethack-0.7.1 130 +MD5 27f768a6f9cea7b87660884d94baafd9 noegnud-nethack-0.7.1.ebuild 1495 +MD5 752a907932e8cb5f939b1e187e5fe7c7 ChangeLog 413 diff --git a/games-roguelike/noegnud-nethack/files/digest-noegnud-nethack-0.7.1 b/games-roguelike/noegnud-nethack/files/digest-noegnud-nethack-0.7.1 new file mode 100644 index 000000000000..e681ec54b4b1 --- /dev/null +++ b/games-roguelike/noegnud-nethack/files/digest-noegnud-nethack-0.7.1 @@ -0,0 +1,2 @@ +MD5 bc11db264ba3e42bcac3997762da7150 noegnud-0.7.1-src.tar.gz 110120 +MD5 aefcbeb20210b2d64511c84bd03c3e4e nethack-341.tgz 3492419 diff --git a/games-roguelike/noegnud-nethack/noegnud-nethack-0.7.1.ebuild b/games-roguelike/noegnud-nethack/noegnud-nethack-0.7.1.ebuild new file mode 100644 index 000000000000..014842347ba7 --- /dev/null +++ b/games-roguelike/noegnud-nethack/noegnud-nethack-0.7.1.ebuild @@ -0,0 +1,50 @@ +# 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-nethack/noegnud-nethack-0.7.1.ebuild,v 1.1 2003/09/10 04:59:58 vapier Exp $ + +inherit games + +NH_DVER=3.4.1 +NH_VER=${NH_DVER//.} +DESCRIPTION="an alternate 2D/3D graphical user interface for NetHack" +HOMEPAGE="http://noegnud.sourceforge.net/" +SRC_URI="mirror://sourceforge/noegnud/noegnud-${PV}-src.tar.gz + mirror://sourceforge/nethack/nethack-${NH_VER}.tgz" + +LICENSE="nethack" +SLOT="0" +KEYWORDS="x86" + +DEPEND="media-libs/libsdl + dev-util/yacc" +RDEPEND="media-libs/libsdl + media-libs/sdl-image + virtual/opengl + app-games/noegnud-data" + +S=${WORKDIR}/noegnud-${PV}/variants + +src_unpack() { + unpack noegnud-${PV}-src.tar.gz + ln -s ${DISTDIR}/nethack-${NH_VER}.tgz noegnud-${PV}/variants/tarballs/nethack-${NH_VER}.tgz +} + +src_compile() { + make nh${NH_VER} PREFIX=${GAMES_PREFIX} || die +} + +src_install() { + make install_nh${NH_VER} PREFIX=${D}/${GAMES_PREFIX} || die + + cd ${D}/${GAMES_BINDIR} + rm noegnud-nethack-${NH_DVER} + mv noegnud-${PV}-nethack-${NH_DVER} noegnud-nethack + dosed "/^HACKDIR/s:=.*:=${GAMES_LIBDIR}/noegnud-${PV}/nethack-${NH_DVER}:" ${GAMES_BINDIR}/noegnud-nethack + + keepdir ${GAMES_LIBDIR}/noegnud-${PV}/nethack-${NH_DVER}/save + dodir ${GAMES_DATADIR}/noegnud_data + dosym ${GAMES_DATADIR}/noegnud_data ${GAMES_LIBDIR}/noegnud-${PV}/noegnud_data + + prepgamesdirs + chmod -R g+w ${D}/${GAMES_LIBDIR}/noegnud-${PV} +} |