# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="XML documentation framework providing XSLT resources" HOMEPAGE="http://xml.apache.org/forrest" SRC_URI="http://xml.apache.org/forrest/dist/source/apache-forrest-${PV}-src.tar.gz" LICENSE="Apache-1.1" SLOT="0" # This is a Java package, and should work on all platforms KEYWORDS="~x86 ~ppc ~sparc ~alpha" IUSE="javac" # # This is according to the documentation. # It has been tested with blackdown-jdk-1.4.1 # TODO: test with ibm-jdk-1.4.1 and sun-jdk-1.4.3 DEPEND=">=virtual/jre-1.2 >=virtual/jdk-1.2" # The package is called forrest, the tarball and directories # are apache-forrest S=${WORKDIR}/apache-forrest-${PV}-src MYDIR=/usr/local/forrest src_compile() { cd ${S} sh build.sh || die } src_install() { einfo "Installing to ${MYDIR}" dodir ${MYDIR} cp -rf ${S}/build/dist/shbat/* ${D}/${MYDIR} } pkg_postinst() { einfo "you should add FORREST_HOME to your PATH" }