summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/jpdftweak')
-rw-r--r--app-text/jpdftweak/Manifest1
-rw-r--r--app-text/jpdftweak/jpdftweak-0.9-r1.ebuild42
-rw-r--r--app-text/jpdftweak/metadata.xml18
3 files changed, 61 insertions, 0 deletions
diff --git a/app-text/jpdftweak/Manifest b/app-text/jpdftweak/Manifest
new file mode 100644
index 000000000000..49cd3d3d21a6
--- /dev/null
+++ b/app-text/jpdftweak/Manifest
@@ -0,0 +1 @@
+DIST jpdftweak-src-0.9.zip 129611 SHA256 d909656b87c021f62022ffbd21ce1aaf67b27144fb2ffc5b2313dec2a79388af SHA512 55e68ba13876f2ac24b635af955d3054fed00135f05532625f40a245cc39176398bf6c0bf4a393e9e475604933727a7fdb270b94b38390b8ca9a41447d6652f7 WHIRLPOOL 1e902a0ef5beaac1a856ad0c7e2494bf4735fcc4e653609a39c3c65a078de12306b4868cf6ecab9895ea854e420b04b1f6f70dd77019b23340405117de38affd
diff --git a/app-text/jpdftweak/jpdftweak-0.9-r1.ebuild b/app-text/jpdftweak/jpdftweak-0.9-r1.ebuild
new file mode 100644
index 000000000000..541548b713c3
--- /dev/null
+++ b/app-text/jpdftweak/jpdftweak-0.9-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Swiss Army Knife for PDF files"
+HOMEPAGE="http://jpdftweak.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEPEND="dev-java/itext:0
+ dev-java/jgoodies-forms:0"
+
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEPEND}"
+
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip:0
+ ${COMMON_DEPEND}"
+
+S="${WORKDIR}"
+
+java_prepare() {
+ cd lib || die
+
+ java-pkg_jar-from jgoodies-forms forms.jar
+ java-pkg_jar-from itext iText.jar itext.jar
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+ java-pkg_dolauncher ${PN} --main ${PN}.Main
+
+ dodoc README.txt
+ dohtml manual/*
+}
diff --git a/app-text/jpdftweak/metadata.xml b/app-text/jpdftweak/metadata.xml
new file mode 100644
index 000000000000..554ee22ae343
--- /dev/null
+++ b/app-text/jpdftweak/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription>
+ jPDF Tweak is a Java Swing application that can combine, split, rotate,
+ reorder, watermark, encrypt, sign, and otherwise tweak PDF files.
+
+ You can use it to make printable booklets from your PDFs, to add PDF
+ bookmarks, effects (page transitions), to combine multiple PDF files,
+ to watermark them, to rotate pages that do not fit, to attach files to
+ your PDF, to encrypt and sign your PDFs, to change metadata (like
+ author or keywords), and much more.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">jpdftweak</remote-id>
+ </upstream>
+</pkgmetadata>