summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-12-13 12:17:01 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-12-13 12:17:01 +0000
commit1c143befaea6b68ca89f1310eb0aa731e6be7848 (patch)
tree6b294d724d1d0b1237f01bc70edff5bb01ca2a2f /games-strategy
parentadded gpl-version of unrar (Manifest recommit) (diff)
downloadgentoo-2-1c143befaea6b68ca89f1310eb0aa731e6be7848.tar.gz
gentoo-2-1c143befaea6b68ca89f1310eb0aa731e6be7848.tar.bz2
gentoo-2-1c143befaea6b68ca89f1310eb0aa731e6be7848.zip
clean older ebuild; fix dep (patch from Nathan Skillen via bug #74271)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/freelords/ChangeLog7
-rw-r--r--games-strategy/freelords/files/digest-freelords-0.3.31
-rw-r--r--games-strategy/freelords/files/freelords-0.3.3-gcc-3.4.patch11
-rw-r--r--games-strategy/freelords/freelords-0.3.3.ebuild58
-rw-r--r--games-strategy/freelords/freelords-0.3.4.ebuild4
5 files changed, 8 insertions, 73 deletions
diff --git a/games-strategy/freelords/ChangeLog b/games-strategy/freelords/ChangeLog
index 050d2acdea2f..c302632debe3 100644
--- a/games-strategy/freelords/ChangeLog
+++ b/games-strategy/freelords/ChangeLog
@@ -1,6 +1,11 @@
# 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.13 2004/11/19 21:55:33 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/ChangeLog,v 1.14 2004/12/13 12:17:01 mr_bones_ Exp $
+
+ 13 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/freelords-0.3.3-gcc-3.4.patch, -freelords-0.3.3.ebuild,
+ freelords-0.3.4.ebuild:
+ clean older ebuild; fix dep (patch from Nathan Skillen via bug #74271)
*freelords-0.3.4 (19 Nov 2004)
diff --git a/games-strategy/freelords/files/digest-freelords-0.3.3 b/games-strategy/freelords/files/digest-freelords-0.3.3
deleted file mode 100644
index 0e436cd7f732..000000000000
--- a/games-strategy/freelords/files/digest-freelords-0.3.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7aa016ba4eb92b4f16bd18beba8f3026 freelords-0.3.3.tar.bz2 927344
diff --git a/games-strategy/freelords/files/freelords-0.3.3-gcc-3.4.patch b/games-strategy/freelords/files/freelords-0.3.3-gcc-3.4.patch
deleted file mode 100644
index 702bc99bf028..000000000000
--- a/games-strategy/freelords/files/freelords-0.3.3-gcc-3.4.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/ObjectList.cpp.old 2004-11-05 07:17:55.928861736 +0000
-+++ src/ObjectList.cpp 2004-11-05 07:06:58.624787144 +0000
-@@ -27,7 +27,7 @@
-
- template<class T> T* ObjectList<T>::getObjectAt(int x, int y)
- {
-- for (typename ObjectList<T>::iterator it = begin(); it != end(); ++it)
-+ for (typename ObjectList<T>::iterator it = this->begin(); it != this->end(); ++it)
- {
- PG_Point p = (*it).getPos();
- int size = (*it).getSize() - 1;
diff --git a/games-strategy/freelords/freelords-0.3.3.ebuild b/games-strategy/freelords/freelords-0.3.3.ebuild
deleted file mode 100644
index e1a44a51cdb5..000000000000
--- a/games-strategy/freelords/freelords-0.3.3.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# 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.4 2004/11/08 02:13:17 josejx Exp $
-
-inherit eutils games
-
-DESCRIPTION="Free Warlords clone"
-HOMEPAGE="http://www.freelords.org/"
-SRC_URI="mirror://sourceforge/freelords/${P}.tar.bz2"
-
-KEYWORDS="x86 ~ppc"
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="nls"
-
-RDEPEND="dev-libs/expat
- >=media-libs/libsdl-1.2
- >=media-libs/sdl-image-1.2
- >=media-libs/freetype-2
- =media-libs/paragui-1.0*
- >=dev-libs/libsigc++-1.2"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )
- 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"
- epatch ${FILESDIR}/${P}-gcc-3.4.patch
-}
-
-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
-}
diff --git a/games-strategy/freelords/freelords-0.3.4.ebuild b/games-strategy/freelords/freelords-0.3.4.ebuild
index ea64dce1430b..73e09d1f14e5 100644
--- a/games-strategy/freelords/freelords-0.3.4.ebuild
+++ b/games-strategy/freelords/freelords-0.3.4.ebuild
@@ -1,6 +1,6 @@
# 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.4.ebuild,v 1.1 2004/11/19 21:55:33 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/freelords-0.3.4.ebuild,v 1.2 2004/12/13 12:17:01 mr_bones_ Exp $
inherit eutils games
@@ -18,7 +18,7 @@ RDEPEND="dev-libs/expat
>=media-libs/sdl-image-1.2
>=media-libs/freetype-2
=media-libs/paragui-1.0*
- >=dev-libs/libsigc++-1.2"
+ =dev-libs/libsigc++-1.2*"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
dev-util/pkgconfig