diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-05-27 20:19:23 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-05-27 20:19:23 +0000 |
commit | bdfd799625652e70b910961f0b9d2333ff350758 (patch) | |
tree | d1526a3a0c1a89dde85b8621c47b3bb9d191ae06 /games-strategy/freelords | |
parent | Revbump to fix collision. (diff) | |
download | gentoo-2-bdfd799625652e70b910961f0b9d2333ff350758.tar.gz gentoo-2-bdfd799625652e70b910961f0b9d2333ff350758.tar.bz2 gentoo-2-bdfd799625652e70b910961f0b9d2333ff350758.zip |
Version bump, bug #179574
(Portage version: 2.1.2.8)
Diffstat (limited to 'games-strategy/freelords')
-rw-r--r-- | games-strategy/freelords/ChangeLog | 9 | ||||
-rw-r--r-- | games-strategy/freelords/files/digest-freelords-0.3.8 | 3 | ||||
-rw-r--r-- | games-strategy/freelords/freelords-0.3.8.ebuild | 67 |
3 files changed, 77 insertions, 2 deletions
diff --git a/games-strategy/freelords/ChangeLog b/games-strategy/freelords/ChangeLog index a5dd22808a30..201c562b96c5 100644 --- a/games-strategy/freelords/ChangeLog +++ b/games-strategy/freelords/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-strategy/freelords -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/ChangeLog,v 1.25 2006/10/09 15:05:34 wolf31o2 Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/ChangeLog,v 1.26 2007/05/27 20:19:23 nyhm Exp $ + +*freelords-0.3.8 (27 May 2007) + + 27 May 2007; Tristan Heaven <nyhm@gentoo.org> +freelords-0.3.8.ebuild: + Version bump, bug #179574 09 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> files/digest-freelords-0.3.6, Manifest: diff --git a/games-strategy/freelords/files/digest-freelords-0.3.8 b/games-strategy/freelords/files/digest-freelords-0.3.8 new file mode 100644 index 000000000000..0516171a8dfa --- /dev/null +++ b/games-strategy/freelords/files/digest-freelords-0.3.8 @@ -0,0 +1,3 @@ +MD5 e8b0047cd9410d0b33607a206e816c50 freelords-0.3.8.tar.bz2 12822319 +RMD160 8ed4da9726765a1fdc8f5e41df816e5b57e582d3 freelords-0.3.8.tar.bz2 12822319 +SHA256 5d7ad55a86accb8c30ac324729cbf8d752e445d896faa920f3c33f3cb4055a26 freelords-0.3.8.tar.bz2 12822319 diff --git a/games-strategy/freelords/freelords-0.3.8.ebuild b/games-strategy/freelords/freelords-0.3.8.ebuild new file mode 100644 index 000000000000..10ebce943bb6 --- /dev/null +++ b/games-strategy/freelords/freelords-0.3.8.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/freelords-0.3.8.ebuild,v 1.1 2007/05/27 20:19:23 nyhm Exp $ + +inherit eutils games + +DESCRIPTION="Free Warlords clone" +HOMEPAGE="http://freelords.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="editor nls" + +RDEPEND="dev-libs/expat + media-libs/sdl-mixer + media-libs/libsdl + media-libs/sdl-image + >=media-libs/freetype-2 + >=media-libs/paragui-1.1.8 + =dev-libs/libsigc++-1.2* + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + dev-util/pkgconfig" + +pkg_setup() { + if ! built_with_use media-libs/sdl-mixer vorbis ; then + die "Please emerge sdl-mixer with USE=vorbis" + fi + games_pkg_setup +} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e '/locale/s:$(datadir):/usr/share:' \ + -e '/locale/s:$(prefix):/usr:' \ + -e 's:$(localedir):/usr/share/locale:' \ + -e '/freelords.desktop/d' \ + $(find -name 'Makefile.in*') \ + || die "sed failed" +} + +src_compile() { + egamesconf \ + --disable-dependency-tracking \ + --disable-paraguitest \ + $(use_enable editor) \ + $(use_enable nls) \ + || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + doicon dat/various/${PN}.png + make_desktop_entry ${PN} FreeLords + if use editor ; then + doicon dat/various/${PN}_editor.png + make_desktop_entry ${PN}_editor "FreeLords Editor" ${PN}_editor.png + fi + dodoc AUTHORS ChangeLog HACKER NEWS README TODO doc/*.pdf + prepgamesdirs +} |