1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils toolchain-funcs
9 DESCRIPTION="rtf/html/text conversion utility"
10 HOMEPAGE="http://docfrac.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.src.tar.gz"
15 KEYWORDS="~amd64 ~x86"
20 -e "/CPPFLAGS=/s:-.*::" \
21 -e "s:ar -:$(tc-getAR) -:" \
22 -e "s:g++ -:$(tc-getCXX) -:g" \
23 Makefile || die "sed failed in Makefile"
25 epatch "${FILESDIR}"/${PV}-gcc46.patch
33 # manual install because Makefile doesn't respect DESTDIR