summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-02-11 21:08:23 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-02-11 21:08:23 +0000
commit00dd80b96ff04e93ca8f87ff545a3a5e46fa6525 (patch)
tree7ab400bb389a73326a8661b47cc914df3bb93905 /games-strategy
parentfix Manifest (diff)
downloadhistorical-00dd80b96ff04e93ca8f87ff545a3a5e46fa6525.tar.gz
historical-00dd80b96ff04e93ca8f87ff545a3a5e46fa6525.tar.bz2
historical-00dd80b96ff04e93ca8f87ff545a3a5e46fa6525.zip
version bump (bug #79742) - ebuild updates from Robert Schuster
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/netpanzer/ChangeLog7
-rw-r--r--games-strategy/netpanzer/Manifest4
-rw-r--r--games-strategy/netpanzer/files/digest-netpanzer-0.82
-rw-r--r--games-strategy/netpanzer/netpanzer-0.8.ebuild66
4 files changed, 77 insertions, 2 deletions
diff --git a/games-strategy/netpanzer/ChangeLog b/games-strategy/netpanzer/ChangeLog
index 49984cb315e3..0b0a5e02a54c 100644
--- a/games-strategy/netpanzer/ChangeLog
+++ b/games-strategy/netpanzer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/netpanzer
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/ChangeLog,v 1.14 2005/01/23 15:41:28 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/ChangeLog,v 1.15 2005/02/11 21:08:23 mr_bones_ Exp $
+
+*netpanzer-0.8 (11 Feb 2005)
+
+ 11 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> +netpanzer-0.8.ebuild:
+ version bump (bug #79742) - ebuild updates from Robert Schuster
*netpanzer-0.2.0_rc4 (23 Jan 2005)
diff --git a/games-strategy/netpanzer/Manifest b/games-strategy/netpanzer/Manifest
index edf6dd76d390..1f4b8ffc8f92 100644
--- a/games-strategy/netpanzer/Manifest
+++ b/games-strategy/netpanzer/Manifest
@@ -1,8 +1,10 @@
-MD5 8a7e9e2509f1a7b814b81b8ad3ee887f ChangeLog 2348
+MD5 4b0daa043f0559f7a2309576ffccbbe1 ChangeLog 2524
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 1068d6de32444858ee945d63484e9a8d netpanzer-0.1.5.ebuild 1483
MD5 ed445e3767478f939464a061ebfada98 netpanzer-0.1.5-r1.ebuild 1604
MD5 e0750724019d5b209735b05969270f11 netpanzer-0.2.0_rc4.ebuild 1914
+MD5 e675d7a02d2002a87f8a97d94e438985 netpanzer-0.8.ebuild 1954
+MD5 b31fb3b6d8c97b5f87ef8a825a60db2e files/digest-netpanzer-0.8 139
MD5 f47a217f31009959adef8ad76dab43e2 files/digest-netpanzer-0.1.5-r1 141
MD5 c9b6c5701508f477aa5d96ae43826c6c files/digest-netpanzer-0.2.0_rc4 146
MD5 f47a217f31009959adef8ad76dab43e2 files/digest-netpanzer-0.1.5 141
diff --git a/games-strategy/netpanzer/files/digest-netpanzer-0.8 b/games-strategy/netpanzer/files/digest-netpanzer-0.8
new file mode 100644
index 000000000000..1f7f2a2367ef
--- /dev/null
+++ b/games-strategy/netpanzer/files/digest-netpanzer-0.8
@@ -0,0 +1,2 @@
+MD5 c08c1b703eac533407db02510deca68e netpanzer-0.8.tar.bz2 382007
+MD5 d2dbd5a6c38a181fa3b6aa9a68c81d2f netpanzer-data-0.8.tar.bz2 10123751
diff --git a/games-strategy/netpanzer/netpanzer-0.8.ebuild b/games-strategy/netpanzer/netpanzer-0.8.ebuild
new file mode 100644
index 000000000000..270979388a6d
--- /dev/null
+++ b/games-strategy/netpanzer/netpanzer-0.8.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/netpanzer-0.8.ebuild,v 1.1 2005/02/11 21:08:23 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="Fast-action multiplayer strategic network game"
+HOMEPAGE="http://netpanzer.berlios.de/"
+DATAVERSION="0.8"
+SRC_URI="http://download.berlios.de/netpanzer/netpanzer-${PV}.tar.bz2
+ http://download.berlios.de/netpanzer/netpanzer-data-${DATAVERSION}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+IUSE="dedicated"
+
+RDEPEND="dedicated? ( app-misc/screen )
+ >=media-libs/libsdl-1.2.5
+ >=media-libs/sdl-mixer-1.2.4
+ >=media-libs/sdl-image-1.2.3
+ >=dev-games/physfs-0.1.9"
+DEPEND="${RDEPEND}
+ >=dev-util/jam-2.5"
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}/${PN}-data-${DATAVERSION}/"
+}
+
+src_compile() {
+ egamesconf || die
+ jam -q || die "jam failed"
+
+ einfo "Working in ${WORKDIR}/${PN}-data-${DATAVERSION}/"
+ cd ${WORKDIR}/${PN}-data-${DATAVERSION}/
+ egamesconf || die
+ jam -q || die "jam failed (on data package)"
+}
+
+src_install() {
+ jam -sDESTDIR="${D}" -sappdocdir=/usr/share/doc/${PF} install || die "jam install failed"
+
+ cd "${WORKDIR}/${PN}-data-${DATAVERSION}/"
+ jam -sDESTDIR=${D} -sappdocdir=/usr/share/doc/${PF} install || die "jam install failed (data package)"
+
+ if use dedicated ; then
+ newinitd "${FILESDIR}/netpanzer.rc" netpanzer || die "newexe failed"
+ sed -i \
+ -e "s:GAMES_USER_DED:${GAMES_USER_DED}:" \
+ -e "s:GENTOO_DIR:${GAMES_BINDIR}:" \
+ "${D}/etc/init.d/netpanzer" \
+ || die "sed failed"
+
+ insinto /etc
+ doins "${FILESDIR}/netpanzer-ded.ini" || die "newins failed"
+ exeinto "${GAMES_BINDIR}"
+ doexe "${FILESDIR}/netpanzer-ded" || die "newexe failed"
+ sed -i \
+ -e "s:GENTOO_DIR:${GAMES_BINDIR}:" \
+ "${D}${GAMES_BINDIR}/netpanzer-ded" \
+ || die "sed failed"
+ fi
+ make_desktop_entry netpanzer NetPanzer netpanzer.png
+ prepgamesdirs
+}