summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-04-18 13:18:45 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-04-18 13:18:45 +0000
commit485d1cd6701f494729a1dcee376d58ba3c669822 (patch)
treed717d8411e50bc2992f3debf3ae20daed4116d3a /games-simulation
parentnls use flag changed to unicode for mbstring extension. (diff)
downloadgentoo-2-485d1cd6701f494729a1dcee376d58ba3c669822.tar.gz
gentoo-2-485d1cd6701f494729a1dcee376d58ba3c669822.tar.bz2
gentoo-2-485d1cd6701f494729a1dcee376d58ba3c669822.zip
Changed to use GAMES_CHECK_LICENSE and some general cleanup.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/bcs-demo/ChangeLog5
-rw-r--r--games-simulation/bcs-demo/bcs-demo-1.3.ebuild19
2 files changed, 12 insertions, 12 deletions
diff --git a/games-simulation/bcs-demo/ChangeLog b/games-simulation/bcs-demo/ChangeLog
index be40d7008423..6865401ce8ee 100644
--- a/games-simulation/bcs-demo/ChangeLog
+++ b/games-simulation/bcs-demo/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-simulation/bcsdemo
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/bcs-demo/ChangeLog,v 1.1 2006/04/17 13:20:01 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/bcs-demo/ChangeLog,v 1.2 2006/04/18 13:18:45 wolf31o2 Exp $
+
+ 18 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org> bcs-demo-1.3.ebuild:
+ Changed to use GAMES_CHECK_LICENSE and some general cleanup.
*bcs-demo-1.3 (17 Apr 2006)
diff --git a/games-simulation/bcs-demo/bcs-demo-1.3.ebuild b/games-simulation/bcs-demo/bcs-demo-1.3.ebuild
index 704fe61ddbd7..ac04f71028f5 100644
--- a/games-simulation/bcs-demo/bcs-demo-1.3.ebuild
+++ b/games-simulation/bcs-demo/bcs-demo-1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/bcs-demo/bcs-demo-1.3.ebuild,v 1.1 2006/04/17 13:20:01 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/bcs-demo/bcs-demo-1.3.ebuild,v 1.2 2006/04/18 13:18:45 wolf31o2 Exp $
inherit eutils games
@@ -17,29 +17,26 @@ RDEPEND="media-libs/openal"
S=${WORKDIR}
-pkg_setup() {
- check_license BCS
- games_pkg_setup
-}
+GAMES_CHECK_LICENSE="yes"
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
src_unpack() {
unpack_makeself
}
src_install() {
- local dir=${GAMES_PREFIX_OPT}/bcs-demo
dodir ${dir} ${GAMES_BINDIR}
- tar -zxf bcsdemo.tar.gz -C ${D}/${dir} || die "extracting bcsdemo.tar.gz"
+ tar -zxf bcsdemo.tar.gz -C ${Ddir} || die "extracting bcsdemo.tar.gz"
exeinto ${dir}
- doexe bin/Linux/x86/rungame.sh
+ doexe bin/Linux/x86/rungame.sh || die
dosym ${dir}/rungame.sh ${GAMES_BINDIR}/bcs-demo
insinto ${dir}
- doins *.cfg
-
- dodoc readme*
+ doins *.cfg || die
+ dodoc readme* || die
prepgamesdirs
}