1 | ? work |
---|
2 | Index: Portfile |
---|
3 | =================================================================== |
---|
4 | RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/java/jaxen/Portfile,v |
---|
5 | retrieving revision 1.2 |
---|
6 | diff -u -r1.2 Portfile |
---|
7 | --- Portfile 31 Aug 2004 21:01:36 -0000 1.2 |
---|
8 | +++ Portfile 11 Oct 2004 20:08:25 -0000 |
---|
9 | @@ -3,38 +3,59 @@ |
---|
10 | PortSystem 1.0 |
---|
11 | |
---|
12 | name jaxen |
---|
13 | -version 1.0 |
---|
14 | -revision 1 |
---|
15 | +version 1.0-FCS |
---|
16 | +revision 2 |
---|
17 | categories java devel textproc |
---|
18 | -platforms darwin |
---|
19 | -maintainers mww@opendarwin.org |
---|
20 | -description Java XPath engine |
---|
21 | + |
---|
22 | +platforms darwin |
---|
23 | +maintainers mww@opendarwin.org |
---|
24 | +description Java XPath engine |
---|
25 | long_description The jaxen project is a Java XPath Engine. jaxen is a \ |
---|
26 | - universal object model walker, capable of evaluating \ |
---|
27 | - XPath expressions across multiple models. Currently \ |
---|
28 | - supported are dom4j and JDOM. |
---|
29 | - |
---|
30 | -homepage http://www.jaxen.org/ |
---|
31 | -master_sites sourceforge |
---|
32 | -distname ${distname}-FCS |
---|
33 | -checksums md5 c0baf972b669579aff40ca7fdb9a90d0 |
---|
34 | - |
---|
35 | -depends_build bin:ant:apache-ant |
---|
36 | -depends_lib bin:java:kaffe \ |
---|
37 | - lib:XXX:saxpath |
---|
38 | - |
---|
39 | -use_configure no |
---|
40 | - |
---|
41 | -build.env CLASSPATH=${prefix}/share/java/saxpath.jar |
---|
42 | -build.cmd ant |
---|
43 | -build.target jars |
---|
44 | + universal object model walker, capable of evaluating \ |
---|
45 | + XPath expressions across multiple models. Currently \ |
---|
46 | + supported are dom4j and JDOM. |
---|
47 | +homepage http://www.jaxen.org/ |
---|
48 | + |
---|
49 | +master_sites sourceforge:jaxen/ |
---|
50 | +checksums md5 c0baf972b669579aff40ca7fdb9a90d0 |
---|
51 | + |
---|
52 | +depends_build bin:ant:apache-ant |
---|
53 | +depends_lib bin:java:kaffe \ |
---|
54 | + lib:XXX:junit \ |
---|
55 | + lib:XXX:saxpath \ |
---|
56 | + lib:XXX:dom4j |
---|
57 | + |
---|
58 | +use_configure no |
---|
59 | + |
---|
60 | +post-extract { |
---|
61 | + # But there ain't no MANIFEST there |
---|
62 | + reinplace s|manifest="src/conf/MANIFEST.MF"|| ${worksrcpath}/build.xml |
---|
63 | +} |
---|
64 | + |
---|
65 | +set javaLibs ${prefix}/share/java |
---|
66 | +set classpath " |
---|
67 | + ${javaLibs}/saxpath.jar |
---|
68 | + ${javaLibs}/apache-ant/ant.jar |
---|
69 | + ${javaLibs}/junit.jar |
---|
70 | + ${javaLibs}/xalan.jar |
---|
71 | + ${javaLibs}/xml-apis.jar |
---|
72 | + ${javaLibs}/dom4j.jar |
---|
73 | + " |
---|
74 | + |
---|
75 | +build.cmd ant |
---|
76 | +build.target dist |
---|
77 | +build.env CLASSPATH=[join ${classpath} :] |
---|
78 | +build.args -Djunit.jar=${prefix}/share/java/junit.jar |
---|
79 | |
---|
80 | -destroot { |
---|
81 | +destroot { |
---|
82 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
83 | ${destroot}${prefix}/share/doc |
---|
84 | - xinstall -m 644 ${worksrcpath}/build/jaxen-core.jar \ |
---|
85 | - ${destroot}${prefix}/share/java/jaxen-core.jar |
---|
86 | - xinstall -m 644 ${worksrcpath}/build/jaxen-dom.jar \ |
---|
87 | - ${destroot}${prefix}/share/java/jaxen-dom.jar |
---|
88 | - file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} |
---|
89 | + xinstall -m 644 -W ${worksrcpath}/dist/tmp/${distname}/ \ |
---|
90 | + jaxen-core.jar \ |
---|
91 | + jaxen-dom.jar \ |
---|
92 | + jaxen-dom4j.jar \ |
---|
93 | + jaxen-full.jar \ |
---|
94 | + ${destroot}${prefix}/share/java/ |
---|
95 | + file copy ${worksrcpath}/dist/tmp/${distname}/doc \ |
---|
96 | + ${destroot}${prefix}/share/doc/${name} |
---|
97 | } |
---|