source: trunk/dports/devel/maven-ant-tasks/Portfile

Last change on this file was 138746, checked in by khindenburg@…, 2 years ago

maven-ant-tasks: fix livecheck #48377

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 138746 2015-07-18 01:20:31Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                maven-ant-tasks
6version             2.1.3
7categories          devel java
8maintainers         nomaintainer
9license             Apache-2
10description         Use many of Maven's artifact handling features from Ant.
11long_description    ${description}
12homepage            http://maven.apache.org/ant-tasks/
13platforms           darwin
14depends_build       port:maven2
15
16use_zip             yes
17master_sites        http://www.apache.org/dist/maven/source/
18extract.suffix      -src${extract.suffix}
19checksums           md5     ae62c0c7f811f3f7fc60ad91a8b0b822 \
20                    rmd160  21f093f0115f81c5530145fe52c6094c606d2ddf \
21                    sha256  3b838f089adff04f59e54d3e453d4d9e364d927fd258e53fa029388f3abd71b4
22
23use_configure       no
24
25build.env-append    HOME=${workpath}/home
26build.cmd           mvn2
27build.target        package
28
29destroot {
30    set jarfile ${name}.jar
31    set jardir ${destroot}${prefix}/share/java
32
33    move ${worksrcpath}/target/${name}-${version}.jar \
34        ${worksrcpath}/target/${jarfile}
35
36    xinstall -m 0755 -d ${jardir}
37    xinstall -m 0644 ${worksrcpath}/target/${jarfile} ${jardir}
38}
39
40livecheck.type      regex
41livecheck.url       ${homepage}download.html
42livecheck.regex     ${name}-(2\\.\[0-9.\]+).jar
Note: See TracBrowser for help on using the repository browser.