# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/drod-bin/drod-bin-1.6.3.ebuild,v 1.2 2003/11/19 20:31:41 mr_bones_ Exp $ inherit eutils games S="${WORKDIR}" DESCRIPTION="Deadly Rooms Of Death: face room upon room of deadly things, armed with only your sword and your wits" HOMEPAGE="http://www.drod.net" SRC_URI="mirror://sourceforge/drod/CDROD-${PV}-setup.sh.bin" KEYWORDS="-* x86" LICENSE="MPL-1.1" SLOT="0" IUSE="" RDEPEND="virtual/x11 >=media-libs/sdl-ttf-2.0.6" src_unpack() { unpack_makeself ${A} cd ${S} epatch ${FILESDIR}/install.patch } src_install() { ./install.sh -R ${D} -g -rl -pg -I || die "install.sh failed" dodir "${GAMES_BINDIR}" || die "dodir failed" dosym /opt/drod/bin/drod "${GAMES_BINDIR}/drod" || die "dosym failed" prepgamesdirs fperms 775 /opt/drod/bin/Data/ || die "fperms failed" }