# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/xxdiff/xxdiff-2.9.2-r1.ebuild,v 1.3 2003/09/16 17:28:26 mholzer Exp $ DESCRIPTION="A graphical file and directories comparator and merge tool." SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" HOMEPAGE="http://xxdiff.sourceforge.net/" DEPEND=">=x11-libs/qt-3.0.0 >=dev-util/tmake-1.8-r1 kde? ( >=kde-base/kdelibs-3.1.0 )" RDEPEND="${DEPEND} sys-apps/diffutils" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~sparc" IUSE="kde" src_unpack() { unpack ${A} if [ `use kde` ]; then cd ${S}/src epatch ${FILESDIR}/kdesupport.patch fi } src_compile() { cd src tmake -o Makefile xxdiff.pro emake || die } src_install () { dobin src/xxdiff doman src/xxdiff.1 dodoc README COPYING CHANGES TODO dodoc copyright.txt }