I created an ebuild for itext (see url: api for PDF creation in java). Everything should be here, and I have had no build issues. The example url is the repackaged source. The source from the website comes as 3 parts. A build.xml for ant, src.tar.gz and srcXML.tar.gz. I have repackaged it as itext-2.02.tar.bz2. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 25311 [details] da ebuild
Created attachment 25312 [details] proper tarball of the source... see comments in bug report for why I repackaged it.
Comments: Use header.txt from $PORTDIR for the first lines. This will always be right and you'll avoid things like getting the copyright date wrong. No need to cd to ${S} in src_compile() and src_install() - that's the default. put packages in DEPEND and RDEPEND on separate lines. it's easier to read. otherwise, pretty nice. ;-)
Created attachment 25416 [details] retouched eclass I retouched the ebuild as suggested.
Created attachment 25417 [details] USE THIS EBUILD I've noticed that I had an error in the test for the J2EE_HOME evar where the test always returns true. I've fixed that, and the header. This ebuild should now be fairly robust.
In portage. Thanks.