a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20318 2006-11-01 22:35:15Z blair@macports.org $
PortSystem 1.0
name stax-api
version 1.0
categories java
maintainers jberry@macports.org
platforms darwin
description Base api for StAX parsers, according to jsr173
homepage http://jcp.org/en/jsr/detail?id=173
# I'm hosting StAX-api source on opendarwin server, since it's not
# easilly available for release
master_sites http://www.opendarwin.org/~jberry/hosted/stax-api
checksums md5 8b3aa3c310a96b19090b92ba027eb8fa
depends_build bin:ant:apache-ant
depends_lib bin:java:kaffe
use_configure no
post-patch {
file copy ${filespath}/build.xml ${worksrcpath}
}
build.cmd ant
build.target jar
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java
xinstall -m 644 ${worksrcpath}/dist/${name}.jar \
${destroot}${prefix}/share/java/
}