From 18e7373f7e4ab8082db78c5bb66e4cbe08971d25 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Sun, 23 Jan 2005 15:41:28 +0000 Subject: Bumped to 2.0_rc4 and added ~amd64 to KEYWORDS. Closing bug #69946. (Portage version: 2.0.51-r14) --- games-strategy/netpanzer/ChangeLog | 10 +++- .../netpanzer/files/digest-netpanzer-0.2.0_rc4 | 2 + games-strategy/netpanzer/netpanzer-0.1.5-r1.ebuild | 4 +- games-strategy/netpanzer/netpanzer-0.1.5.ebuild | 4 +- .../netpanzer/netpanzer-0.2.0_rc4.ebuild | 63 ++++++++++++++++++++++ 5 files changed, 77 insertions(+), 6 deletions(-) create mode 100644 games-strategy/netpanzer/files/digest-netpanzer-0.2.0_rc4 create mode 100644 games-strategy/netpanzer/netpanzer-0.2.0_rc4.ebuild (limited to 'games-strategy') diff --git a/games-strategy/netpanzer/ChangeLog b/games-strategy/netpanzer/ChangeLog index 1cc234f70696..49984cb315e3 100644 --- a/games-strategy/netpanzer/ChangeLog +++ b/games-strategy/netpanzer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/netpanzer -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/ChangeLog,v 1.13 2004/08/04 17:49:49 mr_bones_ Exp $ +# 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 $ + +*netpanzer-0.2.0_rc4 (23 Jan 2005) + + 23 Jan 2005; Chris Gianelloni + +netpanzer-0.2.0_rc4.ebuild: + Bumped to 2.0_rc4 and added ~amd64 to KEYWORDS. Closing bug #69946. 04 Aug 2004; Michael Sterrett netpanzer-0.1.5-r1.ebuild: diff --git a/games-strategy/netpanzer/files/digest-netpanzer-0.2.0_rc4 b/games-strategy/netpanzer/files/digest-netpanzer-0.2.0_rc4 new file mode 100644 index 000000000000..1fece18023c2 --- /dev/null +++ b/games-strategy/netpanzer/files/digest-netpanzer-0.2.0_rc4 @@ -0,0 +1,2 @@ +MD5 df084e67eb00b9abc881d4860ee777a9 netpanzer-0.2.0_rc4.tar.bz2 379976 +MD5 777a08c56195cf1e5e64950196d89ed6 netpanzer-data-0.2.0.tar.bz2 9842392 diff --git a/games-strategy/netpanzer/netpanzer-0.1.5-r1.ebuild b/games-strategy/netpanzer/netpanzer-0.1.5-r1.ebuild index 75b2f2f536e0..1a9b046cbd75 100644 --- a/games-strategy/netpanzer/netpanzer-0.1.5-r1.ebuild +++ b/games-strategy/netpanzer/netpanzer-0.1.5-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# 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.1.5-r1.ebuild,v 1.4 2004/08/04 17:49:49 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/netpanzer-0.1.5-r1.ebuild,v 1.5 2005/01/23 15:41:28 wolf31o2 Exp $ inherit eutils games diff --git a/games-strategy/netpanzer/netpanzer-0.1.5.ebuild b/games-strategy/netpanzer/netpanzer-0.1.5.ebuild index 9e2072574feb..be7ef4ba12e7 100644 --- a/games-strategy/netpanzer/netpanzer-0.1.5.ebuild +++ b/games-strategy/netpanzer/netpanzer-0.1.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# 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.1.5.ebuild,v 1.4 2004/06/24 23:28:47 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/netpanzer-0.1.5.ebuild,v 1.5 2005/01/23 15:41:28 wolf31o2 Exp $ inherit eutils games diff --git a/games-strategy/netpanzer/netpanzer-0.2.0_rc4.ebuild b/games-strategy/netpanzer/netpanzer-0.2.0_rc4.ebuild new file mode 100644 index 000000000000..901a30db94c4 --- /dev/null +++ b/games-strategy/netpanzer/netpanzer-0.2.0_rc4.ebuild @@ -0,0 +1,63 @@ +# 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.2.0_rc4.ebuild,v 1.1 2005/01/23 15:41:28 wolf31o2 Exp $ + +inherit eutils games + +DESCRIPTION="Fast-action multiplayer strategic network game" +HOMEPAGE="http://netpanzer.berlios.de/" +DATAVERSION="0.2.0" +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="~x86 ~ppc ~amd64" +IUSE="dedicated" + +RDEPEND="dedicated? ( app-misc/screen ) + >=media-libs/libsdl-1.2.5 + >=media-libs/sdl-mixer-1.2 + >=media-libs/sdl-image-1.2 + >=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 + exeinto /etc/init.d + newexe "${FILESDIR}/netpanzer.rc" netpanzer || die "newexe failed" + dosed "s:GAMES_USER_DED:${GAMES_USER_DED}:" /etc/init.d/netpanzer + dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" /etc/init.d/netpanzer + + insinto /etc + doins "${FILESDIR}/netpanzer-ded.ini" || die "newins failed" + exeinto ${GAMES_BINDIR} + doexe "${FILESDIR}/netpanzer-ded" || die "newexe failed" + dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" ${GAMES_BINDIR}/netpanzer-ded + fi + + make_desktop_entry netpanzer NetPanzer netpanzer.png + + prepgamesdirs +} -- cgit v1.2.3-65-gdbad