# $Id: Portfile,v 1.1 2005/04/07 11:05:13 mww Exp $

PortSystem 1.0

name			xmlpull
version			1.1.3.4b
categories		java textproc
platforms		darwin
maintainers		mww@opendarwin.org
description		XML pullparser API
long_description	XmlPull v1 API is a simple to use XML pull parsing API \
				that was designed for simplicity and very good performance \
				both in constrained environment such as defined by J2ME and on \
				server side when used in J2EE application servers. XML pull \
				parsing allows incremental (sometimes called streaming) \
				parsing of XML where application is in control - the parsing \
				can be interrupted at any given moment and resumed when \
				application is ready to consume more input.

homepage		http://www.xmlpull.org/
master_sites	${homepage}/v1/download/
distfiles		xmlpull_1_1_3_4b_src.tgz
checksums		md5 14d12d63fb2ff089ee99d884dfa71d1e

worksrcdir		xmlpull_1_1_3_4b

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

use_configure	no

build.cmd		ant
build.target	jar

destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/java
	xinstall -m 644 ${worksrcpath}/build/lib/xmlpull_1_1_3_4b.jar \
		${destroot}${prefix}/share/java/${name}.jar
}
