diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-01-23 02:27:35 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-01-23 02:27:35 +0000 |
commit | 238429773d0aa9126b5f5614a2f3be1fab38f5a7 (patch) | |
tree | 20aeb375a9e7a827c78b7f797c5ed57904a394e8 /games-strategy | |
parent | initial commit (bug 28965) (diff) | |
download | gentoo-2-238429773d0aa9126b5f5614a2f3be1fab38f5a7.tar.gz gentoo-2-238429773d0aa9126b5f5614a2f3be1fab38f5a7.tar.bz2 gentoo-2-238429773d0aa9126b5f5614a2f3be1fab38f5a7.zip |
initial commit (bug 28965)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/ufo2000/ChangeLog | 11 | ||||
-rw-r--r-- | games-strategy/ufo2000/Manifest | 4 | ||||
-rw-r--r-- | games-strategy/ufo2000/files/digest-ufo2000-0.4.0_beta321 | 3 | ||||
-rw-r--r-- | games-strategy/ufo2000/metadata.xml | 9 | ||||
-rw-r--r-- | games-strategy/ufo2000/ufo2000-0.4.0_beta321.ebuild | 72 |
5 files changed, 98 insertions, 1 deletions
diff --git a/games-strategy/ufo2000/ChangeLog b/games-strategy/ufo2000/ChangeLog new file mode 100644 index 000000000000..026911a46971 --- /dev/null +++ b/games-strategy/ufo2000/ChangeLog @@ -0,0 +1,11 @@ +# 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.1 2004/01/23 02:27:28 mr_bones_ Exp $ + +*ufo2000-0.4.0_beta321 (22 Jan 2004) + + 22 Jan 2004; Michael Sterrett <mr_bones_@gentoo.org> + ufo2000-0.4.0_beta321.ebuild: + initial commit; ebuild based off the one provided by upstream at + http://ufo2000.sourceforge.net/ (Bug 28965) + diff --git a/games-strategy/ufo2000/Manifest b/games-strategy/ufo2000/Manifest index c6d6e2b9f8dd..2bdf66448644 100644 --- a/games-strategy/ufo2000/Manifest +++ b/games-strategy/ufo2000/Manifest @@ -1,2 +1,4 @@ -MD5 9e4fbd47d246e02c2aa293d76f324f0a ufo2000-0.4.0_beta321.ebuild 2009 +MD5 54fb991d0c1b697b4b206e9b8bf25269 ufo2000-0.4.0_beta321.ebuild 2092 +MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241 +MD5 8ab368c29b20ba1c6610ca8fb844d3c8 ChangeLog 468 MD5 00629ee0761fe807f7e99f415820364d files/digest-ufo2000-0.4.0_beta321 192 diff --git a/games-strategy/ufo2000/files/digest-ufo2000-0.4.0_beta321 b/games-strategy/ufo2000/files/digest-ufo2000-0.4.0_beta321 new file mode 100644 index 000000000000..7833c310d7da --- /dev/null +++ b/games-strategy/ufo2000/files/digest-ufo2000-0.4.0_beta321 @@ -0,0 +1,3 @@ +MD5 ca85fe7f51d117a7a66b0cac4dfe9e41 ufo2000-0.4.0_beta321-src.tar.bz2 386782 +MD5 0cabff3ae8ad047fde1753e9075358b4 xcomdemo.zip 1148768 +MD5 0267a027ec437bf1b93e0cb1394a2c46 terror.zip 1096279 diff --git a/games-strategy/ufo2000/metadata.xml b/games-strategy/ufo2000/metadata.xml new file mode 100644 index 000000000000..1cef6e243af3 --- /dev/null +++ b/games-strategy/ufo2000/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<maintainer> +<email>games@gentoo.org</email> +<name>Games Team</name> +</maintainer> +</pkgmetadata> diff --git a/games-strategy/ufo2000/ufo2000-0.4.0_beta321.ebuild b/games-strategy/ufo2000/ufo2000-0.4.0_beta321.ebuild new file mode 100644 index 000000000000..890bdb53b4a7 --- /dev/null +++ b/games-strategy/ufo2000/ufo2000-0.4.0_beta321.ebuild @@ -0,0 +1,72 @@ +# 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_beta321.ebuild,v 1.1 2004/01/23 02:27:28 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" +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 + dev-libs/expat" + +src_unpack() { + unpack ${P}-src.tar.bz2 + + cd "${WORKDIR}/${P}/XCOMDEMO" + unpack xcomdemo.zip + unzip -LL XCOM.EXE -d .. + rm XCOM.EXE + mv ../xcomdemo/* "${WORKDIR}/${P}/XCOMDEMO/" + + cd "${WORKDIR}/${P}/TFTDDEMO" + unpack terror.zip + unzip -LL TFTD.ZIP + rm TFTD.ZIP +} + +src_compile() { + emake \ + DATA_DIR="${GAMES_DATADIR}/${PN}" \ + OPTFLAGS="${CXXFLAGS}" \ + || die "emake failed" +} + +src_install() { + dogamesbin ufo2000 || die "dogamesbin failed" + dodir "${GAMES_DATADIR}/${PN}" + cp -R arts newmaps init-scripts XCOMDEMO XCOM TFTDDEMO TFTD \ + ufo2000.dat keyboard.dat geodata.dat soldier.dat armoury.set \ + items.dat ufo2000.ini soundmap.xml "${D}/${GAMES_DATADIR}/${PN}" \ + || die "cp failed" + 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 +} |