summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-06-01 01:53:22 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-06-01 01:53:22 +0000
commit61fe6f017feedd9bce6bf5dd87e907617e7adee7 (patch)
treed0440350ced5273f4bdde00d11873ab1598ab838 /games-arcade
parentStable for HPPA (bug #180367). (diff)
downloadgentoo-2-61fe6f017feedd9bce6bf5dd87e907617e7adee7.tar.gz
gentoo-2-61fe6f017feedd9bce6bf5dd87e907617e7adee7.tar.bz2
gentoo-2-61fe6f017feedd9bce6bf5dd87e907617e7adee7.zip
Version bump
(Portage version: 2.1.2.7)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/blobwars/ChangeLog7
-rw-r--r--games-arcade/blobwars/blobwars-1.07.ebuild70
-rw-r--r--games-arcade/blobwars/files/digest-blobwars-1.073
3 files changed, 79 insertions, 1 deletions
diff --git a/games-arcade/blobwars/ChangeLog b/games-arcade/blobwars/ChangeLog
index 2e812b9fef40..e32d50984fc1 100644
--- a/games-arcade/blobwars/ChangeLog
+++ b/games-arcade/blobwars/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-arcade/blobwars
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/blobwars/ChangeLog,v 1.28 2007/04/10 22:22:57 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/blobwars/ChangeLog,v 1.29 2007/06/01 01:53:22 nyhm Exp $
+
+*blobwars-1.07 (01 Jun 2007)
+
+ 01 Jun 2007; Tristan Heaven <nyhm@gentoo.org> +blobwars-1.07.ebuild:
+ Version bump
*blobwars-1.06 (10 Apr 2007)
diff --git a/games-arcade/blobwars/blobwars-1.07.ebuild b/games-arcade/blobwars/blobwars-1.07.ebuild
new file mode 100644
index 000000000000..cb917ac6a966
--- /dev/null
+++ b/games-arcade/blobwars/blobwars-1.07.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/blobwars/blobwars-1.07.ebuild,v 1.1 2007/06/01 01:53:22 nyhm Exp $
+
+inherit gnome2-utils games
+
+DESCRIPTION="Platform game about a blob and his quest to rescue MIAs from an alien invader"
+HOMEPAGE="http://www.parallelrealities.co.uk/blobWars.php"
+# download page has a lame PHP thing.
+SRC_URI="mirror://gentoo/${P}-1.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-ttf
+ media-libs/sdl-image
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # don't build the pak file in the install stage.
+ sed -i \
+ -e "70d" \
+ -e "/GAMEPLAYMANUAL/s:index:html/index:" \
+ makefile \
+ || die "sed failed"
+}
+
+src_compile() {
+ emake \
+ DATADIR="${GAMES_DATADIR}/${PN}/" \
+ DOCDIR="/usr/share/doc/${PF}/" \
+ LOCALEDIR="/usr/share/locale/" \
+ || die "emake failed"
+ emake buildpak || die "emake failed"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ BINDIR="${D}/${GAMES_BINDIR}/" \
+ DATADIR="${D}/${GAMES_DATADIR}/${PN}/" \
+ DOCDIR="${D}/usr/share/doc/${PF}/" \
+ ICONDIR="${D}/usr/share/icons/hicolor/" \
+ DESKTOPDIR="${D}/usr/share/applications/" \
+ LOCALEDIR="${D}/usr/share/locale/" \
+ install || die "emake install failed"
+ # now make the docs Gentoo friendly.
+ dohtml "${D}/usr/share/doc/${PF}/"*
+ dodoc "${D}/usr/share/doc/${PF}/"{CHANGES,HACKING,PORTING,README}
+ rm -f "${D}/usr/share/doc/${PF}/"*.{png,gif,html} \
+ "${D}/usr/share/doc/${PF}/"{CHANGES,HACKING,LICENSE,PORTING,README}
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-arcade/blobwars/files/digest-blobwars-1.07 b/games-arcade/blobwars/files/digest-blobwars-1.07
new file mode 100644
index 000000000000..7740bc9383e7
--- /dev/null
+++ b/games-arcade/blobwars/files/digest-blobwars-1.07
@@ -0,0 +1,3 @@
+MD5 877d8075ce3f01557be35e7b1da11eec blobwars-1.07-1.tar.gz 7768642
+RMD160 f7ab2bb38c5d09e4be78ede09d251dbe45d59eac blobwars-1.07-1.tar.gz 7768642
+SHA256 a094083bc6e6e11b210a98fc4dd359fc60ff1145be1e82550e4a0f909e6dec55 blobwars-1.07-1.tar.gz 7768642