1 | # $Id: Portfile,v 1.1 2004/02/16 14:53:07 olegb Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name commons-beanutils |
---|
6 | version 1.7.0 |
---|
7 | |
---|
8 | categories java |
---|
9 | maintainers james@jberry.us |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Jakarta Commons-BeanUtils |
---|
13 | long_description Commons-BeanUtils provides easy-to-use wrappers around the Java \ |
---|
14 | reflection and introspection APIs. |
---|
15 | homepage http://jakarta.apache.org/commons/beanutils/ |
---|
16 | |
---|
17 | distfiles ${distname}-src${extract.suffix} |
---|
18 | |
---|
19 | master_sites apache:jakarta/commons/beanutils/source/ |
---|
20 | |
---|
21 | checksums md5 3fd5cbdf70363b151de5cd538f726e67 |
---|
22 | |
---|
23 | depends_build bin:ant:apache-ant |
---|
24 | depends_lib bin:java:kaffe \ |
---|
25 | lib:XXX:junit \ |
---|
26 | lib:XXX:commons-logging \ |
---|
27 | lib:XXX:commons-collections |
---|
28 | |
---|
29 | worksrcdir ${distname}-src |
---|
30 | |
---|
31 | use_configure no |
---|
32 | |
---|
33 | build.cmd ant |
---|
34 | build.target jar javadoc |
---|
35 | build.args -Dcommons-collections.jar=${prefix}/share/java/commons-collections.jar \ |
---|
36 | -Dcommons-logging.jar=${prefix}/share/java/commons-logging.jar \ |
---|
37 | -Djunit.jar=${prefix}/share/java/junit.jar |
---|
38 | |
---|
39 | destroot { |
---|
40 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
41 | ${destroot}${prefix}/share/doc |
---|
42 | xinstall -m 644 \ |
---|
43 | ${worksrcpath}/dist/commons-beanutils-core.jar \ |
---|
44 | ${worksrcpath}/dist/commons-beanutils.jar \ |
---|
45 | ${destroot}${prefix}/share/java/ |
---|
46 | file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name} |
---|
47 | } |
---|