1 |
commit: 00b9c3878f387fa26b1575f3a0893c6bdac90d81 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 5 20:20:23 2015 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 5 20:20:23 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b9c387 |
7 |
|
8 |
Add back broken version to satisfy dependencies. |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
|
13 |
.../pdfannotextractor-0.1l.ebuild | 52 ++++++++++++++++++++++ |
14 |
1 file changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/dev-tex/pdfannotextractor/pdfannotextractor-0.1l.ebuild b/dev-tex/pdfannotextractor/pdfannotextractor-0.1l.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..3691bb9 |
19 |
--- /dev/null |
20 |
+++ b/dev-tex/pdfannotextractor/pdfannotextractor-0.1l.ebuild |
21 |
@@ -0,0 +1,52 @@ |
22 |
+# Copyright 1999-2013 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI=3 |
27 |
+ |
28 |
+inherit latex-package java-utils-2 java-pkg-2 java-ant-2 eutils |
29 |
+ |
30 |
+DESCRIPTION="Extract annotations from pdf files" |
31 |
+HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/pax/" |
32 |
+SRC_URI="mirror://gentoo/${P}.zip" |
33 |
+ |
34 |
+LICENSE="GPL-2" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" |
37 |
+IUSE="" |
38 |
+ |
39 |
+CDEPEND="virtual/latex-base |
40 |
+ dev-java/pdfbox |
41 |
+ dev-java/fontbox" |
42 |
+DEPEND="${CDEPEND} |
43 |
+ app-arch/unzip |
44 |
+ >=virtual/jdk-1.5" |
45 |
+RDEPEND="${CDEPEND} |
46 |
+ virtual/perl-Getopt-Long |
47 |
+ dev-perl/File-Which |
48 |
+ >=virtual/jre-1.5 |
49 |
+ !<=dev-texlive/texlive-latexextra-2010" |
50 |
+ |
51 |
+TEXMF=/usr/share/texmf-site |
52 |
+S=${WORKDIR} |
53 |
+ |
54 |
+JAVA_ANT_REWRITE_CLASSPATH="true" |
55 |
+EANT_GENTOO_CLASSPATH="pdfbox fontbox" |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ epatch "${FILESDIR}/javajars.patch" |
59 |
+ java-pkg-2_src_prepare |
60 |
+} |
61 |
+ |
62 |
+src_compile() { |
63 |
+ cd "${S}/source/latex/pax" |
64 |
+ eant || die |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ newbin scripts/pax/pdfannotextractor.pl pdfannotextractor || die |
69 |
+ java-pkg_dojar "${S}/source/latex/pax/pax.jar" || die |
70 |
+ insinto ${TEXMF} |
71 |
+ doins -r tex || die |
72 |
+ dodoc doc/latex/pax/README || die |
73 |
+} |