# $Id: Portfile,v 1.4 2004/10/29 14:21:26 jberry Exp $

PortSystem 1.0

name				servlet23-api
version				0.20041007

categories			java
maintainers			jberry@opendarwin.org
platforms			darwin

description			Java Servlet 2.3 and JSP 1.2 API.
long_description	Java Servlet API 2.3 and JSP API 1.2. \
					The Java Servlet and JavaServer Pages specifications \
					are developed by Sun under the Java Community Process. \
					This project provides the servlet and jsp apis from Tomcat4.
homepage			http://jakarta.apache.org/tomcat/

distname			jakarta-servletapi-4-src-20041009
master_sites		opendarwin \
					http://cvs.apache.org/builds/jakarta-servletapi-4/nightly/src/
checksums			md5 5fa2e4915fcb757699564c25cd43c76b

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

use_configure		no

worksrcdir			jakarta-servletapi-4

build.cmd			ant
build.target		dist
build.args			

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