# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: inherit games eutils DESCRIPTION="Space-based MMORPG." HOMEPAGE="http://www.vendetta-online.com/" SRC_URI="vendetta-linux-installer.sh" S=${WORKDIR} RESTRICT="nomirror fetch" LICENSE="guild" KEYWORDS="x86 amd64" IUSE="amd64" SLOT="0" DEPEND="" RDEPEND="virtual/x11 virtual/opengl =x11-libs/gtk+-1.2* amd64? ( app-emualation/emul-linux-x86-gtklibs )" pkg_nofetch() { einfo "You need to download ${A} from Guild Software by:" einfo "1. Going to http://www.vendetta-online.com/ and creating your login" einfo "2. Obtain ${A} from your CD" einfo " OR" einfo "2. Login to VO's website on the top-left under \"Web\"," einfo " and then downloading it from the \"Download\" link" einfo " under \"Game\" on the left pane." einfo "3. Put ${A} in ${DISTDIR}" einfo "4. emerge vendettaonline" } src_unpack() { unpack_makeself } src_install() { dogamesbin vendetta prepgamesdirs } pkg_postinst() { einfo "To avoid having to download the data files again, run:" einfo " ${DISTDIR}/vendetta-linux-installer.sh" einfo "When prompted, type 'y', press enter, press enter again" einfo "to agree with the default location." einfo "After the script is done, you can safely delete the" einfo "vendetta binary from your home directory, and the bin" einfo "folder, if you don't have anything else in it." }