/[gentoo-x86]/games-action/descent3/descent3-1.4.0b-r1.ebuild
Gentoo

Diff of /games-action/descent3/descent3-1.4.0b-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/games-action/descent3/descent3-1.4.0b-r1.ebuild,v 1.6 2006/03/31 20:16:49 wolf31o2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/games-action/descent3/descent3-1.4.0b-r1.ebuild,v 1.7 2006/04/13 19:44:26 wolf31o2 Exp $
4 4
5inherit eutils games 5inherit eutils games
6 6
7IUSE="nocd videos" 7IUSE="nocd videos"
8DESCRIPTION="Descent 3 - 3-Dimensional indoor/outdoor spaceship combat" 8DESCRIPTION="Descent 3 - 3-Dimensional indoor/outdoor spaceship combat"
34GAMES_CHECK_LICENSE="yes" 34GAMES_CHECK_LICENSE="yes"
35dir=${GAMES_PREFIX_OPT}/${PN} 35dir=${GAMES_PREFIX_OPT}/${PN}
36Ddir=${D}/${dir} 36Ddir=${D}/${dir}
37 37
38pkg_setup() { 38pkg_setup() {
39 games_pkg_setup
39 if use videos ; then 40 if use videos ; then
40 ewarn "The installed game takes about 1.2GB of space!" 41 ewarn "The installed game takes about 1.2GB of space!"
41 cdrom_get_cds missions/d3.mn3 movies/level1.mve 42 cdrom_get_cds missions/d3.mn3 movies/level1.mve
42 else 43 else
43 cdrom_get_cds missions/d3.mn3 44 cdrom_get_cds missions/d3.mn3
45 if use nocd ; then 46 if use nocd ; then
46 ewarn "The installed game takes about 510MB of space!" 47 ewarn "The installed game takes about 510MB of space!"
47 else 48 else
48 ewarn "The installed game takes about 220MB of space!" 49 ewarn "The installed game takes about 220MB of space!"
49 fi 50 fi
50 games_pkg_setup
51} 51}
52 52
53src_unpack() { 53src_unpack() {
54 mkdir -p ${S}/{a,b} 54 mkdir -p ${S}/{a,b}
55 cd ${S}/a 55 cd ${S}/a

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20