commit: 00b9c3878f387fa26b1575f3a0893c6bdac90d81 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> AuthorDate: Sat Dec 5 20:20:23 2015 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Sat Dec 5 20:20:23 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b9c387
Add back broken version to satisfy dependencies. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> .../pdfannotextractor-0.1l.ebuild | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/dev-tex/pdfannotextractor/pdfannotextractor-0.1l.ebuild b/dev-tex/pdfannotextractor/pdfannotextractor-0.1l.ebuild new file mode 100644 index 0000000..3691bb9 --- /dev/null +++ b/dev-tex/pdfannotextractor/pdfannotextractor-0.1l.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit latex-package java-utils-2 java-pkg-2 java-ant-2 eutils + +DESCRIPTION="Extract annotations from pdf files" +HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/pax/" +SRC_URI="mirror://gentoo/${P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" +IUSE="" + +CDEPEND="virtual/latex-base + dev-java/pdfbox + dev-java/fontbox" +DEPEND="${CDEPEND} + app-arch/unzip + >=virtual/jdk-1.5" +RDEPEND="${CDEPEND} + virtual/perl-Getopt-Long + dev-perl/File-Which + >=virtual/jre-1.5 + !<=dev-texlive/texlive-latexextra-2010" + +TEXMF=/usr/share/texmf-site +S=${WORKDIR} + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="pdfbox fontbox" + +src_prepare() { + epatch "${FILESDIR}/javajars.patch" + java-pkg-2_src_prepare +} + +src_compile() { + cd "${S}/source/latex/pax" + eant || die +} + +src_install() { + newbin scripts/pax/pdfannotextractor.pl pdfannotextractor || die + java-pkg_dojar "${S}/source/latex/pax/pax.jar" || die + insinto ${TEXMF} + doins -r tex || die + dodoc doc/latex/pax/README || die +}