# $Id: Portfile 87703 2011-12-01 22:03:31Z jmr@macports.org $ PortSystem 1.0 name xalanj version 2.7.1 categories java textproc license Apache-2 Apache-1.1 W3C MIT maintainers nomaintainer platforms darwin description Apache Xerces 2 Java XML Parser long_description Xalan-Java is an XSLT processor for transforming XML documents \ into HTML, text, or other XML document types. It implements \ XSL Transformations (XSLT) Version 1.0 and XML Path Language \ (XPath) Version 1.0. It can be used from the command line, \ in an applet or a servlet, or as a module in other program. homepage http://xml.apache.org/xalan-j/ set ver2 [string map ". _" $version] distname xalan-j_${ver2}-src master_sites apache:xml/xalan-j/source/ checksums md5 fc805051f0fe505c7a4b1b5c8db9b9e3 \ sha1 dfaac3bd3e18a8961c27b3d07b7405bd8a15d64a \ rmd160 021c239122b6b3d0bc9781abd9675c7cb5951b13 depends_build bin:ant:apache-ant depends_lib bin:java:kaffe depends_run port:xercesj worksrcdir xalan-j_${ver2} patchfiles build.xml.diff use_configure no build.cmd ant build.target all docs javadocs destroot { xinstall -d ${destroot}${prefix}/share/java \ ${destroot}${prefix}/share/doc xinstall -m 644 \ ${worksrcpath}/build/xalan.jar \ ${worksrcpath}/build/serializer.jar \ ${destroot}${prefix}/share/java/ file copy ${worksrcpath}/build/docs ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.url ${homepage}whatsnew.html livecheck.regex {Version (\d+(?:\.\d+)*)}