diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-02-15 23:23:18 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-02-15 23:23:18 +0000 |
commit | 0f2bca7eab71e4a2a5369c82b8713b88e88e71fe (patch) | |
tree | ee733e6ff3475ffb809d40b45559e281bc986901 /games-action/fakk2 | |
parent | makefile fix re-added for asterisk-0.7.2 (diff) | |
download | historical-0f2bca7eab71e4a2a5369c82b8713b88e88e71fe.tar.gz historical-0f2bca7eab71e4a2a5369c82b8713b88e88e71fe.tar.bz2 historical-0f2bca7eab71e4a2a5369c82b8713b88e88e71fe.zip |
Updated to use new cdrom_get_cds routine in eutils.eclass.
Diffstat (limited to 'games-action/fakk2')
-rw-r--r-- | games-action/fakk2/ChangeLog | 7 | ||||
-rw-r--r-- | games-action/fakk2/fakk2-1.02.ebuild | 18 |
2 files changed, 14 insertions, 11 deletions
diff --git a/games-action/fakk2/ChangeLog b/games-action/fakk2/ChangeLog index b3d6a9233792..2f9516817c66 100644 --- a/games-action/fakk2/ChangeLog +++ b/games-action/fakk2/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-action/fakk2 -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/fakk2/ChangeLog,v 1.2 2003/09/10 20:28:08 vapier Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/fakk2/ChangeLog,v 1.3 2004/02/15 23:20:02 wolf31o2 Exp $ + + 15 Feb 2004; Chris Gianelloni <wolf31o2@gentoo.org> fakk2-1.02.ebuild: + Updated to use new cdrom_get_cds routine in eutils.eclass. *fakk2-1.02 (05 Aug 2003) 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" |