# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/dev-java/fop/fop-0.20.5_rc2.ebuild,v 1.3 2003/04/06 08:19:27 absinthe Exp $ MY_V=${PV/_/} DESCRIPTION="The next generation of high performance, fully compliant XML parsers in the Apache Xerces family" SRC_URI="http://www.apache.org/dist/xml/fop/fop-${MY_V}-src.tar.gz" HOMEPAGE="http://xml.apache.org/fop/index.html" DEPEND=">=virtual/jdk-1.3 jai ? dev-java/jai" RDEPEND="$DEPEND" LICENSE="Apache-1.1" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc" IUSE="doc jai" S=${WORKDIR}/${P/_/} src_unpack() { unpack ${A} } src_compile() { sh build.sh package || die # Tobias Sager: javadocs build does not work for me! # sh build.sh javadocs } src_install () { dojar build/*.jar # this will add some jar-libs to the share dir of fop # xerces or xalan for example are needed by fop dojar lib/*.jar exeinto /usr/bin doexe ${FILESDIR}/fop if [ -n "`use doc`" ]; then dodoc CHANGES STATUS README LICENSE dohtml ReleaseNotes.html dodir /usr/share/doc/${P} cp -a examples ${D}/usr/share/doc/${P} # dohtml -r build/javadocs fi }