1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name commons-validator |
---|
6 | version 1.1.3 |
---|
7 | |
---|
8 | categories java |
---|
9 | maintainers james@jberry.us |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Jakarta Commons-Validator |
---|
13 | long_description The commons-validator package provides a simple, extendable \ |
---|
14 | framework to define validators (validation methods) and validation \ |
---|
15 | rules in an xml file. There is support for internationalization of \ |
---|
16 | validation rules and error messages. |
---|
17 | homepage http://jakarta.apache.org/commons/validator/ |
---|
18 | |
---|
19 | distname ${name}-${version}-src |
---|
20 | master_sites apache:jakarta/commons/validator/source/ |
---|
21 | checksums md5 a24f8612138427019269af37148b590d |
---|
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-beanutils \ |
---|
28 | lib:XXX:commons-collections \ |
---|
29 | lib:XXX:commons-digester \ |
---|
30 | lib:XXX:jakarta-oro |
---|
31 | |
---|
32 | use_configure no |
---|
33 | |
---|
34 | worksrcdir ${name}-${version} |
---|
35 | |
---|
36 | post-extract { |
---|
37 | system "touch ${worksrcpath}/RELEASE-NOTES.readme" |
---|
38 | } |
---|
39 | |
---|
40 | build.cmd ant |
---|
41 | build.target dist |
---|
42 | build.args -Dconf.home=${filespath}/conf \ |
---|
43 | -Djunit.jar=${prefix}/share/java/junit.jar \ |
---|
44 | -Dcommons-logging.jar=${prefix}/share/java/commons-logging.jar \ |
---|
45 | -Dcommons-beanutils.jar=${prefix}/share/java/commons-beanutils.jar \ |
---|
46 | -Dcommons-collections.jar=${prefix}/share/java/commons-collections.jar \ |
---|
47 | -Dcommons-digester.jar=${prefix}/share/java/commons-digester.jar \ |
---|
48 | -Doro.jar=${prefix}/share/java/jakarta-oro.jar |
---|
49 | |
---|
50 | destroot { |
---|
51 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
52 | ${destroot}${prefix}/share/doc |
---|
53 | xinstall -m 644 \ |
---|
54 | ${worksrcpath}/dist/${name}.jar \ |
---|
55 | ${destroot}${prefix}/share/java/ |
---|
56 | file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name} |
---|
57 | } |
---|