summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Zimmermann (moHiJ) <patrick@zakweb.de>2006-06-28 17:11:33 +0000
committerPatrick Zimmermann (moHiJ) <patrick@zakweb.de>2006-06-28 17:11:33 +0000
commit242446c56ed36612238af55cf0fbd7cfe1a55248 (patch)
tree468c2c737711ca08c97f12b10986ab23f1dff1cd /games-fps/unreal-tournament-operationnapali
parentuse $* for svncommit.sh (diff)
downloadsunrise-reviewed-242446c56ed36612238af55cf0fbd7cfe1a55248.tar.gz
sunrise-reviewed-242446c56ed36612238af55cf0fbd7cfe1a55248.tar.bz2
sunrise-reviewed-242446c56ed36612238af55cf0fbd7cfe1a55248.zip
games-fps/unreal-tournament-operationnapali - bug 104606 thanks to Paul Bredbury
svn path=/sunrise/; revision=351
Diffstat (limited to 'games-fps/unreal-tournament-operationnapali')
-rw-r--r--games-fps/unreal-tournament-operationnapali/ChangeLog7
-rw-r--r--games-fps/unreal-tournament-operationnapali/Manifest12
-rw-r--r--games-fps/unreal-tournament-operationnapali/files/digest-unreal-tournament-operationnapali-1.303
-rw-r--r--games-fps/unreal-tournament-operationnapali/unreal-tournament-operationnapali-1.30.ebuild84
4 files changed, 106 insertions, 0 deletions
diff --git a/games-fps/unreal-tournament-operationnapali/ChangeLog b/games-fps/unreal-tournament-operationnapali/ChangeLog
new file mode 100644
index 000000000..c4e2c827c
--- /dev/null
+++ b/games-fps/unreal-tournament-operationnapali/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for games-fps/unreal-tournament-operationnapali
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 28 Jun 2006; Patrick Zimmermann <patrick@zakweb.de> ChangeLog:
+ New Ebuild for bug 104606 thanks to Paul Bredbury
+
diff --git a/games-fps/unreal-tournament-operationnapali/Manifest b/games-fps/unreal-tournament-operationnapali/Manifest
new file mode 100644
index 000000000..85ccdc3c0
--- /dev/null
+++ b/games-fps/unreal-tournament-operationnapali/Manifest
@@ -0,0 +1,12 @@
+DIST 1263-ONP130_Umod.zip 166622615 RMD160 b6c3354cbfd662113777683f715a88a63038b99a SHA1 db7b9ff07d33cde7356834decfa152982dcce8a4 SHA256 cf813cf894cab36a9714c276a739d4661bec44dcfd1ff1c5d2eca822355ffdec
+EBUILD unreal-tournament-operationnapali-1.30.ebuild 1677 RMD160 ee4b27e2f123f024c7bab0267e79d5f21bff7043 SHA1 6c60026d572e358d67f606313718356750af8419 SHA256 36cf53964a4629b60628e245cbbf616032f58a3aeed3ff48ed50c1d193de95c8
+MD5 b5ea250ae60418c846f3cb220a6cd0c5 unreal-tournament-operationnapali-1.30.ebuild 1677
+RMD160 ee4b27e2f123f024c7bab0267e79d5f21bff7043 unreal-tournament-operationnapali-1.30.ebuild 1677
+SHA256 36cf53964a4629b60628e245cbbf616032f58a3aeed3ff48ed50c1d193de95c8 unreal-tournament-operationnapali-1.30.ebuild 1677
+MISC ChangeLog 262 RMD160 ffb17b83ccbd497b651b560a9cc24539df1b18f2 SHA1 8e02901ae4ea7f0f71c0e695387e673c350aa6b2 SHA256 3bffada5524f06dae98e9384f6e2707437f15f327e3eb8893b84d5d72d2fef45
+MD5 ef69bf14f04ad51e9540882da854b71a ChangeLog 262
+RMD160 ffb17b83ccbd497b651b560a9cc24539df1b18f2 ChangeLog 262
+SHA256 3bffada5524f06dae98e9384f6e2707437f15f327e3eb8893b84d5d72d2fef45 ChangeLog 262
+MD5 8f38c7407a8a1dae5b31ed71225011fd files/digest-unreal-tournament-operationnapali-1.30 250
+RMD160 a053e1d9745158387b888f1d82fa76872d344dc1 files/digest-unreal-tournament-operationnapali-1.30 250
+SHA256 7a0a7a1bf12f0d3c39a0a12d6fda189edc0731183b334cbff8082aa1ec7bee2e files/digest-unreal-tournament-operationnapali-1.30 250
diff --git a/games-fps/unreal-tournament-operationnapali/files/digest-unreal-tournament-operationnapali-1.30 b/games-fps/unreal-tournament-operationnapali/files/digest-unreal-tournament-operationnapali-1.30
new file mode 100644
index 000000000..057dd09bd
--- /dev/null
+++ b/games-fps/unreal-tournament-operationnapali/files/digest-unreal-tournament-operationnapali-1.30
@@ -0,0 +1,3 @@
+MD5 0036710543294528c0c865c441e4b6d1 1263-ONP130_Umod.zip 166622615
+RMD160 b6c3354cbfd662113777683f715a88a63038b99a 1263-ONP130_Umod.zip 166622615
+SHA256 cf813cf894cab36a9714c276a739d4661bec44dcfd1ff1c5d2eca822355ffdec 1263-ONP130_Umod.zip 166622615
diff --git a/games-fps/unreal-tournament-operationnapali/unreal-tournament-operationnapali-1.30.ebuild b/games-fps/unreal-tournament-operationnapali/unreal-tournament-operationnapali-1.30.ebuild
new file mode 100644
index 000000000..508822623
--- /dev/null
+++ b/games-fps/unreal-tournament-operationnapali/unreal-tournament-operationnapali-1.30.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit versionator games
+
+MY_PV=$(delete_all_version_separators)
+
+DESCRIPTION="Unreal-themed single-player campaign"
+HOMEPAGE="http://www.planetunreal.com/teamvortex/help/"
+SRC_URI="ftp://ftp.planetmirror.com/pub/moddb/2005/07/1263-ONP${MY_PV}_Umod.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="|| (
+ >=games-fps/unreal-tournament-436
+ >=games-fps/unreal-tournament-goty-436 )"
+DEPEND="games-util/umodpack
+ app-arch/unzip"
+
+S=${WORKDIR}
+dir=${GAMES_PREFIX_OPT}/unreal-tournament
+docdir=op-napali
+
+src_unpack() {
+ local f lcn n
+
+ unpack ${A}
+ for f in *.umod ; do
+ umod -x "${f}" || die "umod ${f} failed"
+ done
+ rm *.umod
+
+ cd "${S}"
+ unpack ./*.zip
+ rm *.{txt,zip}
+
+ mv -f *.unr Maps
+ mv -f *.u System
+
+ # Fix filenames in HTML
+ sed -i data/docs/*.html \
+ -e "s:\.JPG:\.jpg:" \
+ -e "s:\.PNG:\.png:" \
+ -e "s:TVshortie:tvshortie:" \
+ || die "sed docs failed"
+
+ sed -i *.html \
+ -e "s:data/docs:${docdir}/docs:" \
+ || die "sed help doc failed"
+
+ for n in Skaarj Nali Mercenary Krall Brute ; do
+ lcn=$(echo "${n}" | tr [:upper:] [:lower:])
+ sed -i data/docs/*.html \
+ -e "s:${n}\.jpg:${lcn}\.jpg:" \
+ || die "sed ${n} failed"
+ done
+
+ # Remove Gamespy ads
+ sed -i data/docs/faq.html \
+ -e '9,12d' \
+ || die "sed faq failed"
+
+ mv "Operation NaPali Help Doc.html" "${docdir}.html"
+ mv data "${docdir}"
+}
+
+src_install() {
+ insinto "${dir}"
+ doins -r * || die "doins -r failed"
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ einfo "For instructions and story, read:"
+ einfo "${dir}/${docdir}.html"
+ echo
+} \ No newline at end of file