summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-02-24 09:53:24 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-02-24 09:53:24 +0000
commit6efac98399f6f1d6a83babfede0fdfb8ccbc4fa0 (patch)
tree8c7f1fff538b0387d278f0da8c1eb01cff77b1a4 /games-arcade
parentStable on hppa (bug #117737). (diff)
downloadhistorical-6efac98399f6f1d6a83babfede0fdfb8ccbc4fa0.tar.gz
historical-6efac98399f6f1d6a83babfede0fdfb8ccbc4fa0.tar.bz2
historical-6efac98399f6f1d6a83babfede0fdfb8ccbc4fa0.zip
initial commit - ebuild submitted by Horst Schirmeier via bug #93695
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/wop/ChangeLog10
-rw-r--r--games-arcade/wop/Manifest12
-rw-r--r--games-arcade/wop/files/digest-wop-0.4.16
-rw-r--r--games-arcade/wop/metadata.xml5
-rw-r--r--games-arcade/wop/wop-0.4.1.ebuild60
5 files changed, 93 insertions, 0 deletions
diff --git a/games-arcade/wop/ChangeLog b/games-arcade/wop/ChangeLog
new file mode 100644
index 000000000000..4d95e632895f
--- /dev/null
+++ b/games-arcade/wop/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-arcade/wop
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/wop/ChangeLog,v 1.1 2006/02/24 09:53:24 mr_bones_ Exp $
+
+*wop-0.4.1 (24 Feb 2006)
+
+ 24 Feb 2006; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +wop-0.4.1.ebuild:
+ initial commit - ebuild submitted by Horst Schirmeier via bug #93695
+
diff --git a/games-arcade/wop/Manifest b/games-arcade/wop/Manifest
new file mode 100644
index 000000000000..9456f7de56c7
--- /dev/null
+++ b/games-arcade/wop/Manifest
@@ -0,0 +1,12 @@
+MD5 d7e112d375ae9a4ae3281a2feabc7676 ChangeLog 397
+RMD160 699a0a5aba24b99fb4522e0bcc8b64f0b97be0e6 ChangeLog 397
+SHA256 d90908926a7dfe7fe555eb6827518e99ba7a7a1ebe6c1f8ab9c7b4c387ce892d ChangeLog 397
+MD5 d24ff0e0080318bb108db0524341bd98 files/digest-wop-0.4.1 506
+RMD160 85761762d654857faa4afeb4b826dbfbb8a01188 files/digest-wop-0.4.1 506
+SHA256 888312fcc57c30d83f33247debd059f91f2f80505c86afd28110c17702b3c149 files/digest-wop-0.4.1 506
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 64cb211ffa761080606ec8084bedbcf4 wop-0.4.1.ebuild 1539
+RMD160 53025fcb3f17e6b20090a600edf772b695bb09ce wop-0.4.1.ebuild 1539
+SHA256 79f419170e57b7adf17cb66d4b064514d4d716708cf93013512b076850f03b2c wop-0.4.1.ebuild 1539
diff --git a/games-arcade/wop/files/digest-wop-0.4.1 b/games-arcade/wop/files/digest-wop-0.4.1
new file mode 100644
index 000000000000..e9462a45a293
--- /dev/null
+++ b/games-arcade/wop/files/digest-wop-0.4.1
@@ -0,0 +1,6 @@
+MD5 9e484b312f287dd6c5e7e1b9a666e11f wop-0.4.1-src.tar.bz2 279695
+RMD160 509d794e1b5067bc8a9d09517657ba8723e105dd wop-0.4.1-src.tar.bz2 279695
+SHA256 b29148e94a2ea4f853dec7620d8e03b9eccc4253df287a7c6f12119eecb32555 wop-0.4.1-src.tar.bz2 279695
+MD5 0bf42f28e03dcac5c8066b46d7733907 wopdata-2005-12-21.tar.bz2 4217006
+RMD160 3ea35cca0b28bbd0ff278899b5cc1d8dd83e0602 wopdata-2005-12-21.tar.bz2 4217006
+SHA256 cd6b8eb9f77f709d7a52b913d8a665bd202c53ceca9cf96b4c9f9adc17d8a6b2 wopdata-2005-12-21.tar.bz2 4217006
diff --git a/games-arcade/wop/metadata.xml b/games-arcade/wop/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-arcade/wop/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-arcade/wop/wop-0.4.1.ebuild b/games-arcade/wop/wop-0.4.1.ebuild
new file mode 100644
index 000000000000..0284907ecaef
--- /dev/null
+++ b/games-arcade/wop/wop-0.4.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/wop/wop-0.4.1.ebuild,v 1.1 2006/02/24 09:53:24 mr_bones_ Exp $
+
+inherit eutils games
+
+MY_DATA_V="2005-12-21"
+MY_DATA_P="${PN}data-${MY_DATA_V}"
+
+DESCRIPTION="Worms of Prey - A multi-player, real-time clone of Worms"
+HOMEPAGE="http://wormsofprey.org/"
+SRC_URI="http://wormsofprey.org/download/${P}-src.tar.bz2
+ http://wormsofprey.org/download/${MY_DATA_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="sys-libs/zlib
+ >=media-libs/libsdl-1.2
+ >=media-libs/sdl-net-1.2.5
+ >=media-libs/sdl-image-1.2
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/sdl-ttf-2.0"
+
+MY_DATA_S=${WORKDIR}/${MY_DATA_P}
+
+src_unpack() {
+ unpack ${A}
+
+ # correct path to global woprc
+ sed -i \
+ -e "s:/etc/woprc:${GAMES_SYSCONFDIR}/woprc:g" \
+ "${S}/src/wopsettings.cpp" \
+ || die "sed failed"
+
+ # patch global woprc with the correct data files location and install it
+ sed -i \
+ -e "s:^data =.*$:data = ${GAMES_DATADIR}/${PN}:" \
+ "${S}/woprc" \
+ || die "sed failed"
+}
+
+src_install() {
+ dogamesbin bin/${PN} || die "dogamesbin failed"
+
+ newicon "${MY_DATA_S}/images/misc/icons/wop16.png" ${PN}.png
+ make_desktop_entry wop "Worms of Prey"
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r "${MY_DATA_S}"/* || die "doins failed"
+
+ dodoc AUTHORS ChangeLog PACKAGE_MAINTAINERS README{,-Libraries.txt} REVIEWS
+
+ insinto "${GAMES_SYSCONFDIR}"
+ doins "${S}/woprc" || die "doins failed"
+
+ prepgamesdirs
+}