summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-06-03 05:36:12 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-06-03 05:36:12 +0000
commitcc964fb40e8138c09a7197384f57f7b44c056c3b (patch)
treebc7f78f411f8e9a74450f3356eee93e58752a237 /games-strategy/attal
parentMarked ppc stable. (diff)
downloadhistorical-cc964fb40e8138c09a7197384f57f7b44c056c3b.tar.gz
historical-cc964fb40e8138c09a7197384f57f7b44c056c3b.tar.bz2
historical-cc964fb40e8138c09a7197384f57f7b44c056c3b.zip
version bump
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-strategy/attal')
-rw-r--r--games-strategy/attal/ChangeLog7
-rw-r--r--games-strategy/attal/Manifest6
-rw-r--r--games-strategy/attal/attal-0.9.3.ebuild69
-rw-r--r--games-strategy/attal/files/digest-attal-0.9.32
4 files changed, 81 insertions, 3 deletions
diff --git a/games-strategy/attal/ChangeLog b/games-strategy/attal/ChangeLog
index 5de20e0ac6c4..a3277738371a 100644
--- a/games-strategy/attal/ChangeLog
+++ b/games-strategy/attal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/attal
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.8 2005/01/03 22:56:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.9 2005/06/03 05:36:12 mr_bones_ Exp $
+
+*attal-0.9.3 (03 Jun 2005)
+
+ 03 Jun 2005; Michael Sterrett <mr_bones_@gentoo.org> +attal-0.9.3.ebuild:
+ version bump
*attal-0.9.2 (03 Jan 2005)
diff --git a/games-strategy/attal/Manifest b/games-strategy/attal/Manifest
index a9ceb68afb5d..df74b8e397ab 100644
--- a/games-strategy/attal/Manifest
+++ b/games-strategy/attal/Manifest
@@ -1,7 +1,9 @@
-MD5 1a62441c8bf1e62c2aa93c302912a2f8 ChangeLog 1015
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 f4529336d454ccaaeb1db70a30415f44 attal-0.9.2.ebuild 1576
MD5 6fac342a9e0030b3cd03399adc42829b attal-0.8.1.ebuild 1819
-MD5 6df2fe25a4131a625a23b8d59a92ee76 files/digest-attal-0.8.1 135
+MD5 1a62441c8bf1e62c2aa93c302912a2f8 ChangeLog 1015
+MD5 f4529336d454ccaaeb1db70a30415f44 attal-0.9.3.ebuild 1576
MD5 b652104ceb9174d35cec8774053a5a50 files/digest-attal-0.9.2 135
MD5 bc43ed577df6439f1a168a4441031b6c files/0.8.1-gcc34.patch 436
+MD5 6df2fe25a4131a625a23b8d59a92ee76 files/digest-attal-0.8.1 135
+MD5 5e4899bfee7e24bbf648aef045222196 files/digest-attal-0.9.3 135
diff --git a/games-strategy/attal/attal-0.9.3.ebuild b/games-strategy/attal/attal-0.9.3.ebuild
new file mode 100644
index 000000000000..d6fe5333202e
--- /dev/null
+++ b/games-strategy/attal/attal-0.9.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.9.3.ebuild,v 1.1 2005/06/03 05:36:12 mr_bones_ Exp $
+
+inherit eutils flag-o-matic games
+
+MY_P="${PN}-src-${PV}"
+DESCRIPTION="turn-based strategy game project"
+HOMEPAGE="http://www.attal-thegame.org/"
+SRC_URI="mirror://sourceforge/attal/${MY_P}.tar.bz2
+ mirror://sourceforge/attal/themes-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="ppc x86"
+IUSE=""
+
+DEPEND=">=x11-libs/qt-3*"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s:\"\./:\"${GAMES_BINDIR}/:" \
+ server/serverInterface.cpp \
+ client/clientInterface.cpp \
+ || die "sed failed"
+ sed -i \
+ -e "s:\"\./:\"${GAMES_DATADIR}/${PN}/:" \
+ libCommon/displayHelp.cpp \
+ || die "sed failed"
+ qmake -o Makefile Makefile.pro || die "qmake failed"
+ sed -i \
+ "s:\./themes/:${GAMES_DATADIR}/${PN}/themes/:" \
+ `grep -Rl '\./themes/' *` \
+ || die "fixing theme loc"
+ find "${WORKDIR}"/themes-${PV} -name .cvsignore -print0 | xargs -0 rm -f
+}
+
+src_compile() {
+ # broken deps in the makefiles ...
+ append-flags -fPIC
+ emake \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ sub-libCommon || die "emake sub-libCommon failed"
+ emake \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ sub-{libFight,libClient,libServer} || die "emake libs failed"
+ emake \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ dogamesbin attal-* || die "dogamesbin failed"
+ into "${GAMES_PREFIX}"
+ dolib.so lib*.so* || die "dolib.so failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins HOWTOPLAY.html
+ insinto "${GAMES_DATADIR}"/${PN}/themes
+ doins -r "${WORKDIR}"/themes-${PV}/* || die "doins themes failed"
+ dodoc AUTHORS NEWS README TODO
+ prepgamesdirs
+}
diff --git a/games-strategy/attal/files/digest-attal-0.9.3 b/games-strategy/attal/files/digest-attal-0.9.3
new file mode 100644
index 000000000000..6dba3c64e9b0
--- /dev/null
+++ b/games-strategy/attal/files/digest-attal-0.9.3
@@ -0,0 +1,2 @@
+MD5 ff3965097a78f5ce89282447d701edaa attal-src-0.9.3.tar.bz2 264443
+MD5 f06595058cc0eae5fd94a24f250b8363 themes-0.9.3.tar.bz2 28763653