RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/devel/apache-ant/Portfile,v
retrieving revision 1.9
diff -u -r1.9 Portfile
|
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | name apache-ant |
5 | | version 1.5.3 |
| 5 | version 1.5.3-1 |
6 | 6 | categories devel |
7 | 7 | maintainers sean@fuzzymagic.com |
8 | 8 | description Java opensource build system |
… |
… |
|
10 | 10 | make without make's wrinkles. Ant uses XML build files that defines \ |
11 | 11 | a set of targets. Each target has dependencies (other targets) and \ |
12 | 12 | contains a set of tasks to perform. |
13 | | homepage http://jakarta.apache.org/ant/ |
| 13 | homepage http://ant.apache.org/ |
14 | 14 | |
15 | 15 | platforms darwin freebsd |
16 | | master_sites http://www.apache.org/dist/ant/source/ |
| 16 | master_sites http://apache.ttlhost.com/ant/source/ \ |
| 17 | http://apache.mirrors.pair.com/ant/source/ \ |
| 18 | http://www.apache.org/dist/ant/source/ |
17 | 19 | distname ${name}-${version}-src |
18 | 20 | worksrcdir ${name}-${version} |
19 | | checksums md5 38fff50776a39a7c42516cf464889656 |
| 21 | checksums md5 dc29c2aa1a5a24b7ede0198bde5f9da7 |
20 | 22 | set antdir java/${name} |
21 | 23 | set instdir ${prefix}/${antdir} |
22 | 24 | set chmodarg -Dchmod.fail=false |
… |
… |
|
33 | 35 | system "cd ${worksrcpath}; cp -R ${name} ${path}" |
34 | 36 | system "rm ${path}${name}/bin/*.bat" |
35 | 37 | system "chmod -R ugo+r ${path}${name}" |
36 | | system "ln -fs ${path}${name}/bin/ant ${destroot}${prefix}/bin/ant" |
| 38 | system "cd ${destroot} && |
| 39 | ln -fs ${prefix}/java/${name}/bin/ant ${prefix}/bin/ant" |
37 | 40 | } |
38 | 41 | |
39 | 42 | variant darwin { |