summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-04-03 09:02:16 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-04-03 09:02:16 +0000
commite742380792b85231c1b225f1c953175568396023 (patch)
tree3fc1ef603a0dec599e8942e315b055d8c211da33 /games-strategy/ufo2000
parentversion bump - ebuild submitted by Alexander Bussman via bug #46477 (Manifest... (diff)
downloadgentoo-2-e742380792b85231c1b225f1c953175568396023.tar.gz
gentoo-2-e742380792b85231c1b225f1c953175568396023.tar.bz2
gentoo-2-e742380792b85231c1b225f1c953175568396023.zip
version bump; ebuild submitted by Serge Semashko via bug #46386
Diffstat (limited to 'games-strategy/ufo2000')
-rw-r--r--games-strategy/ufo2000/ChangeLog8
-rw-r--r--games-strategy/ufo2000/Manifest6
-rw-r--r--games-strategy/ufo2000/files/digest-ufo2000-0.4.0.3533
-rw-r--r--games-strategy/ufo2000/ufo2000-0.4.0.353.ebuild78
4 files changed, 92 insertions, 3 deletions
diff --git a/games-strategy/ufo2000/ChangeLog b/games-strategy/ufo2000/ChangeLog
index 1daf6328f4b0..8cacd6551561 100644
--- a/games-strategy/ufo2000/ChangeLog
+++ b/games-strategy/ufo2000/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/ufo2000
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo2000/ChangeLog,v 1.4 2004/03/21 20:09:38 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo2000/ChangeLog,v 1.5 2004/04/03 09:02:16 mr_bones_ Exp $
+
+*ufo2000-0.4.0.353 (03 Apr 2004)
+
+ 03 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ ufo2000-0.4.0.353.ebuild:
+ version bump; ebuild submitted by Serge Semashko via bug #46386
21 Mar 2004; David Holm <dholm@gentoo.org> ufo2000-0.4.0.334.ebuild:
Added to ~ppc.
diff --git a/games-strategy/ufo2000/Manifest b/games-strategy/ufo2000/Manifest
index 4a0ceea83659..c911cfd99fe7 100644
--- a/games-strategy/ufo2000/Manifest
+++ b/games-strategy/ufo2000/Manifest
@@ -1,8 +1,10 @@
-MD5 1fdcf76cba9f7834bc3bf1d0cffd6413 ChangeLog 873
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 54fb991d0c1b697b4b206e9b8bf25269 ufo2000-0.4.0_beta321.ebuild 2092
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 1fdcf76cba9f7834bc3bf1d0cffd6413 ChangeLog 873
MD5 6374ae102ae11251b09b5634abbc25b8 ufo2000-0.4.0_beta324.ebuild 2092
MD5 9532ed19592d2a0329dc6778b84991f0 ufo2000-0.4.0.334.ebuild 2158
+MD5 c4be9c62c16193ece613b74f3bb3c724 ufo2000-0.4.0.353.ebuild 2174
MD5 00629ee0761fe807f7e99f415820364d files/digest-ufo2000-0.4.0_beta321 192
MD5 c024e11870129a467982196c93e48eee files/digest-ufo2000-0.4.0_beta324 192
MD5 583317b56ab62c4f21fbe9f0ad3a7d23 files/digest-ufo2000-0.4.0.334 188
+MD5 1a8ce28f2ba50454f851a42be25b34ba files/digest-ufo2000-0.4.0.353 188
diff --git a/games-strategy/ufo2000/files/digest-ufo2000-0.4.0.353 b/games-strategy/ufo2000/files/digest-ufo2000-0.4.0.353
new file mode 100644
index 000000000000..c94986abae73
--- /dev/null
+++ b/games-strategy/ufo2000/files/digest-ufo2000-0.4.0.353
@@ -0,0 +1,3 @@
+MD5 6636f8b3d6acee4a0ded2c5ef514fa21 ufo2000-0.4.0.353-src.tar.bz2 510118
+MD5 0cabff3ae8ad047fde1753e9075358b4 xcomdemo.zip 1148768
+MD5 0267a027ec437bf1b93e0cb1394a2c46 terror.zip 1096279
diff --git a/games-strategy/ufo2000/ufo2000-0.4.0.353.ebuild b/games-strategy/ufo2000/ufo2000-0.4.0.353.ebuild
new file mode 100644
index 000000000000..3c6f0c7f07d7
--- /dev/null
+++ b/games-strategy/ufo2000/ufo2000-0.4.0.353.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo2000/ufo2000-0.4.0.353.ebuild,v 1.1 2004/04/03 09:02:16 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="Free multiplayer remake of X-COM (UFO: Enemy Unknown)"
+HOMEPAGE="http://ufo2000.sourceforge.net/"
+SRC_URI="http://ufo2000.lxnt.info/files/${P}-src.tar.bz2
+ ftp://ftp.microprose.com/pub/mps-online/x-com/xcomdemo.zip
+ ftp://ftp.microprose.com/pub/mps-online/demos/terror.zip"
+
+KEYWORDS="-* x86 ~ppc"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="virtual/glibc
+ >=media-libs/allegro-4.0.0
+ >=dev-lang/lua-5.0
+ >=dev-games/hawknl-1.66
+ >=media-libs/aldumb-0.9.2
+ media-libs/libogg
+ media-libs/libvorbis
+ dev-libs/expat"
+
+src_unpack() {
+ unpack ${P}-src.tar.bz2
+
+ cd "${S}/XCOMDEMO"
+ unpack xcomdemo.zip
+ unzip -LL XCOM.EXE -d ..
+ rm XCOM.EXE
+ mv ../xcomdemo/* "${S}/XCOMDEMO/"
+
+ cd "${S}/TFTDDEMO"
+ unpack terror.zip
+ unzip -LL TFTD.ZIP
+ rm TFTD.ZIP
+}
+
+src_compile() {
+ emake \
+ DATA_DIR="${GAMES_DATADIR}/${PN}" \
+ OPTFLAGS="${CXXFLAGS}" \
+ dumbogg=1 \
+ || die "emake failed"
+}
+
+src_install() {
+ dogamesbin ufo2000 || die "dogamesbin failed"
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -R arts newmaps newmusic newunits init-scripts script \
+ XCOMDEMO XCOM TFTDDEMO TFTD \
+ *.dat armoury.default.set ufo2000.default.ini soundmap.xml \
+ "${D}/${GAMES_DATADIR}/${PN}" \
+ || die "cp failed"
+ keepdir "${GAMES_DATADIR}/${PN}/newmusic"
+ echo "Please copy data files from X-COM here" > \
+ "${D}/${GAMES_DATADIR}/${PN}/XCOM/readme.txt"
+ echo "Please copy data files from TFTD here" > \
+ "${D}/${GAMES_DATADIR}/${PN}/TFTD/readme.txt"
+ dodoc *.txt INSTALL AUTHORS ChangeLog || die "dodoc failed"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "If you have a full version of X-COM, you can copy all the files"
+ einfo "from the directory where you have it installed into:"
+ einfo " ${GAMES_DATADIR}/${PN}/XCOM"
+ echo
+ einfo "Likewise for Terror From The Deep, but to the directory:"
+ einfo " ${GAMES_DATADIR}/${PN}/TFTD"
+ echo
+ einfo "This will allow you to use more terrain types and units."
+ echo
+}