summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-02-15 23:23:18 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-02-15 23:23:18 +0000
commit75234f4fdd4af7d96bf698205ea28a00778356f6 (patch)
tree31d57f34797c2a8d02d3dcb7973d7b3b322dfe50 /games-action/fakk2/fakk2-1.02.ebuild
parentmakefile fix re-added for asterisk-0.7.2 (Manifest recommit) (diff)
downloadgentoo-2-75234f4fdd4af7d96bf698205ea28a00778356f6.tar.gz
gentoo-2-75234f4fdd4af7d96bf698205ea28a00778356f6.tar.bz2
gentoo-2-75234f4fdd4af7d96bf698205ea28a00778356f6.zip
Updated to use new cdrom_get_cds routine in eutils.eclass.
Diffstat (limited to 'games-action/fakk2/fakk2-1.02.ebuild')
-rw-r--r--games-action/fakk2/fakk2-1.02.ebuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/games-action/fakk2/fakk2-1.02.ebuild b/games-action/fakk2/fakk2-1.02.ebuild
index b7464ac0dd4b..e00a7ff946a3 100644
--- a/games-action/fakk2/fakk2-1.02.ebuild
+++ b/games-action/fakk2/fakk2-1.02.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.1 2003/09/10 19:29:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/fakk2/fakk2-1.02.ebuild,v 1.2 2004/02/15 23:20:02 wolf31o2 Exp $
inherit games
@@ -24,27 +24,27 @@ dir=${GAMES_PREFIX_OPT}/${PN}
Ddir=${D}/${dir}
pkg_setup() {
+ check_license || die "License check failed"
if [ "`use nocd`" ]; then
ewarn "The installed game takes about 378MB of space!"
fi
+ cdrom_get_cds fakk
games_pkg_setup
}
src_install() {
dodir ${dir}
- games_get_cd fakk
- games_verify_cd "Heavy Metal: FAKK2"
einfo "Copying files... this may take a while..."
exeinto /opt/fakk2
- doexe ${GAMES_CD}/bin/x86/glibc-2.1/fakk2
+ doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk2
insinto /opt/fakk2
- doins ${GAMES_CD}/{README,icon.{bmp,xpm}}
+ doins ${CDROM_ROOT}/{README,icon.{bmp,xpm}}
dodir ${dir}/fakk
exeinto /opt/fakk2/fakk
- doexe ${GAMES_CD}/bin/x86/glibc-2.1/fakk/{c,f}game.so
+ doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk/{c,f}game.so
if [ "`use nocd`" ]; then
insinto /opt/fakk2/fakk
- doins ${GAMES_CD}/fakk/pak{0,1,2,3}.pk3
+ doins ${CDROM_ROOT}/fakk/pak{0,1,2,3}.pk3
fi
# now, since these files are coming off a cd, the times/sizes/md5sums wont
@@ -56,7 +56,7 @@ src_install() {
dogamesbin ${FILESDIR}/fakk2
dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/fakk2
insinto /usr/share/pixmaps
- newins ${GAMES_CD}/icon.xpm fakk2.xpm
+ newins ${CDROM_ROOT}/icon.xpm fakk2.xpm
prepgamesdirs
make_desktop_entry fakk2 "FAKK2" "fakk2.xpm"