1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name maven-ant-tasks |
---|
6 | version 2.0.10 |
---|
7 | revision 1 |
---|
8 | categories devel java |
---|
9 | maintainers gmail.com:ian.eure |
---|
10 | description Use many of Maven's artifact handling features from Ant. |
---|
11 | long_description ${description} |
---|
12 | homepage http://maven.apache.org/ant-tasks/ |
---|
13 | platforms darwin |
---|
14 | depends_build port:maven2 |
---|
15 | |
---|
16 | master_sites http://www.apache.org/dist/maven/source/ |
---|
17 | distname ${name}-${version}-src |
---|
18 | extract.suffix .tar.gz |
---|
19 | checksums md5 8733ce0e1058f651c74022f9a0803435 |
---|
20 | worksrcdir ${name}-${version} |
---|
21 | |
---|
22 | use_configure no |
---|
23 | |
---|
24 | build.cmd mvn |
---|
25 | build.target package |
---|
26 | |
---|
27 | destroot { |
---|
28 | set jarfile ${name}.jar |
---|
29 | set jardir ${destroot}${prefix}/share/java |
---|
30 | |
---|
31 | move ${worksrcpath}/target/${name}-${version}.jar \ |
---|
32 | ${worksrcpath}/target/${jarfile} |
---|
33 | |
---|
34 | xinstall -m 0755 -d ${jardir} |
---|
35 | xinstall -m 0644 ${worksrcpath}/target/${jarfile} ${jardir} |
---|
36 | } |
---|