summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-05-02 04:47:09 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-05-02 04:47:09 +0000
commit9b9ccd9e7e299cb848cceb6c931ccb663cdede5c (patch)
treeb56e1d7f926bde5b7c0906cc17d6befc3ce161da /games-util/hearse
parentinitial import (diff)
downloadgentoo-2-9b9ccd9e7e299cb848cceb6c931ccb663cdede5c.tar.gz
gentoo-2-9b9ccd9e7e299cb848cceb6c931ccb663cdede5c.tar.bz2
gentoo-2-9b9ccd9e7e299cb848cceb6c931ccb663cdede5c.zip
version bump
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-util/hearse')
-rw-r--r--games-util/hearse/ChangeLog9
-rw-r--r--games-util/hearse/Manifest6
-rw-r--r--games-util/hearse/files/digest-hearse-1.51
-rw-r--r--games-util/hearse/hearse-1.5.ebuild55
4 files changed, 67 insertions, 4 deletions
diff --git a/games-util/hearse/ChangeLog b/games-util/hearse/ChangeLog
index 1bf14d7b399d..8ad6b8d756fa 100644
--- a/games-util/hearse/ChangeLog
+++ b/games-util/hearse/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-util/hearse
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/hearse/ChangeLog,v 1.5 2004/06/24 23:31:41 agriffis Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/hearse/ChangeLog,v 1.6 2005/05/02 04:47:09 mr_bones_ Exp $
+
+*hearse-1.5 (02 May 2005)
+
+ 02 May 2005; Michael Sterrett <mr_bones_@gentoo.org> +hearse-1.5.ebuild:
+ version bump
23 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> hearse-1.4.ebuild:
don't rdepend on sed
diff --git a/games-util/hearse/Manifest b/games-util/hearse/Manifest
index b2a47ac32fee..5d1af82d6709 100644
--- a/games-util/hearse/Manifest
+++ b/games-util/hearse/Manifest
@@ -1,4 +1,6 @@
-MD5 bdaa25656984975ba348d3bd2f40847d hearse-1.4.ebuild 1440
-MD5 d03dd7dcc413ad6d0eb7f69bf2e924b9 ChangeLog 673
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 d03dd7dcc413ad6d0eb7f69bf2e924b9 ChangeLog 673
+MD5 bdaa25656984975ba348d3bd2f40847d hearse-1.4.ebuild 1440
+MD5 bdaa25656984975ba348d3bd2f40847d hearse-1.5.ebuild 1440
+MD5 a7a80b236499182df2376662baf1eafa files/digest-hearse-1.5 61
MD5 3ceb3c5566fa1559bf44d823cdb63fe8 files/digest-hearse-1.4 61
diff --git a/games-util/hearse/files/digest-hearse-1.5 b/games-util/hearse/files/digest-hearse-1.5
new file mode 100644
index 000000000000..f64e8f8571c1
--- /dev/null
+++ b/games-util/hearse/files/digest-hearse-1.5
@@ -0,0 +1 @@
+MD5 4c022342d3f75af3b70a3e07e8e82ee0 hearse-1.5.tar.gz 29202
diff --git a/games-util/hearse/hearse-1.5.ebuild b/games-util/hearse/hearse-1.5.ebuild
new file mode 100644
index 000000000000..faa6c3ba8a5e
--- /dev/null
+++ b/games-util/hearse/hearse-1.5.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/hearse/hearse-1.5.ebuild,v 1.1 2005/05/02 04:47:09 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="exchange Nethack bones files with other players"
+HOMEPAGE="http://www.argon.org/~roderick/hearse/"
+SRC_URI="http://www.argon.org/~roderick/hearse/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+RDEPEND=">=games-roguelike/nethack-3.4.1
+ >=dev-lang/perl-5.8.0
+ dev-perl/libwww-perl
+ app-arch/bzip2"
+DEPEND=">=dev-lang/perl-5.8.0
+ dev-perl/libwww-perl
+ app-arch/bzip2"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # patch because Gentoo's nethack ebuild uses bz2 and not gz for bones
+ sed -i \
+ -e "s:gzip :bzip2 :" \
+ -e "s:.gz:.bz2:" hearse \
+ || die "sed failed"
+ sed -i \
+ -e 's:gzip :bzip2 :' \
+ -e "s:gz|z|Z:bz2:" bones-info \
+ || die "sed failed"
+}
+src_compile() {
+ perl Makefile.PL || die "perl failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dogamesbin hearse bones-info || die "dogamesbin failed"
+ doman blib/man1/*.1
+ dodoc Notes README debian/changelog
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "As root, run \"${GAMES_BINDIR}/hearse --user-email your@address.com\" to activate."
+ einfo "Add the following to /etc/crontab to automatically exchange bones:"
+ einfo " 0 3 * * * root perl -we 'sleep rand 3600'; ${GAMES_BINDIR}/hearse --quiet"
+}