summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 05:27:31 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 05:27:31 +0000
commit0c0186e57f9c188f3c71c04a35825c8e134cf141 (patch)
tree764612f703bdba5335d790064606b1f53a330c24 /games-strategy/freelords
parentminor version update. resolves bug 27641 (diff)
downloadgentoo-2-0c0186e57f9c188f3c71c04a35825c8e134cf141.tar.gz
gentoo-2-0c0186e57f9c188f3c71c04a35825c8e134cf141.tar.bz2
gentoo-2-0c0186e57f9c188f3c71c04a35825c8e134cf141.zip
mmm strategy games
Diffstat (limited to 'games-strategy/freelords')
-rw-r--r--games-strategy/freelords/ChangeLog13
-rw-r--r--games-strategy/freelords/Manifest6
-rw-r--r--games-strategy/freelords/files/digest-freelords-0.2.21
-rw-r--r--games-strategy/freelords/files/digest-freelords-0.2.31
-rw-r--r--games-strategy/freelords/files/freelordsrc5
-rw-r--r--games-strategy/freelords/freelords-0.2.2.ebuild50
-rw-r--r--games-strategy/freelords/freelords-0.2.3.ebuild42
7 files changed, 118 insertions, 0 deletions
diff --git a/games-strategy/freelords/ChangeLog b/games-strategy/freelords/ChangeLog
new file mode 100644
index 000000000000..87e46407058a
--- /dev/null
+++ b/games-strategy/freelords/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/freelords
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*freelords-0.2.3 (14 Jul 2003)
+
+ 14 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump. This one installs w/Makefile since they updated the package.
+
+*freelords-0.2.2 (11 Jul 2003)
+
+ 11 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Anders Bruun Olsen <anders@bruun-olsen.net> #20098.
diff --git a/games-strategy/freelords/Manifest b/games-strategy/freelords/Manifest
new file mode 100644
index 000000000000..cbf8ea3d84e4
--- /dev/null
+++ b/games-strategy/freelords/Manifest
@@ -0,0 +1,6 @@
+MD5 4a88aa0693083d0e689177d8abad5220 ChangeLog 558
+MD5 7a316064d46f279e4bc9f25676b69673 freelords-0.2.2.ebuild 1181
+MD5 18b21849eda86099b392afffec47ae91 freelords-0.2.3.ebuild 1133
+MD5 bc10e58a3f3cedba5a5517c44e60a440 files/digest-freelords-0.2.2 67
+MD5 a129248166e9830dd7ab2bb7a72c9e89 files/digest-freelords-0.2.3 67
+MD5 ab1b855445f4e0f4ccbc46662e0bf206 files/freelordsrc 147
diff --git a/games-strategy/freelords/files/digest-freelords-0.2.2 b/games-strategy/freelords/files/digest-freelords-0.2.2
new file mode 100644
index 000000000000..fe94483117c3
--- /dev/null
+++ b/games-strategy/freelords/files/digest-freelords-0.2.2
@@ -0,0 +1 @@
+MD5 a0510a0e80925d1a9d03f1fcfe74e8a8 freelords-0.2.2.tar.gz 546134
diff --git a/games-strategy/freelords/files/digest-freelords-0.2.3 b/games-strategy/freelords/files/digest-freelords-0.2.3
new file mode 100644
index 000000000000..b9c5ac08cffa
--- /dev/null
+++ b/games-strategy/freelords/files/digest-freelords-0.2.3
@@ -0,0 +1 @@
+MD5 3e42e5ce8cf62a93b495adbf087bfbcd freelords-0.2.3.tar.gz 741550
diff --git a/games-strategy/freelords/files/freelordsrc b/games-strategy/freelords/files/freelordsrc
new file mode 100644
index 000000000000..9d1b4af8b717
--- /dev/null
+++ b/games-strategy/freelords/files/freelordsrc
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<freelordsrc version="1.0">
+ <d_datapath>GENTOO_DATADIR</d_datapath>
+ <d_savepath>GENTOO_SAVEDIR</d_savepath>
+</freelordsrc>
diff --git a/games-strategy/freelords/freelords-0.2.2.ebuild b/games-strategy/freelords/freelords-0.2.2.ebuild
new file mode 100644
index 000000000000..51d244298ef9
--- /dev/null
+++ b/games-strategy/freelords/freelords-0.2.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/freelords-0.2.2.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Free Warlords clone"
+HOMEPAGE="http://www.freelords.org/"
+SRC_URI="http://download.freelords.org/sources/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="dev-libs/expat
+ >=media-libs/libsdl-1.2.0
+ >=media-libs/paragui-1.0.0
+ >=dev-libs/libsigc++-1.2.1
+ >=media-libs/sdl-image-1.2.0
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ sed -i \
+ -e "s:\.\./pic:${GAMES_DATADIR}/${PN}/pic:" \
+ -e "s:\.\./dat:${GAMES_DATADIR}/${PN}/dat:" \
+ `egrep '\.\./(pic|dat)' * -RIl`
+}
+
+src_compile() {
+ egamesconf --disable-paraguitest || die
+ make || die
+}
+
+src_install() {
+ dogamesbin src/freelords src/*.py
+ for lib in src/*/*.so ; do
+ dogameslib.so ${lib}
+ lib=`basename ${lib}`
+ dosym ${lib} ${GAMES_LIBDIR}/${lib}.${PV}
+ done
+
+ dodir ${GAMES_DATADIR}/${PN}
+ cp -rf dat pic ${D}/${GAMES_DATADIR}/${PN}/
+
+ dodoc AUTHORS BUGS ChangeLog DEPENDENCIES HACKER NEWS README TODO doc/*
+
+ prepgamesdirs
+}
diff --git a/games-strategy/freelords/freelords-0.2.3.ebuild b/games-strategy/freelords/freelords-0.2.3.ebuild
new file mode 100644
index 000000000000..0a3654506950
--- /dev/null
+++ b/games-strategy/freelords/freelords-0.2.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/freelords-0.2.3.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Free Warlords clone"
+HOMEPAGE="http://www.freelords.org/"
+SRC_URI="http://download.freelords.org/sources/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="dev-libs/expat
+ >=media-libs/libsdl-1.2.0
+ >=media-libs/paragui-1.0.0
+ >=dev-libs/libsigc++-1.2.1
+ >=media-libs/sdl-image-1.2.0
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ sed -i "s:/etc/freelordsrc:${GAMES_SYSCONFDIR}/freelordsrc:" ${S}/src/{file,main}.cpp
+}
+
+src_compile() {
+ egamesconf --disable-paraguitest || die
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ insinto ${GAMES_SYSCONFDIR}
+ doins ${FILESDIR}/freelordsrc
+ dosed "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" ${GAMES_SYSCONFDIR}/freelordsrc
+ dosed "s:GENTOO_SAVEDIR:${GAMES_STATEDIR}:" ${GAMES_SYSCONFDIR}/freelordsrc
+
+ dodoc AUTHORS BUGS ChangeLog DEPENDENCIES HACKER NEWS README TODO doc/*
+
+ prepgamesdirs
+}