summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-06-19 20:41:41 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-06-19 20:41:41 +0000
commit3eaec4761a0c0073bf39d99b703f87c13cf8ca00 (patch)
treed30324206c1bd494d8873fe22b2c169443abb7e6 /games-strategy/hedgewars
parentAdd ~amd64 keyword. (diff)
downloadgentoo-2-3eaec4761a0c0073bf39d99b703f87c13cf8ca00.tar.gz
gentoo-2-3eaec4761a0c0073bf39d99b703f87c13cf8ca00.tar.bz2
gentoo-2-3eaec4761a0c0073bf39d99b703f87c13cf8ca00.zip
version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-strategy/hedgewars')
-rw-r--r--games-strategy/hedgewars/ChangeLog8
-rw-r--r--games-strategy/hedgewars/hedgewars-0.9.4.ebuild46
2 files changed, 53 insertions, 1 deletions
diff --git a/games-strategy/hedgewars/ChangeLog b/games-strategy/hedgewars/ChangeLog
index 8586ad81e242..1577520a7931 100644
--- a/games-strategy/hedgewars/ChangeLog
+++ b/games-strategy/hedgewars/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/hedgewars
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.6 2008/06/10 00:24:40 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.7 2008/06/19 20:41:41 mr_bones_ Exp $
+
+*hedgewars-0.9.4 (19 Jun 2008)
+
+ 19 Jun 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +hedgewars-0.9.4.ebuild:
+ version bump
10 Jun 2008; Michael Sterrett <mr_bones_@gentoo.org>
hedgewars-0.9.3.ebuild:
diff --git a/games-strategy/hedgewars/hedgewars-0.9.4.ebuild b/games-strategy/hedgewars/hedgewars-0.9.4.ebuild
new file mode 100644
index 000000000000..1d562f08b11c
--- /dev/null
+++ b/games-strategy/hedgewars/hedgewars-0.9.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.4.ebuild,v 1.1 2008/06/19 20:41:41 mr_bones_ Exp $
+
+EAPI=1
+inherit eutils games
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="Free Worms-like turn based strategy game"
+HOMEPAGE="http://hedgewars.org/"
+SRC_URI="http://hedgewars.org/download/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/qt-4.2:4
+ media-libs/libsdl
+ media-libs/sdl-ttf
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/sdl-net"
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.4.4
+ dev-lang/fpc"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ cmake \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" \
+ -DDATA_INSTALL_DIR="${GAMES_DATADIR}" \
+ . || die "cmake failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newicon QTfrontend/res/hh25x25.png ${PN}.png
+ make_desktop_entry ${PN} Hedgewars
+ dodoc ChangeLog.txt README
+ doman man/${PN}.6
+ prepgamesdirs
+}