1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 DESCRIPTION="File history and comparison tools"
6 HOMEPAGE="http://fhist.sourceforge.net/fhist.html"
7 SRC_URI="http://fhist.sourceforge.net/${P}.tar.gz"
14 RDEPEND="sys-devel/gettext
17 test? ( app-arch/sharutils )
24 emake || die "emake failed"
28 emake sure || die "src_test failed"
33 RPM_BUILD_ROOT="${D}" \
34 NLSDIR="${D}/usr/share/locale" \
35 install || die "make install failed"
37 dodoc lib/en/*.txt || die
38 dodoc lib/en/*.ps || die
40 # remove duplicate docs etc.
41 rm -r "${D}"/usr/share/fhist
43 dodoc MANIFEST README || die