1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name jaxen |
---|
6 | version 1.0-FCS |
---|
7 | |
---|
8 | categories java |
---|
9 | maintainers james@jberry.us |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Java XPath Engine. |
---|
13 | long_description The jaxen project is a Java XPath Engine. \ |
---|
14 | jaxen is a universal object model walker, capable of evaluating \ |
---|
15 | XPath expressions across multiple models. |
---|
16 | homepage http://jaxen.org/ |
---|
17 | |
---|
18 | master_sites sourceforge:jaxen/ |
---|
19 | checksums md5 c0baf972b669579aff40ca7fdb9a90d0 |
---|
20 | |
---|
21 | depends_build bin:ant:apache-ant |
---|
22 | depends_lib bin:java:kaffe \ |
---|
23 | lib:XXX:junit \ |
---|
24 | lib:XXX:saxpath \ |
---|
25 | lib:XXX:dom4j |
---|
26 | |
---|
27 | use_configure no |
---|
28 | |
---|
29 | post-extract { |
---|
30 | # But there ain't no MANIFEST there |
---|
31 | reinplace s|manifest="src/conf/MANIFEST.MF"|| ${worksrcpath}/build.xml |
---|
32 | } |
---|
33 | |
---|
34 | set javaLibs ${prefix}/share/java |
---|
35 | set classpath " |
---|
36 | ${javaLibs}/saxpath.jar |
---|
37 | ${javaLibs}/apache-ant/ant.jar |
---|
38 | ${javaLibs}/junit.jar |
---|
39 | ${javaLibs}/xalan.jar |
---|
40 | ${javaLibs}/xml-apis.jar |
---|
41 | ${javaLibs}/dom4j.jar |
---|
42 | " |
---|
43 | |
---|
44 | build.cmd ant |
---|
45 | build.target dist |
---|
46 | build.env CLASSPATH=[join ${classpath} :] |
---|
47 | build.args -Djunit.jar=${prefix}/share/java/junit.jar |
---|
48 | |
---|
49 | destroot { |
---|
50 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
51 | ${destroot}${prefix}/share/doc |
---|
52 | xinstall -m 644 -W ${worksrcpath}/dist/tmp/${distname}/ \ |
---|
53 | jaxen-core.jar \ |
---|
54 | jaxen-dom.jar \ |
---|
55 | jaxen-dom4j.jar \ |
---|
56 | jaxen-full.jar \ |
---|
57 | ${destroot}${prefix}/share/java/ |
---|
58 | file copy ${worksrcpath}/dist/tmp/${distname}/doc \ |
---|
59 | ${destroot}${prefix}/share/doc/${name} |
---|
60 | } |
---|