summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-strategy/freelords/ChangeLog8
-rw-r--r--games-strategy/freelords/Manifest6
-rw-r--r--games-strategy/freelords/files/digest-freelords-0.3.31
-rw-r--r--games-strategy/freelords/freelords-0.3.3.ebuild55
4 files changed, 67 insertions, 3 deletions
diff --git a/games-strategy/freelords/ChangeLog b/games-strategy/freelords/ChangeLog
index 4596933c9852..5b4671af870a 100644
--- a/games-strategy/freelords/ChangeLog
+++ b/games-strategy/freelords/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/freelords
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/ChangeLog,v 1.8 2004/06/24 23:27:53 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/ChangeLog,v 1.9 2004/08/07 13:03:20 mr_bones_ Exp $
+
+*freelords-0.3.3 (07 Aug 2004)
+
+ 07 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ +freelords-0.3.3.ebuild:
+ version bump
05 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> freelords-0.3.ebuild:
clean older version
diff --git a/games-strategy/freelords/Manifest b/games-strategy/freelords/Manifest
index ec716a59bd34..e7df6f73ef98 100644
--- a/games-strategy/freelords/Manifest
+++ b/games-strategy/freelords/Manifest
@@ -1,6 +1,8 @@
+MD5 cbf3e974573a80cf159b06517511a293 freelords-0.3.3.ebuild 1165
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 cbf3e974573a80cf159b06517511a293 freelords-0.3.1.ebuild 1165
MD5 0ea7ea46c98b7d54708460b7bda60dba ChangeLog 1089
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 64ba42dc574811c9be69f0201cf0ecc4 files/0.2.3-gcc3.patch 1252
MD5 c64e4bc7bfb2479e2073bb3f5fdfa5fd files/digest-freelords-0.3.1 68
MD5 ab1b855445f4e0f4ccbc46662e0bf206 files/freelordsrc 147
-MD5 64ba42dc574811c9be69f0201cf0ecc4 files/0.2.3-gcc3.patch 1252
+MD5 847bea9f1eb22873a23e5b4f40dcab30 files/digest-freelords-0.3.3 68
diff --git a/games-strategy/freelords/files/digest-freelords-0.3.3 b/games-strategy/freelords/files/digest-freelords-0.3.3
new file mode 100644
index 000000000000..0e436cd7f732
--- /dev/null
+++ b/games-strategy/freelords/files/digest-freelords-0.3.3
@@ -0,0 +1 @@
+MD5 7aa016ba4eb92b4f16bd18beba8f3026 freelords-0.3.3.tar.bz2 927344
diff --git a/games-strategy/freelords/freelords-0.3.3.ebuild b/games-strategy/freelords/freelords-0.3.3.ebuild
new file mode 100644
index 000000000000..8e5f748f26ed
--- /dev/null
+++ b/games-strategy/freelords/freelords-0.3.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/freelords-0.3.3.ebuild,v 1.1 2004/08/07 13:03:20 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="Free Warlords clone"
+HOMEPAGE="http://www.freelords.org/"
+SRC_URI="mirror://sourceforge/freelords/${P}.tar.bz2"
+
+KEYWORDS="x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="nls"
+
+RDEPEND="dev-libs/expat
+ >=media-libs/libsdl-1.2.0
+ >=media-libs/sdl-image-1.2.0
+ >=media-libs/paragui-1.0.4
+ >=dev-libs/libsigc++-1.2.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e "s:/etc/freelordsrc:${GAMES_SYSCONFDIR}/freelordsrc:" src/main.cpp \
+ || die "sed src/main.cpp failed"
+ sed -i \
+ -e "s:\$(prefix)/share/locale:/usr/share/locale:" src/Makefile.in \
+ || die "sed src/Makefile.in failed"
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --disable-paraguitest \
+ $(use_enable nls) \
+ || die
+ emake \
+ localedir="/usr/share/locale" \
+ CXXFLAGS="${CXXFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ make \
+ DESTDIR="${D}" \
+ localedir="/usr/share/locale" \
+ install || die "make install failed"
+ dodoc AUTHORS BUGS ChangeLog DEPENDENCIES HACKER NEWS README TODO \
+ doc/[[:upper:]]*
+ prepgamesdirs
+}