forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPortfile
76 lines (62 loc) · 2.22 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name batik
version 1.7
platforms darwin
categories java graphics
maintainers nomaintainer
license Apache-2
supported_archs noarch
description Java SVG Toolkit
long_description Batik is a Java-based toolkit for applications or \
applets that want to use images in the Scalable \
Vector Graphics (SVG) format for various purposes, \
such as display, generation or manipulation.
homepage https://xmlgraphics.apache.org/batik
master_sites http://apache.phphosts.org/xmlgraphics/batik/
distname ${name}-src-${version}
worksrcdir ${name}-${version}
use_zip yes
checksums md5 c117ca2241907f62a2b3031167ebf917 \
sha1 806f57b0200cc755903c2f6f55463f0dd5f6f7d6 \
rmd160 aba34d2e0cecf56ef3c79447bbaae2575c4933a1
depends_build bin:ant:apache-ant
use_configure no
build.cmd ant
build.target jars all-jar
destroot {
xinstall -m 755 -d \
${destroot}${prefix}/share/java/${name} \
${destroot}${prefix}/share/doc/${name}
xinstall -m 644 \
${worksrcpath}/${name}-${version}/batik.jar \
${destroot}${prefix}/share/java/
xinstall -m 644 -W ${worksrcpath}/${name}-${version}/lib \
batik-all.jar \
batik-anim.jar \
batik-awt-util.jar \
batik-bridge.jar \
batik-codec.jar \
batik-css.jar \
batik-dom.jar \
batik-ext.jar \
batik-extension.jar \
batik-gui-util.jar \
batik-gvt.jar \
batik-parser.jar \
batik-script.jar \
batik-svg-dom.jar \
batik-svggen.jar \
batik-swing.jar \
batik-transcoder.jar \
batik-util.jar \
batik-xml.jar \
${destroot}${prefix}/share/java/${name}/
xinstall -m 644 -W ${worksrcpath} \
KEYS \
LICENSE \
MAINTAIN \
NOTICE \
README \
${destroot}${prefix}/share/doc/${name}
}