# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/xxdiff/xxdiff-2.9.2.ebuild,v 1.8 2004/07/15 00:15:05 agriffis Exp $ DESCRIPTION="A graphical file and directories comparator and merge tool." SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" RESTRICT="nomirror" HOMEPAGE="http://xxdiff.sourceforge.net/" DEPEND="=x11-libs/qt-3* =dev-util/tmake-1.8*" RDEPEND="=x11-libs/qt-3* sys-apps/diffutils" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 sparc" IUSE="" src_compile() { cd src tmake -o Makefile xxdiff.pro REALHOME="$HOME" mkdir -p $T/fakehome/.kde mkdir -p $T/fakehome/.qt export HOME="$T/fakehome" addwrite "${QTDIR}/etc/settings" # things that should access the real homedir [ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/" emake || die } src_install () { dobin src/xxdiff doman src/xxdiff.1 dodoc README COPYING CHANGES TODO dodoc copyright.txt }