summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-07-27 13:26:07 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-07-27 13:26:07 +0000
commitf17a5a1cfbe7ec42a90157ad886fb3bc8ae7884a (patch)
treecaf20c92bafb7d2b5b9264b7952be8e8fdaa2d81 /dev-tex
parentppc/ppc64 stable wrt #376529 (diff)
downloadgentoo-2-f17a5a1cfbe7ec42a90157ad886fb3bc8ae7884a.tar.gz
gentoo-2-f17a5a1cfbe7ec42a90157ad886fb3bc8ae7884a.tar.bz2
gentoo-2-f17a5a1cfbe7ec42a90157ad886fb3bc8ae7884a.zip
version bump
(Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/pdfannotextractor/ChangeLog8
-rw-r--r--dev-tex/pdfannotextractor/pdfannotextractor-0.1k.ebuild52
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-tex/pdfannotextractor/ChangeLog b/dev-tex/pdfannotextractor/ChangeLog
index f3e2c5bba75e..d5fd65f824b6 100644
--- a/dev-tex/pdfannotextractor/ChangeLog
+++ b/dev-tex/pdfannotextractor/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-tex/pdfannotextractor
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdfannotextractor/ChangeLog,v 1.3 2011/03/18 19:49:24 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdfannotextractor/ChangeLog,v 1.4 2011/07/27 13:26:07 aballier Exp $
+
+*pdfannotextractor-0.1k (27 Jul 2011)
+
+ 27 Jul 2011; Alexis Ballier <aballier@gentoo.org>
+ +pdfannotextractor-0.1k.ebuild:
+ version bump
18 Mar 2011; Thomas Kahle <tomka@gentoo.org> pdfannotextractor-0.1i.ebuild:
~x86 per bug 355353
diff --git a/dev-tex/pdfannotextractor/pdfannotextractor-0.1k.ebuild b/dev-tex/pdfannotextractor/pdfannotextractor-0.1k.ebuild
new file mode 100644
index 000000000000..2c56793a7fab
--- /dev/null
+++ b/dev-tex/pdfannotextractor/pdfannotextractor-0.1k.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdfannotextractor/pdfannotextractor-0.1k.ebuild,v 1.1 2011/07/27 13:26:07 aballier Exp $
+
+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"
+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
+}