diff options
Diffstat (limited to 'games-strategy/uqm/uqm-0.2.ebuild')
-rw-r--r-- | games-strategy/uqm/uqm-0.2.ebuild | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/games-strategy/uqm/uqm-0.2.ebuild b/games-strategy/uqm/uqm-0.2.ebuild deleted file mode 100644 index 5d981b19180b..000000000000 --- a/games-strategy/uqm/uqm-0.2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# 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.2 2003/09/15 08:55:11 msterret 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/coreutils - 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 -} |