summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-03-04 01:18:09 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-03-04 01:18:09 +0000
commitfb36408c9ea279135cf377d19180a7987cb73087 (patch)
treec262d1d1dbbb97ef687f2986593782b04a177342 /games-fps
parentKeywording split KDE. (diff)
downloadgentoo-2-fb36408c9ea279135cf377d19180a7987cb73087.tar.gz
gentoo-2-fb36408c9ea279135cf377d19180a7987cb73087.tar.bz2
gentoo-2-fb36408c9ea279135cf377d19180a7987cb73087.zip
Change to use more built-in functions and to be a little cleaner.
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/quake3-demo/ChangeLog6
-rw-r--r--games-fps/quake3-demo/files/q3demo3
-rw-r--r--games-fps/quake3-demo/files/q3demo-ded3
-rw-r--r--games-fps/quake3-demo/quake3-demo-1.11.ebuild20
4 files changed, 10 insertions, 22 deletions
diff --git a/games-fps/quake3-demo/ChangeLog b/games-fps/quake3-demo/ChangeLog
index 1a03379de3a4..28c9b5b12432 100644
--- a/games-fps/quake3-demo/ChangeLog
+++ b/games-fps/quake3-demo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/quake3-demo
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/ChangeLog,v 1.20 2008/02/15 01:09:40 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/ChangeLog,v 1.21 2008/03/04 01:18:09 wolf31o2 Exp $
+
+ 04 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> -files/q3demo,
+ -files/q3demo-ded, quake3-demo-1.11.ebuild:
+ Change to use more built-in functions and to be a little cleaner.
15 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
quake3-demo-1.11.ebuild:
diff --git a/games-fps/quake3-demo/files/q3demo b/games-fps/quake3-demo/files/q3demo
deleted file mode 100644
index 0e3d78b5cfa1..000000000000
--- a/games-fps/quake3-demo/files/q3demo
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-cd GENTOO_DIR
-exec ./q3demo.x86 "${@}"
diff --git a/games-fps/quake3-demo/files/q3demo-ded b/games-fps/quake3-demo/files/q3demo-ded
deleted file mode 100644
index e0b82394ebbc..000000000000
--- a/games-fps/quake3-demo/files/q3demo-ded
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-cd GENTOO_DIR
-exec ./q3ded.x86 "${@}"
diff --git a/games-fps/quake3-demo/quake3-demo-1.11.ebuild b/games-fps/quake3-demo/quake3-demo-1.11.ebuild
index a7f4e432a5f1..6a27d4e5a9bb 100644
--- a/games-fps/quake3-demo/quake3-demo-1.11.ebuild
+++ b/games-fps/quake3-demo/quake3-demo-1.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/quake3-demo-1.11.ebuild,v 1.24 2008/02/15 01:09:40 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/quake3-demo-1.11.ebuild,v 1.25 2008/03/04 01:18:09 wolf31o2 Exp $
inherit eutils games
@@ -46,26 +46,16 @@ src_unpack() {
}
src_install() {
- dodir "${dir}"
-
- cp -rf Help "${Ddir}"
- cp -rf demoq3 "${Ddir}"
+ insinto "${dir}"
+ doins -r Help demoq3
+ doins README icon.*
exeinto "${dir}"
newexe bin/x86/glibc-2.0/q3ded q3ded.x86
newexe bin/x86/glibc-2.0/q3demo q3demo.x86
use 3dfx && doexe bin/x86/glibc-2.0/libMesaVoodooGL.so*
- #use opengl && dosym /usr/lib/libGL.so "${dir}"/libGL.so
- doexe "${FILESDIR}"/{q3demo,q3demo-ded}
- dodir "${GAMES_BINDIR}"
- dosym "${dir}"/q3demo "${GAMES_BINDIR}"/q3demo
- dosym "${dir}"/q3demo-ded "${GAMES_BINDIR}"/q3demo-ded
- dosed "s:GENTOO_DIR:${dir}:" "${dir}"/q3demo
- dosed "s:GENTOO_DIR:${dir}:" "${dir}"/q3demo-ded
-
- insinto "${dir}"
- doins README icon.*
+ games_make_wrapper q3demo ./q3demo.x86 "${dir}" "${dir}"
make_desktop_entry q3demo "Quake III (Demo)"