1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name xmlgraphics-commons |
---|
6 | version 1.4 |
---|
7 | platforms darwin |
---|
8 | maintainers nomaintainer |
---|
9 | categories java graphics |
---|
10 | |
---|
11 | description XML Graphics Commons |
---|
12 | long_description Apache XML Graphics Commons is a library that consists of \ |
---|
13 | several reusable components used by Apache Batik and \ |
---|
14 | Apache FOP. Many of these components can easily be used \ |
---|
15 | separately outside the domains of SVG and XSL-FO. You will \ |
---|
16 | find components such as a PDF library, an RTF library, \ |
---|
17 | Graphics2D implementations that let you generate PDF & \ |
---|
18 | PostScript files, and much more. |
---|
19 | |
---|
20 | homepage http://xmlgraphics.apache.org/commons |
---|
21 | master_sites apache:xmlgraphics/commons/source/ |
---|
22 | |
---|
23 | |
---|
24 | distname ${name}-${version}-src |
---|
25 | worksrcdir ${name}-${version} |
---|
26 | |
---|
27 | checksums md5 d2b56a1671d2ca63480e38acd9629ea7 \ |
---|
28 | sha1 096a179035c0ee12b9570627caccfa181db55b58 \ |
---|
29 | rmd160 a690633f92abf34b314d339fa10ebf839af1cf4c |
---|
30 | |
---|
31 | depends_build bin:ant:apache-ant |
---|
32 | depends_lib port:junit \ |
---|
33 | port:commons-io \ |
---|
34 | port:commons-logging |
---|
35 | use_configure no |
---|
36 | |
---|
37 | build.cmd ant |
---|
38 | build.target all |
---|
39 | |
---|
40 | patchfiles build.xml.diff |
---|
41 | |
---|
42 | destroot { |
---|
43 | xinstall -m 755 -d \ |
---|
44 | ${destroot}${prefix}/share/java \ |
---|
45 | ${destroot}${prefix}/share/doc \ |
---|
46 | ${destroot}${prefix}/share/doc/${name}-${version} |
---|
47 | |
---|
48 | xinstall -m 644 \ |
---|
49 | ${worksrcpath}/build/${name}-${version}.jar \ |
---|
50 | ${destroot}${prefix}/share/java/ |
---|
51 | |
---|
52 | xinstall -m 644 \ |
---|
53 | ${worksrcpath}/KEYS \ |
---|
54 | ${worksrcpath}/LICENSE \ |
---|
55 | ${worksrcpath}/NOTICE \ |
---|
56 | ${worksrcpath}/README \ |
---|
57 | ${destroot}${prefix}/share/doc/${name}-${version} |
---|
58 | |
---|
59 | system "cd ${destroot}${prefix}/share/java/; \ |
---|
60 | ln -s ${name}-${version}.jar ${name}.jar" |
---|
61 | } |
---|