1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name mx4j |
---|
6 | version 2.0.1 |
---|
7 | |
---|
8 | categories java |
---|
9 | maintainers james@jberry.us |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Open Source JMX for Enterprise Computing. |
---|
13 | long_description MX4J is a project to build an Open Source implementation of the \ |
---|
14 | Java(TM) Management Extensions (JMX) and of the JMX Remote API \ |
---|
15 | (JSR 160) specifications, and to build tools relating to JMX. |
---|
16 | homepage http://mx4j.sourceforge.net/ |
---|
17 | |
---|
18 | distname ${name}-${version}-src |
---|
19 | master_sites sourceforge:mx4j/ |
---|
20 | checksums md5 c158ad005a01ea2a7b1e794947502b2d |
---|
21 | |
---|
22 | depends_build bin:ant:apache-ant |
---|
23 | depends_lib bin:java:kaffe \ |
---|
24 | lib:XXX:junit \ |
---|
25 | lib:XXX:jakarta-bcel \ |
---|
26 | lib:XXX:jakarta-log4j \ |
---|
27 | lib:XXX:commons-logging |
---|
28 | |
---|
29 | use_configure no |
---|
30 | |
---|
31 | worksrcdir build |
---|
32 | |
---|
33 | build.cmd ant |
---|
34 | build.target compile.jmx compile.rjmx |
---|
35 | build.args |
---|
36 | |
---|
37 | post-extract { |
---|
38 | file link -symbolic ${workpath}/lib/jakarta-bcel.jar ${prefix}/share/java/jakarta-bcel.jar |
---|
39 | file link -symbolic ${workpath}/lib/jakarta-log4j.jar ${prefix}/share/java/jakarta-log4j.jar |
---|
40 | file link -symbolic ${workpath}/lib/commons-logging.jar ${prefix}/share/java/commons-logging.jar |
---|
41 | } |
---|
42 | |
---|
43 | destroot { |
---|
44 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
45 | ${destroot}${prefix}/share/doc |
---|
46 | xinstall -m 644 \ |
---|
47 | ${workpath}/dist/lib/mx4j.jar \ |
---|
48 | ${workpath}/dist/lib/mx4j-jmx.jar \ |
---|
49 | ${workpath}/dist/lib/mx4j-impl.jar \ |
---|
50 | ${workpath}/dist/lib/mx4j-remote.jar \ |
---|
51 | ${workpath}/dist/lib/mx4j-rimpl.jar \ |
---|
52 | ${workpath}/dist/lib/mx4j-rjmx.jar \ |
---|
53 | ${destroot}${prefix}/share/java/ |
---|
54 | } |
---|