summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-02-25 23:00:01 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-02-25 23:00:01 +0000
commit246b4edfbe8dadc0f34ee049f87e0401221132da (patch)
treeae6310cea580cfce91eb2aacf4458da0f96af375 /games-arcade
parentquoting (diff)
downloadgentoo-2-246b4edfbe8dadc0f34ee049f87e0401221132da.tar.gz
gentoo-2-246b4edfbe8dadc0f34ee049f87e0401221132da.tar.bz2
gentoo-2-246b4edfbe8dadc0f34ee049f87e0401221132da.zip
version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/blobwars/ChangeLog10
-rw-r--r--games-arcade/blobwars/blobwars-1.08.ebuild70
2 files changed, 78 insertions, 2 deletions
diff --git a/games-arcade/blobwars/ChangeLog b/games-arcade/blobwars/ChangeLog
index c23d6864d4f1..ec8ea735b5d2 100644
--- a/games-arcade/blobwars/ChangeLog
+++ b/games-arcade/blobwars/ChangeLog
@@ -1,6 +1,12 @@
# 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.30 2007/07/25 04:15:33 mr_bones_ Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/blobwars/ChangeLog,v 1.31 2008/02/25 23:00:01 mr_bones_ Exp $
+
+*blobwars-1.08 (25 Feb 2008)
+
+ 25 Feb 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +blobwars-1.08.ebuild:
+ version bump
25 Jul 2007; Michael Sterrett <mr_bones_@gentoo.org>
+files/blobwars-1.07-es.patch, blobwars-1.07.ebuild:
diff --git a/games-arcade/blobwars/blobwars-1.08.ebuild b/games-arcade/blobwars/blobwars-1.08.ebuild
new file mode 100644
index 000000000000..92e363ff4dd9
--- /dev/null
+++ b/games-arcade/blobwars/blobwars-1.08.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/blobwars/blobwars-1.08.ebuild,v 1.1 2008/02/25 23:00:01 mr_bones_ Exp $
+
+inherit eutils 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
+}