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 | |
---|
36 | set classpath [join [list \ |
---|
37 | ${javaLibs}/saxpath.jar \ |
---|
38 | ${javaLibs}/apache-ant/ant.jar \ |
---|
39 | ${javaLibs}/junit.jar \ |
---|
40 | ${javaLibs}/xalan.jar \ |
---|
41 | ${javaLibs}/xml-apis.jar \ |
---|
42 | ${javaLibs}/dom4j.jar \ |
---|
43 | ] :] |
---|
44 | |
---|
45 | build.cmd ant |
---|
46 | build.target dist |
---|
47 | build.env CLASSPATH=${classpath} |
---|
48 | build.args -Djunit.jar=${prefix}/share/java/junit.jar |
---|
49 | |
---|
50 | destroot { |
---|
51 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
52 | ${destroot}${prefix}/share/doc |
---|
53 | xinstall -m 644 -W ${worksrcpath}/dist/tmp/${distname}/ \ |
---|
54 | jaxen-core.jar \ |
---|
55 | jaxen-dom.jar \ |
---|
56 | jaxen-dom4j.jar \ |
---|
57 | jaxen-full.jar \ |
---|
58 | ${destroot}${prefix}/share/java/ |
---|
59 | file copy ${worksrcpath}/dist/tmp/${distname}/doc \ |
---|
60 | ${destroot}${prefix}/share/doc/${name} |
---|
61 | } |
---|