blob: 9de89e8012fae1e6fa6a3e4bfcfd1b3f3e714a46 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/dwdiff/dwdiff-1.8.ebuild,v 1.1 2010/07/07 23:53:29 ssuominen Exp $
EAPI=3
inherit toolchain-funcs
DESCRIPTION="A front-end for the diff program that operates at the word level instead of the line level"
HOMEPAGE="http://os.ghalkes.nl/dwdiff.html"
SRC_URI="http://os.ghalkes.nl/dist/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
COMMON_DEPEND="dev-libs/icu"
RDEPEND="${COMMON_DEPEND}
sys-apps/diffutils"
DEPEND="${COMMON_DEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
sed -i \
-e '/INSTALL/s:COPYING::' \
Makefile.in || die
}
src_configure() {
./configure \
--prefix=/usr \
$(use_with nls gettext) || die
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die
}
src_install() {
emake prefix="${D}/usr" docdir="${D}/usr/share/doc/${PF}" install || die
prepalldocs
}
|