# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-www/tomcat/tomcat-4.0.6.ebuild,v 1.1 2002/10/15 03:29:46 blizzy Exp $ S=${WORKDIR}/jakarta-${P} DESCRIPTION="Apache Servlet Engine" SRC_URI="http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v${PV}/bin/jakarta-tomcat-${PV}.tar.gz" HOMEPAGE="http://jakarta.apache.org/tomcat" KEYWORDS="x86 ppc sparc sparc64 alpha" LICENSE="Apache-1.1" SLOT="0" DEPEND=">=virtual/jdk-1.2" RDEPEND="${DEPEND}" src_install() { dodir /opt/jakarta/tomcat dodir /opt/jakarta/tomcat/logs touch ${D}/opt/jakarta/tomcat/logs/.keep dodoc RELEASE-NOTES-* README.txt RUNNING.txt LICENSE cp -Rdp bin common conf lib server webapps work ${D}/opt/jakarta/tomcat dodir /etc/env.d insinto /etc/env.d doins ${FILESDIR}/21tomcat }