# $Id: Portfile,v 1.3 2005/11/18 14:40:30 jberry Exp $ PortSystem 1.0 name xercesj version 2.7.1 categories java textproc maintainers jberry@opendarwin.org platforms darwin description Apache Xerces 2 Java XML Parser long_description The Xerces 2 Java Parser supports XML 1.0 Third Edition\; \ XML 1.1\; XML 1.1 Namespaces\; DOM Level 2 \ Core, Events, Traversal and Range\; \ SAX 2.0.1 Core and Extensions\; JAXP 1.2\; \ Schema 1.0 Structure and Datatypes. homepage http://xml.apache.org/xerces-j/ distname Xerces-J-src.${version} distfiles ${distname}${extract.suffix} \ Xerces-J-tools.${version}${extract.suffix} master_sites apache:xml/xerces-j/ checksums ${distname}${extract.suffix} \ md5 487701cad13bcf87cec21ed2d782ca45 \ Xerces-J-tools.${version}${extract.suffix} \ md5 62848744d8277b597f073fdfecd35967 depends_build bin:ant:apache-ant depends_lib bin:java:kaffe worksrcdir xerces-[string map ". _" $version] set tools tools use_configure no build.cmd ant build.target jars docs javadocs build.env CLASSPATH=${tools}/xml-apis.jar:${tools}/xercesImpl.jar:${tools}/bin/xjavac.jar post-extract { file rename ${workpath}/tools ${worksrcpath}/ } destroot { xinstall -m 755 -d ${destroot}${prefix}/share/java \ ${destroot}${prefix}/share/doc xinstall -m 644 \ ${worksrcpath}/build/xml-apis.jar \ ${worksrcpath}/build/xercesImpl.jar \ ${destroot}${prefix}/share/java/ file copy ${worksrcpath}/build/docs ${destroot}${prefix}/share/doc/${name} }