diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-02-09 06:10:02 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-02-09 06:10:02 +0000 |
commit | 2a753316faa48c9ce2d9b8e9a4cc7269b153a5be (patch) | |
tree | 84b6ee243ef2dbf6063345b9e38c1ce903c8e0da /games-strategy/uqm | |
parent | rev bump. bunch of improvements. new man page. (diff) | |
download | gentoo-2-2a753316faa48c9ce2d9b8e9a4cc7269b153a5be.tar.gz gentoo-2-2a753316faa48c9ce2d9b8e9a4cc7269b153a5be.tar.bz2 gentoo-2-2a753316faa48c9ce2d9b8e9a4cc7269b153a5be.zip |
old
(Portage version: 2.0.51-r15)
Diffstat (limited to 'games-strategy/uqm')
-rw-r--r-- | games-strategy/uqm/files/digest-uqm-0.3 | 4 | ||||
-rw-r--r-- | games-strategy/uqm/files/digest-uqm-0.3-r1 | 4 | ||||
-rw-r--r-- | games-strategy/uqm/uqm-0.3-r1.ebuild | 93 | ||||
-rw-r--r-- | games-strategy/uqm/uqm-0.3.ebuild | 85 |
4 files changed, 0 insertions, 186 deletions
diff --git a/games-strategy/uqm/files/digest-uqm-0.3 b/games-strategy/uqm/files/digest-uqm-0.3 deleted file mode 100644 index c9850829de07..000000000000 --- a/games-strategy/uqm/files/digest-uqm-0.3 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 9073251b0d96393441f0b40016010576 uqm-0.3-3domusic.zip 18980505 -MD5 b17bb7b54df03b2d0ae3a23b91382b27 uqm-0.3-content.zip 12554418 -MD5 9a44f0037d05c453b9e570b88b12595f uqm-0.3-voice.zip 114985054 -MD5 6abcdc3caf7efd3bd978332743ee7568 uqm-0.3-source.tgz 906653 diff --git a/games-strategy/uqm/files/digest-uqm-0.3-r1 b/games-strategy/uqm/files/digest-uqm-0.3-r1 deleted file mode 100644 index c9850829de07..000000000000 --- a/games-strategy/uqm/files/digest-uqm-0.3-r1 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 9073251b0d96393441f0b40016010576 uqm-0.3-3domusic.zip 18980505 -MD5 b17bb7b54df03b2d0ae3a23b91382b27 uqm-0.3-content.zip 12554418 -MD5 9a44f0037d05c453b9e570b88b12595f uqm-0.3-voice.zip 114985054 -MD5 6abcdc3caf7efd3bd978332743ee7568 uqm-0.3-source.tgz 906653 diff --git a/games-strategy/uqm/uqm-0.3-r1.ebuild b/games-strategy/uqm/uqm-0.3-r1.ebuild deleted file mode 100644 index b7c312084923..000000000000 --- a/games-strategy/uqm/uqm-0.3-r1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/uqm-0.3-r1.ebuild,v 1.3 2004/07/01 05:34:11 mr_bones_ 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" - -KEYWORDS="x86 ~ppc" -LICENSE="GPL-2" -IUSE="opengl" -SLOT="0" - -RDEPEND="virtual/libc - virtual/x11 - media-libs/libvorbis - media-libs/jpeg - media-libs/libpng - >=media-libs/libsdl-1.2.5 - >=media-libs/sdl-image-1.2.3 - media-libs/libogg - media-libs/libvorbis - sys-libs/zlib" -DEPEND="${RDEPEND} - >=sys-apps/sed-4 - sys-apps/coreutils - app-arch/unzip" - -src_unpack() { - local myopengl - - unpack ${P}-source.tgz - 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" - cat > ${T}/uqm <<-EOF - #!/bin/sh - # Wrapper script for starting The Ur-Quan Masters - exec /usr/games/lib/uqm/uqm --contentdir="${GAMES_DATADIR}/${PN}/content" "\$@" -EOF -} - -src_compile() { - ./build.sh uqm || die -} - -src_install() { - # Using the included install scripts seems quite painful. - # This manual install is totally fragile but maybe they'll - # use a sane build system. - dogamesbin "${T}/uqm" || die "dogamesbin failed" - exeinto "${GAMES_LIBDIR}/${PN}" - doexe uqm || die "doexe failed" - keepdir "${GAMES_DATADIR}/${PN}/content/packages/addons" - dodir "${GAMES_DATADIR}/${PN}/content/packages/content" - cp content/version "${D}${GAMES_DATADIR}/${PN}/content" || die "cp failed" - cp ${DISTDIR}/${P}-{3domusic,content,voice}.zip \ - "${D}${GAMES_DATADIR}/${PN}/content/packages" \ - || die "cp media archives failed" - - dodoc AUTHORS ChangeLog Contributing README TODO WhatsNew \ - doc/users/manual.txt - docinto devel - dodoc doc/devel/* - - prepgamesdirs -} diff --git a/games-strategy/uqm/uqm-0.3.ebuild b/games-strategy/uqm/uqm-0.3.ebuild deleted file mode 100644 index ddb8f3f35b1f..000000000000 --- a/games-strategy/uqm/uqm-0.3.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/uqm-0.3.ebuild,v 1.7 2004/07/01 05:34:11 mr_bones_ 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" - -KEYWORDS="x86 ~ppc" -LICENSE="GPL-2" -IUSE="opengl" -SLOT="0" - -RDEPEND="virtual/libc - virtual/x11 - media-libs/libvorbis - media-libs/jpeg - media-libs/libpng - >=media-libs/libsdl-1.2.5 - >=media-libs/sdl-image-1.2.3 - media-libs/libogg - media-libs/libvorbis - sys-libs/zlib" -DEPEND="${RDEPEND} - >=sys-apps/sed-4 - sys-apps/coreutils - app-arch/unzip" - -src_unpack() { - local myopengl - - unpack ${P}-source.tgz - cd ${S} - - cp ${DISTDIR}/${P}-{3domusic,content,voice}.zip content/packages/ || \ - die "cp media archives failed" - - 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 "build.sh install failed" - - dodoc AUTHORS ChangeLog Contributing README TODO WhatsNew \ - doc/users/manual.txt - docinto devel - dodoc doc/devel/* - - prepgamesdirs -} |