summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-02-12 20:41:47 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-02-12 20:41:47 +0000
commit1b91d61e5f9d0a359e6460987469627e7dcec7de (patch)
treec7c5d6acff165993d296a92128108d3e2e0d863f /games-strategy/hedgewars
parentrevert back to our init script, bug 238278 (diff)
downloadhistorical-1b91d61e5f9d0a359e6460987469627e7dcec7de.tar.gz
historical-1b91d61e5f9d0a359e6460987469627e7dcec7de.tar.bz2
historical-1b91d61e5f9d0a359e6460987469627e7dcec7de.zip
use cmake-utils funcs
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.28.1 i686
Diffstat (limited to 'games-strategy/hedgewars')
-rw-r--r--games-strategy/hedgewars/ChangeLog6
-rw-r--r--games-strategy/hedgewars/Manifest4
-rw-r--r--games-strategy/hedgewars/hedgewars-0.9.9.ebuild18
3 files changed, 16 insertions, 12 deletions
diff --git a/games-strategy/hedgewars/ChangeLog b/games-strategy/hedgewars/ChangeLog
index b52da9d1c209..0548dc1ca738 100644
--- a/games-strategy/hedgewars/ChangeLog
+++ b/games-strategy/hedgewars/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/hedgewars
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.13 2009/01/29 19:58:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.14 2009/02/12 20:41:47 mr_bones_ Exp $
+
+ 12 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ hedgewars-0.9.9.ebuild:
+ use cmake-utils funcs
*hedgewars-0.9.9 (29 Jan 2009)
diff --git a/games-strategy/hedgewars/Manifest b/games-strategy/hedgewars/Manifest
index 792681b78e98..c98dad280090 100644
--- a/games-strategy/hedgewars/Manifest
+++ b/games-strategy/hedgewars/Manifest
@@ -1,4 +1,4 @@
DIST hedgewars-src-0.9.9.tar.bz2 41469266 RMD160 dc85d10df37d07609bdf28684300cd4d265f9fdf SHA1 efe1e8ae5a27fcb20f217dedb7101df8e868cdfc SHA256 1d5ef8ba6f4ac66e23646cd25d661c9a0339464ec68871648404e791e67fd249
-EBUILD hedgewars-0.9.9.ebuild 1183 RMD160 59949b92385cd315bd6487879e9c2ad9c74d3fb2 SHA1 fe9fac69a64812157984592d7574bb3e9f949142 SHA256 54961c81c0561c33c3cd154c7fd4979af41aaada27b346abdaa7a8807ef83bfd
-MISC ChangeLog 2071 RMD160 fc2dcce1852de3ae516c50b11c6e372d1ff8b897 SHA1 e1b9474ba434ec70853f805d6568c7ae9da0bd2f SHA256 499caec4c8631053763634ac68912b457f56830668d73c88d626a2678cad35db
+EBUILD hedgewars-0.9.9.ebuild 1163 RMD160 314ed815f40e3fa86e10119ece416b9b66779980 SHA1 be83e40f799d36f6e7094274e41a55df10edca8f SHA256 e1711e9debd016af4ae210619c79039403e921eeb1f4f4f57ea5a496e422ad6a
+MISC ChangeLog 2177 RMD160 4f20eecd3b1e74e6b254757a854a68a02f0f6888 SHA1 a0fbb3e7cfc130742238521cdcdc1428ab88eddd SHA256 510c68f6f7a5f50fffc6100c6e87cdc79a5985f5db8ca06e74611fdce1a76d2e
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-strategy/hedgewars/hedgewars-0.9.9.ebuild b/games-strategy/hedgewars/hedgewars-0.9.9.ebuild
index 460a9be32781..fbb81ac0f52a 100644
--- a/games-strategy/hedgewars/hedgewars-0.9.9.ebuild
+++ b/games-strategy/hedgewars/hedgewars-0.9.9.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.9.ebuild,v 1.1 2009/01/29 19:58:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.9.ebuild,v 1.2 2009/02/12 20:41:47 mr_bones_ Exp $
EAPI=2
-inherit eutils games
+inherit cmake-utils eutils games
MY_P=${PN}-src-${PV}
DESCRIPTION="Free Worms-like turn based strategy game"
@@ -31,18 +31,18 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
src_configure() {
- cmake \
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" \
- -DDATA_INSTALL_DIR="${GAMES_DATADIR}" \
- . || die "cmake failed"
+ mycmakeargs="-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX} -DDATA_INSTALL_DIR=${GAMES_DATADIR}"
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ DOCS="ChangeLog.txt README" cmake-utils_src_install
newicon QTfrontend/res/hh25x25.png ${PN}.png
make_desktop_entry ${PN} Hedgewars
- dodoc ChangeLog.txt README
doman man/${PN}.6
prepgamesdirs
}