summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-05-04 01:45:58 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-05-04 01:45:58 +0000
commit681539772f746375e17810ba21cafc55cf7aafcf (patch)
treed90c4f4b9d32d4fcc7914eb79e662799cca2d0fe
parentRemoving the mad metapackage... madplay pulls in everything. (diff)
downloadhistorical-681539772f746375e17810ba21cafc55cf7aafcf.tar.gz
historical-681539772f746375e17810ba21cafc55cf7aafcf.tar.bz2
historical-681539772f746375e17810ba21cafc55cf7aafcf.zip
IUSE; tidy
-rw-r--r--games-strategy/attal/attal-0.7.1.ebuild68
-rw-r--r--games-strategy/attal/attal-0.7.2.ebuild7
-rw-r--r--games-strategy/attal/files/digest-attal-0.7.12
-rw-r--r--games-strategy/castle-combat/ChangeLog8
-rw-r--r--games-strategy/castle-combat/castle-combat-0.7.4.ebuild14
5 files changed, 16 insertions, 83 deletions
diff --git a/games-strategy/attal/attal-0.7.1.ebuild b/games-strategy/attal/attal-0.7.1.ebuild
deleted file mode 100644
index 3dd97eb7c6e6..000000000000
--- a/games-strategy/attal/attal-0.7.1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.7.1.ebuild,v 1.2 2004/02/20 07:38:17 mr_bones_ Exp $
-
-inherit 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="x86"
-
-DEPEND=">=x11-libs/qt-3*"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- for lib in Client Common Fight Server ; do
- sed -i \
- -e "/^TARGET/s:= ${lib}:= ${PN}${lib}:" lib${lib}/Makefile.pro \
- -e "s:lib${lib}\.so:lib${PN}${lib}.so:g" \
- -e "s:-l${lib}:-l${PN}${lib}:g" \
- */Makefile.pro \
- || die "renaming ${lib}"
- done
- sed -i \
- "s:\./themes/:${GAMES_DATADIR}/${PN}/themes/:" \
- `grep -Rl '\./themes/' *` \
- || die "fixing theme loc"
- for dir in `find -name Makefile.pro -mindepth 2 -printf '%h '` ; do
- cd ${S}/${dir}
- ln -s Makefile.pro ${dir}.pro
- done
-}
-
-src_compile() {
- emake -j1 \
- CFLAGS="${CFLAGS} -fPIC" \
- CXXFLAGS="${CXXFLAGS} -fPIC" \
- || die
-}
-
-src_install() {
- exeinto ${GAMES_LIBDIR}
- local lib=""
- local nlib=""
- for lib in lib*.so.${PV} ; do
- doexe ${lib}
- nlib=${lib/.${PV}}
- for v in ${PV//./ } ; do
- dosym ${lib} ${GAMES_LIBDIR}/${nlib}.${v}
- done
- dosym ${lib} ${GAMES_LIBDIR}/${nlib}
- done
- dogamesbin attal-*
- newgamesbin scenario-editor attal-scenario-editor
- newgamesbin theme-editor attal-theme-editor
- dodir ${GAMES_DATADIR}/${PN}
- cp -r ${WORKDIR}/themes ${D}/${GAMES_DATADIR}/${PN}/
- dodoc AUTHORS NEWS README TODO
- prepgamesdirs
-}
diff --git a/games-strategy/attal/attal-0.7.2.ebuild b/games-strategy/attal/attal-0.7.2.ebuild
index 78e649c31351..675c2c3c2277 100644
--- a/games-strategy/attal/attal-0.7.2.ebuild
+++ b/games-strategy/attal/attal-0.7.2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.7.2.ebuild,v 1.2 2004/02/20 07:38:17 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.7.2.ebuild,v 1.3 2004/05/04 01:45:58 mr_bones_ Exp $
inherit games
-MY_P=${PN}-src-${PV}
+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
@@ -13,10 +13,11 @@ SRC_URI="mirror://sourceforge/attal/${MY_P}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
+IUSE=""
DEPEND=">=x11-libs/qt-3*"
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
diff --git a/games-strategy/attal/files/digest-attal-0.7.1 b/games-strategy/attal/files/digest-attal-0.7.1
deleted file mode 100644
index a945aedc3e5e..000000000000
--- a/games-strategy/attal/files/digest-attal-0.7.1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 37ac140cf2bf9b847c3e73f06421ce59 attal-src-0.7.1.tar.bz2 173828
-MD5 cf834389b38097b086d3047ffc316f73 themes-0.7.1.tar.bz2 17214223
diff --git a/games-strategy/castle-combat/ChangeLog b/games-strategy/castle-combat/ChangeLog
index fd0f9df755ca..db3d08954cd6 100644
--- a/games-strategy/castle-combat/ChangeLog
+++ b/games-strategy/castle-combat/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/castle-combat
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/castle-combat/ChangeLog,v 1.2 2003/09/10 15:51:46 vapier Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/castle-combat/ChangeLog,v 1.3 2004/05/04 01:44:13 mr_bones_ Exp $
+
+ 03 May 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ castle-combat-0.7.4.ebuild:
+ IUSE; tidy
12 Jul 2003; Michael Sterrett <msterret@gentoo.org>
castle-combat-0.7.4.ebuild:
diff --git a/games-strategy/castle-combat/castle-combat-0.7.4.ebuild b/games-strategy/castle-combat/castle-combat-0.7.4.ebuild
index 4da823f1c855..04e2ce8ac884 100644
--- a/games-strategy/castle-combat/castle-combat-0.7.4.ebuild
+++ b/games-strategy/castle-combat/castle-combat-0.7.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/castle-combat/castle-combat-0.7.4.ebuild,v 1.2 2004/02/20 07:38:17 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/castle-combat/castle-combat-0.7.4.ebuild,v 1.3 2004/05/04 01:44:13 mr_bones_ Exp $
inherit games
@@ -11,6 +11,7 @@ SRC_URI="http://user.cs.tu-berlin.de/~karlb/castle-combat/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
+IUSE=""
RDEPEND="virtual/glibc
sys-libs/zlib
@@ -26,16 +27,13 @@ src_unpack() {
cd ${S}
# dist file seems to include a copy of SDL_net. Take it out so we link
# against the system copy instead.
- sed -i -e "s/SDL_net//" src/Makefile.in || die "sed src/Makefile.in failed"
-}
-
-src_compile() {
- egamesconf || die
- emake || die
+ sed -i \
+ -e "s/SDL_net//" src/Makefile.in \
+ || die "sed src/Makefile.in failed"
}
src_install() {
- make install DESTDIR=${D} || die
+ make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog README TODO || die "dodoc failed"
prepgamesdirs
}