summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-01 19:51:33 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-01 19:51:33 +0000
commitb957415d21300046c6ed388fd0896c8449a9c17f (patch)
tree127535d0e7b6202ed6f642c83d566051d9c9ad89 /games-util/hearse
parentFix bug #42800 (Manifest recommit) (diff)
downloadgentoo-2-b957415d21300046c6ed388fd0896c8449a9c17f.tar.gz
gentoo-2-b957415d21300046c6ed388fd0896c8449a9c17f.tar.bz2
gentoo-2-b957415d21300046c6ed388fd0896c8449a9c17f.zip
add libwww-perl to DEPEND #43402
Diffstat (limited to 'games-util/hearse')
-rw-r--r--games-util/hearse/hearse-1.4.ebuild25
1 files changed, 12 insertions, 13 deletions
diff --git a/games-util/hearse/hearse-1.4.ebuild b/games-util/hearse/hearse-1.4.ebuild
index 3187413843e0..eb7f3f0cce20 100644
--- a/games-util/hearse/hearse-1.4.ebuild
+++ b/games-util/hearse/hearse-1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/hearse/hearse-1.4.ebuild,v 1.2 2003/11/28 18:36:50 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/hearse/hearse-1.4.ebuild,v 1.3 2004/03/01 19:51:33 vapier Exp $
inherit games
@@ -8,14 +8,14 @@ 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"
-KEYWORDS="x86"
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
+KEYWORDS="x86"
DEPEND=">=dev-lang/perl-5.8.0
>=games-roguelike/nethack-3.4.1
- >=sys-apps/sed-4"
+ >=sys-apps/sed-4
+ net-libs/libwww"
src_unpack() {
unpack ${A}
@@ -24,28 +24,27 @@ src_unpack() {
# 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 hearse failed"
+ -e "s:.gz:.bz2:" hearse \
+ || die "sed hearse failed"
sed -i \
-e 's:gzip :bzip2 :' \
- -e "s:gz|z|Z:bz2:" bones-info || \
- die "sed bones-info failed"
+ -e "s:gz|z|Z:bz2:" bones-info \
+ || die "sed bones-info failed"
}
src_compile() {
perl Makefile.PL || die "perl failed"
- emake || die "emake failed"
+ emake || die "emake failed"
}
src_install() {
- dogamesbin hearse bones-info || die "dogamesbin failed"
- doman blib/man1/*.1 || die "doman failed"
- dodoc Notes README debian/changelog || die "dodoc failed"
+ 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"