# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-action/xshipwars/xshipwars-1.34.0.ebuild,v 1.14 2005/08/07 12:49:31 hansmi Exp $ #inherit toolchain-funcs eutils games flag-o-matic fixheadtails gnuconfig inherit toolchain-funcs eutils kde-functions DESCRIPTION="KFreeFlight is a GUI-Frontend for FlightGear and it can launch it with the most common options." HOMEPAGE="http://kfreeflight.sourceforge.net/" MY_P=${PN}-"0.2" SRC_URI="mirror://sourceforge/kfreeflight/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="arts" DEPEND=" >=games-simulation/flightgear-0.9.9 =x11-libs/qt-3* arts? kde-base/arts" S="${WORKDIR}/${MY_P}/" src_unpack() { # unpack the client unpack ${MY_P}.tar.gz cd "${S}" } src_compile() { # configuration process econf \ $(use_with arts) \ || die "Configure process failed!" # compilation process emake -j2 || die "Compilation process failed!" } src_install() { #make DEST_DIR=${D} install || die "Installation process failed" einstall || die "Installation process failed" #dodoc AUTHORS README } pkg_postinst() { #info einfo "To start the program type: kfreeflight" }