summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-07-21 08:00:42 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-07-21 08:00:42 +0000
commit57cb1f892978d6662997fa8cd5e706839b441e98 (patch)
tree28bd6b51cd55d101ce45f89a2c104555396fe819 /games-action/chickens
parentAdded to ~ppc (Manifest recommit) (diff)
downloadgentoo-2-57cb1f892978d6662997fa8cd5e706839b441e98.tar.gz
gentoo-2-57cb1f892978d6662997fa8cd5e706839b441e98.tar.bz2
gentoo-2-57cb1f892978d6662997fa8cd5e706839b441e98.zip
version bump (bug #57742)
Diffstat (limited to 'games-action/chickens')
-rw-r--r--games-action/chickens/ChangeLog7
-rw-r--r--games-action/chickens/Manifest4
-rw-r--r--games-action/chickens/chickens-0.2.4.ebuild53
-rw-r--r--games-action/chickens/files/digest-chickens-0.2.41
4 files changed, 63 insertions, 2 deletions
diff --git a/games-action/chickens/ChangeLog b/games-action/chickens/ChangeLog
index b927779a6bd9..049c7799b317 100644
--- a/games-action/chickens/ChangeLog
+++ b/games-action/chickens/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/chickens
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/chickens/ChangeLog,v 1.2 2004/07/16 09:26:38 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/chickens/ChangeLog,v 1.3 2004/07/21 08:00:42 mr_bones_ Exp $
+
+*chickens-0.2.4 (21 Jul 2004)
+
+ 21 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> +chickens-0.2.4.ebuild:
+ version bump (bug #57742)
16 Jul 2004; David Holm <dholm@gentoo.org> chickens-0.2.0.ebuild:
Added to ~ppc.
diff --git a/games-action/chickens/Manifest b/games-action/chickens/Manifest
index 6cd31cf2ded8..d30462d85334 100644
--- a/games-action/chickens/Manifest
+++ b/games-action/chickens/Manifest
@@ -1,4 +1,6 @@
-MD5 f6037949875c3a1377ee6525e11525c8 ChangeLog 485
MD5 f1468147937c44704b9356fa651551e6 chickens-0.2.0.ebuild 1366
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 f6037949875c3a1377ee6525e11525c8 ChangeLog 485
+MD5 f1468147937c44704b9356fa651551e6 chickens-0.2.4.ebuild 1366
MD5 748d201688c821c11a9f4dd83dce80e3 files/digest-chickens-0.2.0 81
+MD5 d874c87b9764b5d3a45915e8c2831526 files/digest-chickens-0.2.4 81
diff --git a/games-action/chickens/chickens-0.2.4.ebuild b/games-action/chickens/chickens-0.2.4.ebuild
new file mode 100644
index 000000000000..5eefba6c659e
--- /dev/null
+++ b/games-action/chickens/chickens-0.2.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/chickens/chickens-0.2.4.ebuild,v 1.1 2004/07/21 08:00:42 mr_bones_ Exp $
+
+inherit games
+
+MY_P="ChickensForLinux-Linux-${PV}"
+DESCRIPTION="Target chickens with rockets and shotguns. Funny"
+HOMEPAGE="http://havoc.sourceforge.net/chickens"
+SRC_URI="http://havoc.sourceforge.net/chickens/files/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86 ~ppc"
+IUSE=""
+
+RDEPEND="virtual/x11
+ media-libs/allegro"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+S="${WORKDIR}/chickens"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e "s:HighScores:${GAMES_STATEDIR}/${PN}/HighScores:" \
+ -e "s:....\(.\)\(_\)\(.*.4x0\)\(.\):M\4\2\x42\x6Fn\1s\2:" \
+ highscore.cpp HighScores \
+ || die "sed highscore.cpp failed"
+ sed -i \
+ -e "s:options.cfg:${GAMES_SYSCONFDIR}/${PN}/options.cfg:" \
+ -e "s:\"sound/:\"${GAMES_DATADIR}/${PN}/sound/:" \
+ -e "s:\"dat/:\"${GAMES_DATADIR}/${PN}/dat/:" main.cpp README \
+ || die "sed main.cpp failed"
+ chmod a-x {dat,sound}/*
+}
+
+src_install() {
+ dogamesbin chickens || die "dogamesbin failed"
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -r {dat,sound} "${D}/${GAMES_DATADIR}/${PN}" \
+ || die "cp failed"
+ dodoc AUTHOR README
+ insinto "${GAMES_STATEDIR}/${PN}"
+ doins HighScores || die "doins failed"
+ insinto "${GAMES_SYSCONFDIR}/${PN}"
+ doins options.cfg || die "doins failed"
+ fperms g+w "${GAMES_STATEDIR}/${PN}/HighScores"
+ prepgamesdirs
+
+}
diff --git a/games-action/chickens/files/digest-chickens-0.2.4 b/games-action/chickens/files/digest-chickens-0.2.4
new file mode 100644
index 000000000000..801fa038cb52
--- /dev/null
+++ b/games-action/chickens/files/digest-chickens-0.2.4
@@ -0,0 +1 @@
+MD5 1c3f65db9d9674c86848676ac648f2c4 ChickensForLinux-Linux-0.2.4.tar.gz 1455207