diff options
author | 2005-06-09 20:41:36 +0000 | |
---|---|---|
committer | 2005-06-09 20:41:36 +0000 | |
commit | 23cb5502c138bb0ef608f39ea5f9268114d74449 (patch) | |
tree | 10af8eadd2c11bbaaf70ea68e721b2900aa11ce9 /games-action/fakk2/fakk2-1.02.ebuild | |
parent | bump (diff) | |
download | historical-23cb5502c138bb0ef608f39ea5f9268114d74449.tar.gz historical-23cb5502c138bb0ef608f39ea5f9268114d74449.tar.bz2 historical-23cb5502c138bb0ef608f39ea5f9268114d74449.zip |
Updated to use newer functions added since this ebuild was created.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'games-action/fakk2/fakk2-1.02.ebuild')
-rw-r--r-- | games-action/fakk2/fakk2-1.02.ebuild | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/games-action/fakk2/fakk2-1.02.ebuild b/games-action/fakk2/fakk2-1.02.ebuild index c7bbd16ff310..cc6fbf3a353d 100644 --- a/games-action/fakk2/fakk2-1.02.ebuild +++ b/games-action/fakk2/fakk2-1.02.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # 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.7 2005/04/20 14:09:46 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/fakk2/fakk2-1.02.ebuild,v 1.8 2005/06/09 20:41:36 wolf31o2 Exp $ -inherit games +inherit eutils games IUSE="nocd" DESCRIPTION="Heavy Metal: FAKK2 - 3D third-person action shooter based on the Heavy Metal comics/movies" @@ -36,14 +36,14 @@ src_install() { dodir ${dir} einfo "Copying files... this may take a while..." exeinto ${dir} - doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk2 + doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/${PN} insinto ${dir} doins ${CDROM_ROOT}/{README,icon.{bmp,xpm}} dodir ${dir}/fakk - exeinto /opt/fakk2/fakk + exeinto ${dir}/fakk doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk/{c,f}game.so if use nocd ; then - insinto /opt/fakk2/fakk + insinto ${dir}fakk doins ${CDROM_ROOT}/fakk/pak{0,1,2,3}.pk3 fi @@ -52,14 +52,11 @@ src_install() { # we run touch on ${D} so as to make sure portage doesnt do any such thing find ${Ddir} -exec touch '{}' \; - dodir ${GAMES_BINDIR} - dogamesbin ${FILESDIR}/fakk2 - dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/fakk2 - insinto /usr/share/pixmaps - newins ${CDROM_ROOT}/icon.xpm fakk2.xpm + games_make_wrapper ${PN} ./${PN} ${dir} + newicon ${CDROM_ROOT}/icon.xpm ${PN}.xpm prepgamesdirs - make_desktop_entry fakk2 "FAKK2" "fakk2.xpm" + make_desktop_entry ${PN} "FAKK2" ${PN} } pkg_postinst() { |