# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/bbweather/bbweather-0.6.2.ebuild,v 1.8 2008/12/27 23:06:43 coldwind Exp $ DESCRIPTION="blackbox weather monitor" HOMEPAGE="http://www.netmeister.org/apps/bbweather/" SRC_URI="http://www.netmeister.org/apps/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc sparc alpha hppa" IUSE="" DEPEND="virtual/blackbox >=net-misc/wget-1.7 >=dev-lang/perl-5.6.1" src_install () { make DESTDIR="${D}" install || die "make install failed" rm -rf "${D}"/usr/share/doc dodoc README AUTHORS INSTALL ChangeLog NEWS TODO data/README.bbweather dohtml -r doc # since multiple bbtools packages provide this file, install # it in /usr/share/doc/${PF} mv "${D}"/usr/share/bbtools/bbtoolsrc.in \ "${D}"/usr/share/doc/${PF}/bbtoolsrc.example }