summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-10-08 02:03:19 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-10-08 02:03:19 +0000
commitbe5241c4f29576d7a69c4ee79d3b5ea6a4359bc6 (patch)
treea13f6e5d598319db4d1000e2f076f7b9a2be5a75 /games-strategy/netpanzer
parentold (diff)
downloadgentoo-2-be5241c4f29576d7a69c4ee79d3b5ea6a4359bc6.tar.gz
gentoo-2-be5241c4f29576d7a69c4ee79d3b5ea6a4359bc6.tar.bz2
gentoo-2-be5241c4f29576d7a69c4ee79d3b5ea6a4359bc6.zip
version bump
(Portage version: 2.1.3.9)
Diffstat (limited to 'games-strategy/netpanzer')
-rw-r--r--games-strategy/netpanzer/ChangeLog8
-rw-r--r--games-strategy/netpanzer/files/digest-netpanzer-0.8.26
-rw-r--r--games-strategy/netpanzer/netpanzer-0.8.2.ebuild64
3 files changed, 77 insertions, 1 deletions
diff --git a/games-strategy/netpanzer/ChangeLog b/games-strategy/netpanzer/ChangeLog
index edfad80e3d37..b632411d5056 100644
--- a/games-strategy/netpanzer/ChangeLog
+++ b/games-strategy/netpanzer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/netpanzer
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/ChangeLog,v 1.24 2007/03/07 17:30:56 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/ChangeLog,v 1.25 2007/10/08 02:03:19 mr_bones_ Exp $
+
+*netpanzer-0.8.2 (08 Oct 2007)
+
+ 08 Oct 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +netpanzer-0.8.2.ebuild:
+ version bump
07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> files/netpanzer.rc,
files/netpanzer-ded:
diff --git a/games-strategy/netpanzer/files/digest-netpanzer-0.8.2 b/games-strategy/netpanzer/files/digest-netpanzer-0.8.2
new file mode 100644
index 000000000000..29e2cc992dbe
--- /dev/null
+++ b/games-strategy/netpanzer/files/digest-netpanzer-0.8.2
@@ -0,0 +1,6 @@
+MD5 3f446403ac7e72ed0ff9e093517c83d3 netpanzer-0.8.2.tar.bz2 10416147
+RMD160 3a39a309d3fd3170e37558de982d3ab6ea77ceb3 netpanzer-0.8.2.tar.bz2 10416147
+SHA256 bc70badec3a846cca8090b6ecda388956c01053b7ea2596b44c730bcc29e3979 netpanzer-0.8.2.tar.bz2 10416147
+MD5 d2dbd5a6c38a181fa3b6aa9a68c81d2f netpanzer-data-0.8.tar.bz2 10123751
+RMD160 a2746ba759b61a1ddc31847144e407674dc46900 netpanzer-data-0.8.tar.bz2 10123751
+SHA256 0ed4398f5e0a796422474fcc518934d74ceb056ca7ab624d8d239b749535277b netpanzer-data-0.8.tar.bz2 10123751
diff --git a/games-strategy/netpanzer/netpanzer-0.8.2.ebuild b/games-strategy/netpanzer/netpanzer-0.8.2.ebuild
new file mode 100644
index 000000000000..bf2fcd648cea
--- /dev/null
+++ b/games-strategy/netpanzer/netpanzer-0.8.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/netpanzer-0.8.2.ebuild,v 1.1 2007/10/08 02:03:19 mr_bones_ Exp $
+
+inherit eutils games
+
+DATAVERSION="0.8"
+DESCRIPTION="Fast-action multiplayer strategic network game"
+HOMEPAGE="http://netpanzer.berlios.de/"
+SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2
+ mirror://berlios/${PN}/${PN}-data-${DATAVERSION}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="dedicated"
+
+RDEPEND="dedicated? ( app-misc/screen )
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ dev-games/physfs"
+DEPEND="${RDEPEND}
+ dev-util/jam"
+
+src_compile() {
+ egamesconf || die
+ jam -q || die "jam failed"
+
+ 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}"/${PN}.rc ${PN} || die "newinitd failed"
+ sed -i \
+ -e "s:GAMES_USER_DED:${GAMES_USER_DED}:" \
+ -e "s:GENTOO_DIR:${GAMES_BINDIR}:" \
+ "${D}"/etc/init.d/${PN} \
+ || die "sed failed"
+
+ insinto /etc
+ doins "${FILESDIR}"/${PN}-ded.ini || die "doins failed"
+ dogamesbin "${FILESDIR}"/${PN}-ded || die "dogamesbin failed"
+ sed -i \
+ -e "s:GENTOO_DIR:${GAMES_BINDIR}:" \
+ "${D}/${GAMES_BINDIR}"/${PN}-ded \
+ || die "sed failed"
+ fi
+
+ rm -rf "${D}/${GAMES_DATADIR}"/{applications,pixmaps}
+ doicon "${S}"/${PN}.png
+ make_desktop_entry ${PN} NetPanzer
+ prepgamesdirs
+}