1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name xercesj |
---|
6 | version 2.6.2 |
---|
7 | set ver2 2_6_2 |
---|
8 | |
---|
9 | categories java |
---|
10 | maintainers james@jberry.us |
---|
11 | platforms darwin |
---|
12 | |
---|
13 | description Apache Xerces 2 Java XML Parser |
---|
14 | long_description The Xerces 2 Java Parser supports XML 1.0 Third Edition\; \ |
---|
15 | XML 1.1\; XML 1.1 Namespaces\; DOM Level 2 \ |
---|
16 | Core, Events, Traversal and Range\; \ |
---|
17 | SAX 2.0.1 Core and Extensions\; JAXP 1.2\; \ |
---|
18 | Schema 1.0 Structure and Datatypes. |
---|
19 | homepage http://xml.apache.org/xerces-j/ |
---|
20 | |
---|
21 | distname Xerces-J-src.${version} |
---|
22 | distfiles ${distname}${extract.suffix} \ |
---|
23 | Xerces-J-tools.${version}${extract.suffix} |
---|
24 | |
---|
25 | master_sites apache:xml/xerces-j/ |
---|
26 | checksums ${distname}${extract.suffix} md5 cfd536b8d72f8ebe3465ae35f5e3775d \ |
---|
27 | Xerces-J-tools.${version}${extract.suffix} md5 55ba4b71ae95acf7d50c4bc0d796ee76 |
---|
28 | |
---|
29 | depends_build bin:ant:apache-ant |
---|
30 | depends_lib bin:java:kaffe |
---|
31 | |
---|
32 | worksrcdir xerces-${ver2} |
---|
33 | set tools tools |
---|
34 | |
---|
35 | use_configure no |
---|
36 | |
---|
37 | build.cmd ant |
---|
38 | build.target jars docs javadocs |
---|
39 | build.env CLASSPATH=${tools}/xml-apis.jar:${tools}/xercesImpl.jar:${tools}/bin/xjavac.jar |
---|
40 | |
---|
41 | post-extract { |
---|
42 | file rename ${workpath}/tools ${worksrcpath}/ |
---|
43 | } |
---|
44 | |
---|
45 | destroot { |
---|
46 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
47 | ${destroot}${prefix}/share/doc |
---|
48 | xinstall -m 644 \ |
---|
49 | ${worksrcpath}/build/xml-apis.jar \ |
---|
50 | ${worksrcpath}/build/xercesImpl.jar \ |
---|
51 | ${destroot}${prefix}/share/java/ |
---|
52 | file copy ${worksrcpath}/build/docs ${destroot}${prefix}/share/doc/${name} |
---|
53 | } |
---|