2004-10-05 10:15:07 +00:00
|
|
|
PortSystem 1.0
|
2012-10-11 00:32:18 +00:00
|
|
|
PortGroup java 1.0
|
2004-10-05 10:15:07 +00:00
|
|
|
|
|
|
|
|
name xercesj
|
2011-11-30 19:07:21 +00:00
|
|
|
version 2.11.0
|
2004-10-05 10:15:07 +00:00
|
|
|
categories java textproc
|
2011-10-17 14:09:29 +00:00
|
|
|
license Apache-2 W3C
|
2010-10-08 23:20:28 +00:00
|
|
|
maintainers nomaintainer
|
2024-01-12 18:47:32 +11:00
|
|
|
platforms any
|
2012-11-30 23:13:54 +00:00
|
|
|
supported_archs noarch
|
2004-10-05 10:15:07 +00:00
|
|
|
|
|
|
|
|
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.
|
2019-07-02 08:06:28 -05:00
|
|
|
homepage https://xerces.apache.org/xerces2-j/
|
2004-10-05 10:15:07 +00:00
|
|
|
|
|
|
|
|
distname Xerces-J-src.${version}
|
|
|
|
|
distfiles ${distname}${extract.suffix} \
|
|
|
|
|
Xerces-J-tools.${version}${extract.suffix}
|
|
|
|
|
|
2011-11-30 19:07:21 +00:00
|
|
|
master_sites apache:xerces/j/
|
2004-10-05 10:15:07 +00:00
|
|
|
checksums ${distname}${extract.suffix} \
|
2011-11-30 19:07:21 +00:00
|
|
|
rmd160 5ae4b52c2907e560aed36cdb146140fd4db05875 \
|
|
|
|
|
sha256 f59a5ef7b51bd883f2e9bda37a9360692e6c5e439b98d9b6ac1953e1f98b0680 \
|
2004-10-05 10:15:07 +00:00
|
|
|
Xerces-J-tools.${version}${extract.suffix} \
|
2011-11-30 19:07:21 +00:00
|
|
|
rmd160 a9469fb48b7ca23cced0bb68d0f424ad8209aed5 \
|
|
|
|
|
sha256 ff9a5e3a12b4bdad5a9238db03ed5a4709831d3e2c13fe53601163c374ad2051
|
2004-10-05 10:15:07 +00:00
|
|
|
|
|
|
|
|
depends_build bin:ant:apache-ant
|
|
|
|
|
depends_lib bin:java:kaffe
|
2011-11-30 19:07:21 +00:00
|
|
|
|
2005-11-18 14:40:30 +00:00
|
|
|
worksrcdir xerces-[string map ". _" $version]
|
2004-10-05 10:15:07 +00:00
|
|
|
set tools tools
|
|
|
|
|
|
2013-05-04 11:05:56 +00:00
|
|
|
patchfiles build.xml.patch \
|
|
|
|
|
patch-src_org_apache_html_dom_HTMLElementImpl.java-add-getContentDocument-DOM2-method.diff
|
|
|
|
|
# See #37217 and https://issues.apache.org/jira/browse/XERCESJ-983?page=all
|
|
|
|
|
# This patch might not be the best way to fix this issue, though.
|
2011-11-30 19:07:21 +00:00
|
|
|
|
2004-10-05 10:15:07 +00:00
|
|
|
use_configure no
|
|
|
|
|
|
|
|
|
|
build.cmd ant
|
|
|
|
|
build.target jars docs javadocs
|
2012-10-11 00:32:18 +00:00
|
|
|
build.env-append CLASSPATH=${tools}/xml-apis.jar:${tools}/xercesImpl.jar:${tools}/bin/xjavac.jar
|
2004-10-05 10:15:07 +00:00
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
}
|
2010-01-01 20:41:25 +00:00
|
|
|
|
2011-09-27 14:19:06 +00:00
|
|
|
livecheck.name Xerces2
|