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 xom
version 1.0
categories java devel textproc
platforms darwin
maintainers jberry@macports.org
description A tree-based API for XML processing
long_description XOM is a new XML object model. It is an open source (LGPL), \
tree-based API for processing XML with Java that strives for \
correctness, simplicity, and performance, in that order.
homepage http://www.xom.nu/
master_sites http://www.cafeconleche.org/XOM/
checksums md5 af472e90685eef0ac1e731eb84a49763
depends_build bin:ant:apache-ant
depends_lib bin:java:kaffe
worksrcdir XOM
use_configure no
build.cmd ant
build.target jar javadoc
build.env ""
build.args ""
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java \
${destroot}${prefix}/share/doc
xinstall -m 644 ${worksrcpath}/build/xom-${version}.jar \
${destroot}${prefix}/share/java/xom.jar
file copy ${worksrcpath}/build/apidocs \
${destroot}${prefix}/share/doc/${name}
}