Ticket #26625: Portfile.2

File Portfile.2, 2.5 KB (added by radovan@…, 14 years ago)
Line 
1# $Id$
2
3PortSystem                      1.0
4
5name                            batik
6version                         1.7
7platforms                       darwin
8maintainers                     nomaintainer
9categories                      java graphics
10
11description                     Java SVG Toolkit
12long_description        Batik is a Java-based toolkit for applications or \
13                                        applets that want to use images in the Scalable \
14                                        Vector Graphics (SVG) format for various purposes, \
15                                        such as display, generation or manipulation.
16
17homepage                        http://xmlgraphics.apache.org/batik
18
19master_sites            http://apache.phphosts.org/xmlgraphics/batik/
20distname                        ${name}-src-${version}
21worksrcdir                      ${name}-${version}
22
23checksums                       md5             c117ca2241907f62a2b3031167ebf917 \
24                                        sha1    806f57b0200cc755903c2f6f55463f0dd5f6f7d6 \
25                                        rmd160  aba34d2e0cecf56ef3c79447bbaae2575c4933a1
26
27depends_build           bin:ant:apache-ant
28use_configure           no
29use_zip                         yes
30
31build.cmd                       ant
32build.target            jars all-jar
33
34universal_variant       no
35
36destroot {
37        xinstall -m 755 -d \
38                ${destroot}${prefix}/share/java \
39                ${destroot}${prefix}/share/doc \
40                ${destroot}${prefix}/share/java/${name} \
41                ${destroot}${prefix}/share/doc/${name}-${version}
42
43    xinstall -m 644 \
44                ${worksrcpath}/${name}-${version}/batik.jar \
45                ${destroot}${prefix}/share/java/
46
47    xinstall -m 644 \
48                ${worksrcpath}/${name}-${version}/lib/batik-all.jar \
49                ${worksrcpath}/${name}-${version}/lib/batik-anim.jar \
50                ${worksrcpath}/${name}-${version}/lib/batik-awt-util.jar \
51                ${worksrcpath}/${name}-${version}/lib/batik-bridge.jar \
52                ${worksrcpath}/${name}-${version}/lib/batik-codec.jar \
53                ${worksrcpath}/${name}-${version}/lib/batik-css.jar \
54                ${worksrcpath}/${name}-${version}/lib/batik-dom.jar \
55                ${worksrcpath}/${name}-${version}/lib/batik-ext.jar \
56                ${worksrcpath}/${name}-${version}/lib/batik-extension.jar \
57                ${worksrcpath}/${name}-${version}/lib/batik-gui-util.jar \
58                ${worksrcpath}/${name}-${version}/lib/batik-gvt.jar \
59                ${worksrcpath}/${name}-${version}/lib/batik-parser.jar \
60                ${worksrcpath}/${name}-${version}/lib/batik-script.jar \
61                ${worksrcpath}/${name}-${version}/lib/batik-svg-dom.jar \
62                ${worksrcpath}/${name}-${version}/lib/batik-svggen.jar \
63                ${worksrcpath}/${name}-${version}/lib/batik-swing.jar \
64                ${worksrcpath}/${name}-${version}/lib/batik-transcoder.jar \
65                ${worksrcpath}/${name}-${version}/lib/batik-util.jar \
66                ${worksrcpath}/${name}-${version}/lib/batik-xml.jar \
67        ${destroot}${prefix}/share/java/${name}/
68
69        xinstall -m 644 \
70                ${worksrcpath}/KEYS \
71                ${worksrcpath}/LICENSE \
72                ${worksrcpath}/MAINTAIN \
73                ${worksrcpath}/NOTICE \
74                ${worksrcpath}/README \
75                ${destroot}${prefix}/share/doc/${name}-${version}
76}