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/uqm
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/uqm')
-rw-r--r--games-strategy/uqm/ChangeLog10
-rw-r--r--games-strategy/uqm/Manifest3
-rw-r--r--games-strategy/uqm/files/digest-uqm-0.24
-rw-r--r--games-strategy/uqm/uqm-0.2.ebuild84
4 files changed, 101 insertions, 0 deletions
diff --git a/games-strategy/uqm/ChangeLog b/games-strategy/uqm/ChangeLog
new file mode 100644
index 000000000000..ddc114556d23
--- /dev/null
+++ b/games-strategy/uqm/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-games/uqm
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*uqm-0.2 (09 Jul 2003)
+
+ 09 Jul 2003; Michael Sterrett <msterret@gentoo.org> uqm-0.2.ebuild:
+ initial commit. ebuild based on the one provided by Regan Myers in bug 12153
+ and vapier's continued work on it as well.
+
diff --git a/games-strategy/uqm/Manifest b/games-strategy/uqm/Manifest
new file mode 100644
index 000000000000..7b6ebbac0982
--- /dev/null
+++ b/games-strategy/uqm/Manifest
@@ -0,0 +1,3 @@
+MD5 b64f4e5554e306df836627f4b59c7d5c uqm-0.2.ebuild 2012
+MD5 4167035a011da1a29455be82f9cdf591 ChangeLog 430
+MD5 c11ab9abbb79bb9cf614402daa6d3bcf files/digest-uqm-0.2 261
diff --git a/games-strategy/uqm/files/digest-uqm-0.2 b/games-strategy/uqm/files/digest-uqm-0.2
new file mode 100644
index 000000000000..250e644f3faa
--- /dev/null
+++ b/games-strategy/uqm/files/digest-uqm-0.2
@@ -0,0 +1,4 @@
+MD5 f7760aa305b743304504e04df742f57e uqm-0.2-3domusic.zip 18894697
+MD5 ad4de1c9318d9196ebf332d935bb6032 uqm-0.2-content.zip 12511149
+MD5 f7213e8db6ca4bca4ddfdeed8a7ca0d6 uqm-0.2-voice.zip 113699708
+MD5 8b95dda6ed73802cee18a44f56322076 uqm-0.2-source.tgz 826616
diff --git a/games-strategy/uqm/uqm-0.2.ebuild b/games-strategy/uqm/uqm-0.2.ebuild
new file mode 100644
index 000000000000..f619223f4a00
--- /dev/null
+++ b/games-strategy/uqm/uqm-0.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/uqm-0.2.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Port of Star Control 2"
+HOMEPAGE="http://sc2.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sc2/${P}-3domusic.zip
+ mirror://sourceforge/sc2/${P}-content.zip
+ mirror://sourceforge/sc2/${P}-voice.zip
+ mirror://sourceforge/sc2/${P}-source.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc"
+
+RDEPEND="virtual/glibc
+ virtual/x11
+ media-libs/libvorbis
+ media-libs/jpeg
+ media-libs/libogg
+ media-libs/libpng
+ media-libs/libsdl
+ media-libs/libvorbis
+ media-libs/sdl-image
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ sys-apps/textutils
+ app-arch/unzip"
+
+S=${WORKDIR}/${P}-source
+
+src_unpack() {
+ local myopengl
+
+ unpack ${P}-source.tgz
+
+ mkdir ${S}/content && \
+ cd ${S}/content && \
+ unpack ${P}-{3domusic,content,voice}.zip
+
+ cd ${S}
+ use opengl \
+ && myopengl=opengl \
+ || myopengl=pure
+ cat << EOF > config.state
+CHOICE_debug_VALUE='nodebug'
+CHOICE_graphics_VALUE='${myopengl}'
+CHOICE_sound_VALUE='mixsdl'
+INPUT_install_prefix_VALUE='${GAMES_PREFIX}'
+INPUT_install_bindir_VALUE='\$prefix/bin'
+INPUT_install_libdir_VALUE='\$prefix/lib'
+EOF
+ # Take out the read so we can be non-interactive.
+ sed -i \
+ -e '/read CHOICE/d' build/unix/menu_functions || \
+ die "sed menu_functions failed"
+
+ # support the user's CFLAGS.
+ sed -i \
+ -e "s/-O3/${CFLAGS}/" build/unix/build.config || \
+ die "sed build.config failed"
+}
+
+src_compile() {
+ ./build.sh uqm || die
+}
+
+src_install() {
+ # Now that we've compiled in the right thing, change the variables
+ # so it installs in the right place.
+ sed -i \
+ -e "s:${GAMES_PREFIX}:${D}${GAMES_PREFIX}:" build.vars || \
+ die "sed build.vars failed"
+ ./build.sh uqm install || die
+
+ dodoc AUTHORS Contributing README COPYING TODO ChangeLog WhatsNew doc/users/manual.txt
+ docinto devel
+ dodoc doc/devel/*
+
+ prepgamesdirs
+}