Updated ebuild to use shipped build.xml and not download the older generic one. Also...
authorWilliam Thomson <wltjr@gentoo.org>
Thu, 7 Dec 2006 22:41:55 +0000 (22:41 +0000)
committerWilliam Thomson <wltjr@gentoo.org>
Thu, 7 Dec 2006 22:41:55 +0000 (22:41 +0000)
Package-Manager: portage-2.1.2_rc2-r4

dev-java/itext/ChangeLog
dev-java/itext/files/digest-itext-1.4.7-r1 [new file with mode: 0644]
dev-java/itext/itext-1.4.7-r1.ebuild [new file with mode: 0644]

index 7a84dfb5a667587b6ad7f5e325254098803bd632..2f611a337c7faf8aad0c8eb6ccaf4abb49378171 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for dev-java/itext
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/ChangeLog,v 1.22 2006/12/04 23:19:40 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/ChangeLog,v 1.23 2006/12/07 22:41:55 wltjr Exp $
+
+*itext-1.4.7-r1 (07 Dec 2006)
+
+  07 Dec 2006; William L. Thomson Jr. <wltjr@gentoo.org>
+  +itext-1.4.7-r1.ebuild:
+  Updated ebuild to use shipped build.xml and not download the older generic
+  one. Also not downloading or installing the addon jars anymore. Fixes bug
+  #157453
 
   04 Dec 2006; William L. Thomson Jr. <wltjr@gentoo.org>
   +itext-1.3.6-r1.ebuild:
diff --git a/dev-java/itext/files/digest-itext-1.4.7-r1 b/dev-java/itext/files/digest-itext-1.4.7-r1
new file mode 100644 (file)
index 0000000..6b4984a
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 db3ee281ccfd965bd83ef5f0d5f93fef itext-src-1.4.7.tar.gz 1199398
+RMD160 63edbd020d9a3fcbb159fccca6bf3467ad5786cc itext-src-1.4.7.tar.gz 1199398
+SHA256 0c160e9ec8879fbe9ef4e6057f3c4d09d9164a36571b46052bc26c8bf818fa8d itext-src-1.4.7.tar.gz 1199398
diff --git a/dev-java/itext/itext-1.4.7-r1.ebuild b/dev-java/itext/itext-1.4.7-r1.ebuild
new file mode 100644 (file)
index 0000000..01160d3
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/itext-1.4.7-r1.ebuild,v 1.1 2006/12/07 22:41:55 wltjr Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A Java library that generate documents in the Portable Document Format (PDF) and/or HTML."
+HOMEPAGE="http://www.lowagie.com/iText/"
+SRC_URI="mirror://sourceforge/itext/${PN}-src-${PV}.tar.gz"
+
+IUSE="doc source"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=virtual/jdk-1.4
+       dev-java/ant-core
+       source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4"
+
+S=${WORKDIR}
+
+src_unpack() {
+       mkdir ${WORKDIR}/src && cd ${WORKDIR}/src
+       unpack ${PN}-src-${PV}.tar.gz
+#      cp ${DISTDIR}/iTextHYPH.jar ${WORKDIR}
+}
+
+src_compile() {
+       cd ${WORKDIR}/src
+       eant jar $(use_doc)
+}
+
+src_install() {
+       java-pkg_dojar build/bin/*
+#      java-pkg_dojar iTextHYPH.jar
+
+       use source && java-pkg_dosrc src/com
+       use doc && java-pkg_dojavadoc build/docs
+}