a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name saxpath
version 1.0
categories java devel textproc
platforms darwin
maintainers nomaintainer@macports.org
description simple Java API for XPath
long_description The SAXPath project is a Simple API for XPath. SAXPath \
is analogous to SAX in that the API abstracts away the \
details of parsing and provides a simple event based \
callback interface.
homepage http://saxpath.sourceforge.net/
master_sites sourceforge
checksums md5 cc95ecc7dfb689a29bd42323490ee702
depends_build bin:ant:apache-ant
depends_lib bin:java:kaffe
set worksrcdir ${worksrcdir}-FCS
post-extract {
file mkdir ${worksrcpath}/src/conf
file copy ${filespath}/MANIFEST.MF ${worksrcpath}/src/conf
}
use_configure no
build.cmd ant
build.target package
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java \
${destroot}${prefix}/share/doc
xinstall -m 644 ${worksrcpath}/build/saxpath.jar \
${destroot}${prefix}/share/java/
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
}