summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-05-22 22:19:27 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-05-22 22:19:27 +0000
commit4d97ef67796c47912d39dcf8d93df59ba7862d87 (patch)
tree6d2ea6d40b82b42f10489e69cf19931179835a3f /dev-java/pdf-renderer
parentBump to 8.4.4, closes #270644. Ebuild fixups by Andre-Patrick Bubel (diff)
downloadgentoo-2-4d97ef67796c47912d39dcf8d93df59ba7862d87.tar.gz
gentoo-2-4d97ef67796c47912d39dcf8d93df59ba7862d87.tar.bz2
gentoo-2-4d97ef67796c47912d39dcf8d93df59ba7862d87.zip
Add pdf-renderer need for itext rups use flag. Ebuild written by me.
(Portage version: 2.2_rc28/cvs/Linux i686)
Diffstat (limited to 'dev-java/pdf-renderer')
-rw-r--r--dev-java/pdf-renderer/ChangeLog10
-rw-r--r--dev-java/pdf-renderer/metadata.xml5
-rw-r--r--dev-java/pdf-renderer/pdf-renderer-0.20090523.ebuild41
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/pdf-renderer/ChangeLog b/dev-java/pdf-renderer/ChangeLog
new file mode 100644
index 000000000000..ee02e135a8cf
--- /dev/null
+++ b/dev-java/pdf-renderer/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/pdf-renderer
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/pdf-renderer/ChangeLog,v 1.1 2009/05/22 22:19:27 betelgeuse Exp $
+
+*pdf-renderer-0.20090523 (22 May 2009)
+
+ 22 May 2009; Petteri Räty <betelgeuse@gentoo.org>
+ +pdf-renderer-0.20090523.ebuild, +metadata.xml:
+ Add pdf-renderer need for itext rups use flag. Ebuild written by me.
+
diff --git a/dev-java/pdf-renderer/metadata.xml b/dev-java/pdf-renderer/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/pdf-renderer/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/pdf-renderer/pdf-renderer-0.20090523.ebuild b/dev-java/pdf-renderer/pdf-renderer-0.20090523.ebuild
new file mode 100644
index 000000000000..daa2950723f9
--- /dev/null
+++ b/dev-java/pdf-renderer/pdf-renderer-0.20090523.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/pdf-renderer/pdf-renderer-0.20090523.ebuild,v 1.1 2009/05/22 22:19:27 betelgeuse Exp $
+
+EAPI="2"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="a 100% Java PDF renderer and viewer"
+HOMEPAGE="https://pdf-renderer.dev.java.net/"
+# https://pdf-renderer.dev.java.net/demos/latest/PDFRenderer_src.zip
+SRC_URI="mirror://gentoo/${P}.zip"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ ${COMMON_DEP}"
+
+S=${WORKDIR}/PDFRenderer_src
+
+src_compile() {
+ EANT_EXTRA_ARGS="-Dplatforms.JDK_1.5.home=\"${JAVA_HOME}\""
+ java-pkg-2_src_compile
+}
+
+# There is a test target (default from Netbeans)
+# but no junit code
+
+src_install() {
+ java-pkg_dojar dist/*.jar
+ use doc && java-pkg_dojavadoc dist/javadoc
+ use source && java-pkg_dosrc src/com
+}