1 | # $Id: Portfile 70583 2010-08-14 13:56:39Z FIXME@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup select 1.0 |
---|
5 | |
---|
6 | name maven_select |
---|
7 | version 0.3 |
---|
8 | categories sysutils |
---|
9 | platforms darwin |
---|
10 | license BSD |
---|
11 | maintainers FIXME |
---|
12 | supported_archs noarch |
---|
13 | description Switch the default maven java build tool |
---|
14 | long_description maven_select lets you switch the default maven java build tool. \ |
---|
15 | maven_select symlinks the standard maven executables \ |
---|
16 | in the MacPorts prefix to the selected version. |
---|
17 | |
---|
18 | homepage http://svn.macports.org/repository/macports/contrib/select/ |
---|
19 | master_sites ${homepage} |
---|
20 | distname select-${version} |
---|
21 | checksums md5 b24cecd12fc5567e544b25c5df34a255 \ |
---|
22 | sha1 4aa312d7e0b9ede1ef015fcd941ff53a0329127a \ |
---|
23 | rmd160 f121d366cdecc7d5331040abfd153334399d80d5 |
---|
24 | |
---|
25 | configure.args --mandir=${prefix}/share/man --name=maven |
---|
26 | |
---|
27 | # install all files |
---|
28 | post-destroot { |
---|
29 | select::install maven ${filespath}/base |
---|
30 | select::install maven ${filespath}/none |
---|
31 | } |
---|
32 | |
---|
33 | platform darwin { |
---|
34 | } |
---|
35 | |
---|
36 | livecheck.type none |
---|
37 | |
---|
38 | # Documentation for maven ports: |
---|
39 | # PortGroup select 1.0 |
---|
40 | # select.group maven |
---|
41 | # select.file ${filespath}/maven[string map {. {}} ${branch}] |
---|