summaryrefslogtreecommitdiff
path: root/app-text/catdoc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/catdoc
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/catdoc')
-rw-r--r--app-text/catdoc/Manifest6
-rw-r--r--app-text/catdoc/catdoc-0.95.ebuild50
-rw-r--r--app-text/catdoc/files/catdoc-0.95-parallel-make.patch39
-rw-r--r--app-text/catdoc/metadata.xml8
4 files changed, 103 insertions, 0 deletions
diff --git a/app-text/catdoc/Manifest b/app-text/catdoc/Manifest
new file mode 100644
index 000000000000..ed217eac7af5
--- /dev/null
+++ b/app-text/catdoc/Manifest
@@ -0,0 +1,6 @@
+AUX catdoc-0.95-parallel-make.patch 1568 SHA256 4eb7986369ee1b547d22d57e4124c68aa0659afd909461c51917972c5b1844ed SHA512 f40d7440bf19157b862226e8d956b5505e6d79db3a39a21f71f68d6943b162f62863333739f1f4777c2c38b4116b4745888ed0cf5cd4159ccc84d02979f691ea WHIRLPOOL 841a7744c771dcb4bb60b091cc78b56298714b2d713cab9fd53ddd9a855f3458d521dbd85de2d0f425878a87d6724604557339e58f8e0f6a4929cc6f54748dda
+DIST catdoc-0.95.tar.gz 217779 SHA256 514a84180352b6bf367c1d2499819dfa82b60d8c45777432fa643a5ed7d80796 SHA512 dd6bded4b6b70749c007256b182b063ff266f86d53024d8582001678821e8096c5b980bc8f43015d9c82bbe022d71d4ba5fe68aff31b2ff6db3688595e651b2c WHIRLPOOL 1303c74cc6a13183e2ea8ee2bf616da419a8b9f03f4e2fcdce3b0462306084fab85a1cd68bb4ab07caac40c56a91284103e54084d7f523d9894b0eee9359184c
+EBUILD catdoc-0.95.ebuild 1194 SHA256 a7999d1d8e8638ee846846fadb50f90733c8c3149abf100a1ab066201272cf35 SHA512 48e93c76ff30043e9fb800109cdab36bd25e7d24895aede5767641b636a62ac30477e6a5dfda5d46a3d6c61f3cdcdd1876b3ecc6c0fecf539c06d7f3766adef5 WHIRLPOOL 01387589c005e0fa2daa0324fc4d65bb2208a721b544c9760e6fee15c589154aeda4c171562b7ca93201607c4610a512503824d6b087c3b5bc07b4c4492ff55c
+MISC ChangeLog 3631 SHA256 d46256ab215db40b6d3402ef2a20a8cd1f4f4ce9a258e81f6111a4e2302bfab6 SHA512 efe14fe7e8e9639d32268b282e38e0a72269f8eca95206e571ce9fb2c441ec3aa5121c9be3b822d0ce473fc7f497d65288dba70a8d6f3153232782bd36c7ff4d WHIRLPOOL bfa896b4d931f73eedee2d5f56b65e05a83684f1839efde80374c886ae3c701a82bd9126505a5413a260c7c7c84fddfe694b9990e6a2eceea693957cc93bf6f7
+MISC ChangeLog-2015 4479 SHA256 d21396e54b8bbd3358ceff9b230159334062f9d2731914abcd10f5e5a00ca199 SHA512 b99283e310f5cbe7d9b63480d6c9996a842a076507e9740b1c86a5909f7b824c882176ddcfebad810c5f7ad5ea8fab8fa6b985639cf4d0dd4d964c8121175aa6 WHIRLPOOL f245827295a7e2d8411e5126e5ab9668b518bb2b4361aa1720f637e3a2c807910eaa6e0f760eef8b4742525d812bb9a331e1314ee3ea5c23f76bb0273bb86074
+MISC metadata.xml 245 SHA256 b3de478821488be2cdc91b078e21c911dc384af882c5c44631a47dfa91516dc8 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690 WHIRLPOOL 701a78fc2214f5fd4bd781477f85e87e716b8d76ea831a0fa4afc8871c4286cc363679f1ff4f844555ad4f77cc7265208b83e805f56c22fc4baeed1062280c08
diff --git a/app-text/catdoc/catdoc-0.95.ebuild b/app-text/catdoc/catdoc-0.95.ebuild
new file mode 100644
index 000000000000..24c2ed8e4036
--- /dev/null
+++ b/app-text/catdoc/catdoc-0.95.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Converter for Microsoft Word, Excel, PowerPoint and RTF files to text"
+HOMEPAGE="http://www.wagner.pp.ru/~vitus/software/catdoc/"
+SRC_URI="http://ftp.wagner.pp.ru/pub/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc x86 ~amd64-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="tk"
+
+DEPEND="tk? ( >=dev-lang/tk-8.1 )"
+
+DOCS="CODING.STD NEWS README TODO"
+# CREDITS missing by accident in catdoc-0.95
+
+PATCHES=(
+ "${FILESDIR}/${P}-parallel-make.patch"
+ )
+
+src_prepare() {
+ default
+
+ # Fix for case-insensitive filesystems
+ echo ".PHONY: all install clean distclean dist" >> Makefile.in || die
+
+ mv configure.{in,ac} || die
+}
+
+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() {
+ default
+
+ 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
+}
diff --git a/app-text/catdoc/files/catdoc-0.95-parallel-make.patch b/app-text/catdoc/files/catdoc-0.95-parallel-make.patch
new file mode 100644
index 000000000000..b3e2833eb4d3
--- /dev/null
+++ b/app-text/catdoc/files/catdoc-0.95-parallel-make.patch
@@ -0,0 +1,39 @@
+--- a/charsets/Makefile.in
++++ b/charsets/Makefile.in
+@@ -28,13 +28,13 @@
+
+ all: @charsetcheck@
+ clean:
+-install: install-dirs install-spc install-charsets
+-install-spc: tex.spc ascii.spc tex.rpl ascii.rpl
++install: install-spc install-charsets
++install-spc: install-dirs tex.spc ascii.spc tex.rpl ascii.rpl
+ $(INSTALL) -m 644 ascii.spc $(installroot)$(LIB_DIR)/ascii$(SPEC_EXT)
+ $(INSTALL) -m 644 tex.spc $(installroot)$(LIB_DIR)/tex$(SPEC_EXT)
+ $(INSTALL) -m 644 ascii.rpl $(installroot)$(LIB_DIR)/ascii$(REPL_EXT)
+ $(INSTALL) -m 644 tex.rpl $(installroot)$(LIB_DIR)/tex$(REPL_EXT)
+-install-charsets:
++install-charsets: install-dirs
+ for i in *.txt; do\
+ $(INSTALL) -m 0644 $$i $(installroot)$(LIB_DIR);\
+ done
+--- a/doc/Makefile.in
++++ b/doc/Makefile.in
+@@ -29,13 +29,13 @@
+ xls2csv.txt xls2csv.ps \
+ wordview.txt wordview.ps build
+ install: @installtargets@
+-install-catdoc: catdoc.1 xls2csv.1 catppt.1
+- ../mkinstalldirs $(installroot)$(mandir)
++install-dirs:
++ ../mkinstalldirs $(installroot)$(mandir)/man1
++install-catdoc: install-dirs catdoc.1 xls2csv.1 catppt.1
+ $(INSTALL) -m 644 catdoc.1 $(installroot)$(mandir)/man1/catdoc.1
+ $(INSTALL) -m 644 xls2csv.1 $(installroot)$(mandir)/man1/xls2csv.1
+ $(INSTALL) -m 644 catppt.1 $(installroot)$(mandir)/man1/catppt.1
+-install-wordview:
+- ../mkinstalldirs $(installroot)$(mandir)
++install-wordview: install-dirs
+ $(INSTALL) -m 644 wordview.1 $(installroot)$(mandir)/man1/wordview.1
+ distclean: clean
+ $(RM) Makefile catdoc.1 xls2csv.1 catppt.1 wordview.1
diff --git a/app-text/catdoc/metadata.xml b/app-text/catdoc/metadata.xml
new file mode 100644
index 000000000000..13170c3184d8
--- /dev/null
+++ b/app-text/catdoc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+</maintainer>
+</pkgmetadata>