1 | PortSystem 1.0 |
---|
2 | |
---|
3 | name xml-commons-resolver |
---|
4 | version 1.1 |
---|
5 | categories java devel |
---|
6 | platforms darwin |
---|
7 | maintainers arankine@gmail.com |
---|
8 | description Java library for XML entity resolution |
---|
9 | long_description It is very common for web resources to be related to other resources. These \ |
---|
10 | relationships are expressed using URIs, most often URLs. Relying on URLs to \ |
---|
11 | directly identify resources to be retrieved often causes problems for end \ |
---|
12 | users. One way to avoid these problems is to use an entity resolver (a standard \ |
---|
13 | part of SAX) or a URI Resolver (a standard part of JAXP). A resolver can examine \ |
---|
14 | the URIs of the resources being requested and determine how best to satisfy \ |
---|
15 | those requests. The best way to make this function in an interoperable way is to \ |
---|
16 | define a standard format for mapping system identifiers and URIs. These "catalog \ |
---|
17 | files" can be used to map public and system identifiers and other URIs to local \ |
---|
18 | files (or just other URIs). The XML Commons Resolver classes greatly simplify \ |
---|
19 | the task of using catalog files to perform entity resolution. |
---|
20 | |
---|
21 | homepage http://xml.apache.org/commons/components/resolver/index.html |
---|
22 | master_sites apache |
---|
23 | master_sites.mirror_subdir xml/commons |
---|
24 | |
---|
25 | checksums md5 deb95bdf88687430445d34e8c11d475e |
---|
26 | |
---|
27 | depends_lib bin:java:kaffe |
---|
28 | depends_build bin:ant:apache-ant |
---|
29 | |
---|
30 | use_configure no |
---|
31 | |
---|
32 | build.cmd ant |
---|
33 | build.args -f resolver.xml |
---|
34 | build.target jar |
---|
35 | |
---|
36 | destroot { |
---|
37 | xinstall -d -m 755 ${destroot}${prefix}/share/java/apache-ant/lib \ |
---|
38 | ${destroot}${prefix}/share/doc |
---|
39 | xinstall -m 644 ${worksrcpath}/resolver.jar \ |
---|
40 | ${destroot}${prefix}/share/java/ |
---|
41 | file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name} |
---|
42 | system "cd ${destroot}${prefix}/share/java/apache-ant/lib/ && \ |
---|
43 | ln -sf ../../resolver.jar" |
---|
44 | } |
---|