PortSystem 1.0

name			itext
version			1.1
categories		java print
license			{MPL-1.1 LGPL} Apache-1.1
platforms		any
supported_archs	noarch
maintainers		nomaintainer
description		Java library that allows you to generate PDF files on the fly.
long_description	{*}${description}

homepage		http://www.lowagie.com/iText/
master_sites	sourceforge
distname		${name}-src-${version}
checksums		md5 3e8aa3d0b3cd93ac40e88a6e45281210

depends_build	bin:ant:apache-ant
depends_lib		bin:java:kaffe

extract.dir		${worksrcpath}/src

pre-extract	{
	file mkdir ${extract.dir}
	file copy ${filespath}/build.xml ${worksrcpath}
}

use_configure	no

build.cmd		ant
build.target	jar javadoc

destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/share/java/ \
		${destroot}${prefix}/share/doc/
	xinstall -m 644 ${worksrcpath}/dist/iText.jar \
		${destroot}${prefix}/share/java/
	file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
}

# Moved to https://github.com/itext
livecheck.type      none
