summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/crimson')
-rw-r--r--games-strategy/crimson/ChangeLog8
-rw-r--r--games-strategy/crimson/crimson-0.5.2.ebuild61
-rw-r--r--games-strategy/crimson/files/digest-crimson-0.5.23
3 files changed, 71 insertions, 1 deletions
diff --git a/games-strategy/crimson/ChangeLog b/games-strategy/crimson/ChangeLog
index 43d9092ce4ad..9c952d079802 100644
--- a/games-strategy/crimson/ChangeLog
+++ b/games-strategy/crimson/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/crimson
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/crimson/ChangeLog,v 1.26 2007/07/01 23:58:55 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/crimson/ChangeLog,v 1.27 2007/12/27 18:29:51 mr_bones_ Exp $
+
+*crimson-0.5.2 (27 Dec 2007)
+
+ 27 Dec 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +crimson-0.5.2.ebuild:
+ version bump
01 Jul 2007; Tristan Heaven <nyhm@gentoo.org> crimson-0.5.1.ebuild:
Fix make check
diff --git a/games-strategy/crimson/crimson-0.5.2.ebuild b/games-strategy/crimson/crimson-0.5.2.ebuild
new file mode 100644
index 000000000000..ba05bd5ff64e
--- /dev/null
+++ b/games-strategy/crimson/crimson-0.5.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/crimson/crimson-0.5.2.ebuild,v 1.1 2007/12/27 18:29:51 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="Tactical war game in the tradition of Battle Isle"
+HOMEPAGE="http://crimson.seul.org/"
+SRC_URI="http://crimson.seul.org/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="test zlib"
+
+RDEPEND="media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-ttf
+ media-libs/sdl-net
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ dev-libs/libxslt
+ test? (
+ =app-text/docbook-xml-dtd-4.2*
+ dev-libs/libxml2
+ )"
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --enable-sound \
+ --enable-net \
+ $(use_with zlib) \
+ --enable-cfed \
+ --enable-bi2cf \
+ --enable-comet \
+ --enable-cf2bmp \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ pixmapsdir="/usr/share/pixmaps" \
+ install || die "emake install failed"
+ dodoc NEWS README* THANKS TODO
+ rm -rf "${D}/${GAMES_DATADIR}/applications"
+ make_desktop_entry crimson "Crimson Fields"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ ewarn "Crimson Fields ${PV} is not save-game compatible with previous versions."
+ echo
+ elog "If you have older save files and you wish to continue those games,"
+ elog "you'll need to remerge the version with which you started"
+ elog "those save-games."
+}
diff --git a/games-strategy/crimson/files/digest-crimson-0.5.2 b/games-strategy/crimson/files/digest-crimson-0.5.2
new file mode 100644
index 000000000000..730c504d68a2
--- /dev/null
+++ b/games-strategy/crimson/files/digest-crimson-0.5.2
@@ -0,0 +1,3 @@
+MD5 a6024dd95c8767cee9907475bf827291 crimson-0.5.2.tar.bz2 858371
+RMD160 a78df45718a76476b063a46e3d7a3d623d4cf07b crimson-0.5.2.tar.bz2 858371
+SHA256 d75f03cd06f0e3c290e6538bf33787636cdaeaeb99ca382738a79dcce3a25424 crimson-0.5.2.tar.bz2 858371