summaryrefslogtreecommitdiff
blob: 314991ceb9778282ff81ea5a207678bae4324757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/rox-extra/diff/diff-2.1.2.ebuild,v 1.2 2006/04/16 11:58:25 svyatogor Exp $

inherit eutils rox

MY_PN="Diff"
PATCH_FN="diff-2.1.2_unified-fix.patch"
DESCRIPTION="This is a helper program for ROX-Filer. It displays a coloured context diff between two files"
HOMEPAGE="http://www.kerofin.demon.co.uk/rox/diff.html"
SRC_URI="http://www.kerofin.demon.co.uk/rox/${MY_PN}-${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
IUSE=""
KEYWORDS="~x86"

ROX_CLIB=2.1.0
SET_PERM=true

APPNAME=${MY_PN}
S=${WORKDIR}

# patch to make unified diffs work. Thanks to Stephen Watson, author
src_unpack() {
	unpack ${A}
	cd ${S}/${APPNAME}/src
	epatch ${FILESDIR}/${PATCH_FN}
}