diff options
Diffstat (limited to 'app-text/catdoc/catdoc-0.94.4-r1.ebuild')
-rw-r--r-- | app-text/catdoc/catdoc-0.94.4-r1.ebuild | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/app-text/catdoc/catdoc-0.94.4-r1.ebuild b/app-text/catdoc/catdoc-0.94.4-r1.ebuild deleted file mode 100644 index 099c9bf5bad1..000000000000 --- a/app-text/catdoc/catdoc-0.94.4-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -WANT_AUTOMAKE=none - -inherit autotools eutils - -DESCRIPTION="Converter for Microsoft Word, Excel, PowerPoint and RTF files to text" -HOMEPAGE="http://www.wagner.pp.ru/~vitus/software/catdoc/" -SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" -IUSE="tk" - -DEPEND="tk? ( >=dev-lang/tk-8.1 )" - -DOCS="CODING.STD CREDITS NEWS README TODO" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.94.2-flags.patch - epatch "${FILESDIR}"/${PN}-0.94.2+autoconf-2.63.patch - epatch "${FILESDIR}"/${P}-destdir.patch - epatch "${FILESDIR}"/${P}-desktop.patch - - # only install wordview.desktop when tk is enabled (bug #522766) - if ! use tk ; then - sed -i 's/ desktop//' Makefile.in || die - fi - - # Fix for case-insensitive filesystems - echo ".PHONY: all install clean distclean dist" >> Makefile.in - - eautoconf -} - -src_configure() { - econf --with-install-root="${D}" \ - $(use_with tk wish "${EPREFIX}"/usr/bin/wish) \ - $(use_enable tk wordview) -} - -src_compile() { - emake LIB_DIR="${EPREFIX}"/usr/share/catdoc -} - -src_install() { - emake -j1 mandir="${EPREFIX}"/usr/share/man/man1 install - - if [[ -e ${ED}/usr/bin/xls2csv ]]; then - einfo "Renaming xls2csv to xls2csv-${PN} because of bug 314657." - mv -vf "${ED}"/usr/bin/xls2csv "${ED}"/usr/bin/xls2csv-${PN} || die - fi - - dodoc ${DOCS} -} |