diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-05-26 07:28:14 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-05-26 07:28:14 +0000 |
commit | b3b3c8cca139c4d724951b9a2a3fdd4c35398e12 (patch) | |
tree | 9d5813948c91e7e2e326f783d24a920dad449fd0 /games-strategy/hedgewars/hedgewars-0.9.11.ebuild | |
parent | Initial import, bug 269377. Ebuild by Aleksandr Yakimov <yaleks@gentoo.ru> w/... (diff) | |
download | gentoo-2-b3b3c8cca139c4d724951b9a2a3fdd4c35398e12.tar.gz gentoo-2-b3b3c8cca139c4d724951b9a2a3fdd4c35398e12.tar.bz2 gentoo-2-b3b3c8cca139c4d724951b9a2a3fdd4c35398e12.zip |
version bump
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'games-strategy/hedgewars/hedgewars-0.9.11.ebuild')
-rw-r--r-- | games-strategy/hedgewars/hedgewars-0.9.11.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/games-strategy/hedgewars/hedgewars-0.9.11.ebuild b/games-strategy/hedgewars/hedgewars-0.9.11.ebuild new file mode 100644 index 000000000000..d57e6491fc02 --- /dev/null +++ b/games-strategy/hedgewars/hedgewars-0.9.11.ebuild @@ -0,0 +1,50 @@ +# 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.11.ebuild,v 1.1 2009/05/26 07:28:14 mr_bones_ Exp $ + +EAPI=2 +inherit cmake-utils 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 Apache-2.0 FDL-1.3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/qt-gui:4 + x11-libs/qt-svg:4 + media-libs/libsdl[audio,video] + media-libs/sdl-ttf + media-libs/sdl-mixer[vorbis] + media-libs/sdl-image[png] + media-libs/sdl-net" +DEPEND="${RDEPEND} + >=dev-lang/fpc-2.2" +RDEPEND="${RDEPEND} + media-fonts/dejavu" + +S=${WORKDIR}/${MY_P} + +src_configure() { + mycmakeargs="-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX} -DDATA_INSTALL_DIR=${GAMES_DATADIR}" + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + DOCS="ChangeLog.txt README" cmake-utils_src_install + rm -f "${D}"/usr/share/games/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf + dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \ + ${GAMES_DATADIR}/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf + newicon QTfrontend/res/hh25x25.png ${PN}.png + make_desktop_entry ${PN} Hedgewars + doman man/${PN}.6 + prepgamesdirs +} |