diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-06-09 20:41:36 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-06-09 20:41:36 +0000 |
commit | 23cb5502c138bb0ef608f39ea5f9268114d74449 (patch) | |
tree | 10af8eadd2c11bbaaf70ea68e721b2900aa11ce9 /games-action | |
parent | bump (diff) | |
download | historical-23cb5502c138bb0ef608f39ea5f9268114d74449.tar.gz historical-23cb5502c138bb0ef608f39ea5f9268114d74449.tar.bz2 historical-23cb5502c138bb0ef608f39ea5f9268114d74449.zip |
Updated to use newer functions added since this ebuild was created.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/descent3/ChangeLog | 6 | ||||
-rw-r--r-- | games-action/descent3/descent3-1.4.0b.ebuild | 40 | ||||
-rw-r--r-- | games-action/descent3/files/descent3 | 3 | ||||
-rw-r--r-- | games-action/fakk2/ChangeLog | 5 | ||||
-rw-r--r-- | games-action/fakk2/fakk2-1.02.ebuild | 19 |
5 files changed, 36 insertions, 37 deletions
diff --git a/games-action/descent3/ChangeLog b/games-action/descent3/ChangeLog index a1d71886534b..5ec74d9a5f06 100644 --- a/games-action/descent3/ChangeLog +++ b/games-action/descent3/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-action/descent3 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/descent3/ChangeLog,v 1.8 2005/03/05 13:30:07 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/descent3/ChangeLog,v 1.9 2005/06/09 20:36:38 wolf31o2 Exp $ + + 09 Jun 2005; Chris Gianelloni <wolf31o2@gentoo.org> -files/descent3, + descent3-1.4.0b.ebuild: + Updated to use newer functions added since this ebuild was created. 05 Mar 2005; Chris Gianelloni <wolf31o2@gentoo.org> descent3-1.4.0b.ebuild: diff --git a/games-action/descent3/descent3-1.4.0b.ebuild b/games-action/descent3/descent3-1.4.0b.ebuild index 3bb2179b0cd2..96cbb94310f3 100644 --- a/games-action/descent3/descent3-1.4.0b.ebuild +++ b/games-action/descent3/descent3-1.4.0b.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/descent3/descent3-1.4.0b.ebuild,v 1.8 2005/03/05 13:30:07 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/descent3/descent3-1.4.0b.ebuild,v 1.9 2005/06/09 20:36:38 wolf31o2 Exp $ inherit games IUSE="nocd videos" DESCRIPTION="Descent 3 - 3-Dimensional indoor/outdoor spaceship combat" HOMEPAGE="http://www.lokigames.com/products/descent3/" -SRC_URI="ftp://ftp.planetmirror.com/pub/lokigames/updates/descent3/descent3-1.4.0a-x86.run +SRC_URI="ftp://ftp.planetmirror.com/pub/lokigames/updates/${PN}/${PN}-1.4.0a-x86.run ftp://ftp.planetmirror.com/pub/lokigames/updates/descent3/${P}-x86.run" LICENSE="LOKI-EULA" @@ -15,9 +15,8 @@ SLOT="0" KEYWORDS="x86" RESTRICT="nostrip" -DEPEND="virtual/libc" -RDEPEND="${DEPEND} - virtual/opengl" +DEPEND="games-util/loki_patch" +RDEPEND="virtual/opengl" dir=${GAMES_PREFIX_OPT}/${PN} Ddir=${D}/${dir} @@ -49,47 +48,46 @@ src_install() { dodir ${dir} einfo "Copying files... this may take a while..." exeinto ${dir} - doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/{descent3,nettest} + doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/{${PN},nettest} \ + || die "copying executables" insinto ${dir} - - cp ${CDROM_ROOT}/{FAQ.txt,README,README.mercenary,d3.hog,icon.{bmp,xpm}} \ - ${Ddir} + doins ${CDROM_ROOT}/{FAQ.txt,README{,.mercenary},d3.hog,icon.{bmp,xpm}} \ + || die "copying files" cd ${Ddir} - tar xzf ${CDROM_ROOT}/data.tar.gz || die "uncompressing data" tar xzf ${CDROM_ROOT}/shared.tar.gz || die "uncompressing shared" - use nocd && cp ${CDROM_ROOT}/missions/* ${Ddir}/missions + if use nocd; then + doins -r ${CDROM_ROOT}/missions || die "copying missions" + fi if use videos ; then cdrom_load_next_cd - cp ${CDROM_ROOT}/movies/* ${Ddir}/movies || die "copying movies" + doins -r ${CDROM_ROOT}/movies || die "copying movies" fi cd ${S}/a - bin/Linux/x86/loki_patch --verify patch.dat - bin/Linux/x86/loki_patch patch.dat ${Ddir} >& /dev/null || die "patching" + loki_patch --verify patch.dat + loki_patch patch.dat ${Ddir} >& /dev/null || die "patching" cd ${S}/b - bin/Linux/x86/loki_patch --verify patch.dat - bin/Linux/x86/loki_patch patch.dat ${Ddir} >& /dev/null || die "patching" + loki_patch --verify patch.dat + loki_patch patch.dat ${Ddir} >& /dev/null || die "patching" # now, since these files are coming off a cd, the times/sizes/md5sums wont # be different ... that means portage will try to unmerge some files (!) # we run touch on ${D} so as to make sure portage doesnt do any such thing find ${Ddir} -exec touch '{}' \; - dogamesbin ${FILESDIR}/descent3 - dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/descent3 - insinto /usr/share/pixmaps - newins ${CDROM_ROOT}/icon.xpm descent3.xpm + games_make_wrapper ${PN} ./${PN} ${dir} + newicon ${CDROM_ROOT}/icon.xpm ${PN}.xpm # Fix for 2.6 kernel crash cd ${Ddir} ln -sf ppics.hog PPics.Hog prepgamesdirs - make_desktop_entry descent3 "Descent 3" "descent3.xpm" + make_desktop_entry ${PN} "Descent 3" ${PN} } pkg_postinst() { diff --git a/games-action/descent3/files/descent3 b/games-action/descent3/files/descent3 deleted file mode 100644 index edb179573911..000000000000 --- a/games-action/descent3/files/descent3 +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -cd GENTOO_DIR -exec ./descent3 $* diff --git a/games-action/fakk2/ChangeLog b/games-action/fakk2/ChangeLog index 73b267cc61ec..85d53c07fd37 100644 --- a/games-action/fakk2/ChangeLog +++ b/games-action/fakk2/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-action/fakk2 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/fakk2/ChangeLog,v 1.7 2005/04/20 14:09:46 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/fakk2/ChangeLog,v 1.8 2005/06/09 20:41:36 wolf31o2 Exp $ + + 09 Jun 2005; Chris Gianelloni <wolf31o2@gentoo.org> fakk2-1.02.ebuild: + Updated to use newer functions added since this ebuild was created. 20 Apr 2005; Chris Gianelloni <wolf31o2@gentoo.org> fakk2-1.02.ebuild: Added warning about bug #82149. diff --git a/games-action/fakk2/fakk2-1.02.ebuild b/games-action/fakk2/fakk2-1.02.ebuild index c7bbd16ff310..cc6fbf3a353d 100644 --- a/games-action/fakk2/fakk2-1.02.ebuild +++ b/games-action/fakk2/fakk2-1.02.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/fakk2/fakk2-1.02.ebuild,v 1.7 2005/04/20 14:09:46 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/fakk2/fakk2-1.02.ebuild,v 1.8 2005/06/09 20:41:36 wolf31o2 Exp $ -inherit games +inherit eutils games IUSE="nocd" DESCRIPTION="Heavy Metal: FAKK2 - 3D third-person action shooter based on the Heavy Metal comics/movies" @@ -36,14 +36,14 @@ src_install() { dodir ${dir} einfo "Copying files... this may take a while..." exeinto ${dir} - doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk2 + doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/${PN} insinto ${dir} doins ${CDROM_ROOT}/{README,icon.{bmp,xpm}} dodir ${dir}/fakk - exeinto /opt/fakk2/fakk + exeinto ${dir}/fakk doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk/{c,f}game.so if use nocd ; then - insinto /opt/fakk2/fakk + insinto ${dir}fakk doins ${CDROM_ROOT}/fakk/pak{0,1,2,3}.pk3 fi @@ -52,14 +52,11 @@ src_install() { # we run touch on ${D} so as to make sure portage doesnt do any such thing find ${Ddir} -exec touch '{}' \; - dodir ${GAMES_BINDIR} - dogamesbin ${FILESDIR}/fakk2 - dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/fakk2 - insinto /usr/share/pixmaps - newins ${CDROM_ROOT}/icon.xpm fakk2.xpm + games_make_wrapper ${PN} ./${PN} ${dir} + newicon ${CDROM_ROOT}/icon.xpm ${PN}.xpm prepgamesdirs - make_desktop_entry fakk2 "FAKK2" "fakk2.xpm" + make_desktop_entry ${PN} "FAKK2" ${PN} } pkg_postinst() { |