--- /dev/null
+DIST PDFBox-0.7.3.zip 22769102 RMD160 f2ac644ee0195cfc5405bb56548a01de419f5069 SHA1 5e986e2e436cd3d06bc59abd1eb14f3ed7400120 SHA256 5c6f6c87cdbf247ff29d0ce691ab977c2e869070d54cf1bd6305e0fd84e7373d
+EBUILD pdfbox-0.7.3.ebuild 2428 RMD160 542c7c16830f90844c5afa359e433ba489d49d6e SHA1 e7e92c521c66b7b3b2664580781a076c35fc273a SHA256 5d32f5050cea68f3b30b3895efcad46615ee61e7f5d7cadacbd7ecb5e14886ad
+MD5 7184ea2d07d70c6eece09629938ca92d pdfbox-0.7.3.ebuild 2428
+RMD160 542c7c16830f90844c5afa359e433ba489d49d6e pdfbox-0.7.3.ebuild 2428
+SHA256 5d32f5050cea68f3b30b3895efcad46615ee61e7f5d7cadacbd7ecb5e14886ad pdfbox-0.7.3.ebuild 2428
+MISC ChangeLog 354 RMD160 2a976ecdf98931557ec514882bda2a1923393825 SHA1 3b26ab63cf09a2a27a64afd8f15536d4effd9212 SHA256 18513f2570565c1f121e30436b424568abeb64f9a6e14ba06597780393b8aba4
+MD5 acfe64cafceb0d0c7a4f1973f9b6e9d2 ChangeLog 354
+RMD160 2a976ecdf98931557ec514882bda2a1923393825 ChangeLog 354
+SHA256 18513f2570565c1f121e30436b424568abeb64f9a6e14ba06597780393b8aba4 ChangeLog 354
+MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
+SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157
+MD5 ece79d280b17c49baaa5fdb715794b06 files/digest-pdfbox-0.7.3 235
+RMD160 bce0b80ef7fe7be8a93c2449ccf4a12908e27c35 files/digest-pdfbox-0.7.3 235
+SHA256 a548e7a567316433b1829339341270aaf2d972d83f05b796d1f01d5c2cd6ec18 files/digest-pdfbox-0.7.3 235
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/pdfbox/pdfbox-0.7.3.ebuild,v 1.1 2007/04/25 00:23:45 caster Exp $
+
+JAVA_PKG_IUSE="doc source"
+WANT_ANT_TASKS="ant-nodeps"
+inherit java-pkg-2 java-ant-2
+
+MY_PN="PDFBox"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Java library and utilities for working with PDF documents"
+HOMEPAGE="http://www.pdfbox.org"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+CDEPEND="dev-java/fontbox
+ >=dev-java/bcprov-1.32
+ >=dev-java/bcmail-1.32
+ =dev-java/lucene-2*
+ dev-java/ant-core"
+RDEPEND=">=virtual/jre-1.4
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${CDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ rm -v external/*.jar
+ rm -rf docs/javadoc
+
+ # the pdf files used in test cases are not included
+ rm -rf src/test
+
+ cd external
+ java-pkg_jar-from fontbox
+ java-pkg_jar-from bcprov
+ java-pkg_jar-from bcmail
+ java-pkg_jar-from lucene-2
+ java-pkg_jar-from ant-core ant.jar
+}
+
+EANT_BUILD_TARGET="package"
+
+my_launcher() {
+ java-pkg_dolauncher ${1} --main org.pdfbox.${2}
+ echo "${1} -> ${2}" >> ${T}/launcher.list
+}
+
+src_install() {
+ java-pkg_newjar lib/${MY_P}.jar
+
+ my_launcher pdfconvertcolorspace ConvertColorspace
+ my_launcher pdfdecrypt Decrypt
+ my_launcher pdfencrypt Encrypt
+ my_launcher pdfexportfdf ExportFDF
+ my_launcher pdfexportxfdf ExportXFDF
+ my_launcher pdfextractimages ExtractImages
+ my_launcher pdfextracttext ExtractText
+ my_launcher pdfimportfdf ImportFDF
+ my_launcher pdfimportxfdf ImportXFDF
+ my_launcher pdfoverlay Overlay
+ my_launcher pdfdebugger PDFDebugger
+ my_launcher pdfmerger PDFMerger
+ my_launcher pdfreader PDFReader
+ my_launcher pdfsplit PDFSplit
+ my_launcher pdftoimage PDFToImage
+ my_launcher printpdf PrintPDF
+ my_launcher texttopdf TextToPDF
+
+ if use doc; then
+ dohtml -r docs/*
+ java-pkg_dojavadoc website/build/site/javadoc
+ fi
+
+ use source && java-pkg_dosrc src/org
+}
+
+pkg_postinst() {
+ elog "This package installs several command line tools for manipulating"
+ elog "PDF files. Some of their names were changed from upstream to"
+ elog "be less ambigous, and not collide with other packages. For"
+ elog "detailed information refer to the html documentation installed with"
+ elog "USE=doc, or ${HOMEPAGE}"
+
+ while read line
+ do
+ elog ${line}
+ done < ${T}/launcher.list
+}