1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup select 1.0 |
---|
6 | |
---|
7 | name maven_select |
---|
8 | version 0.3 |
---|
9 | categories sysutils |
---|
10 | platforms darwin |
---|
11 | license BSD |
---|
12 | maintainers yahoo.com:jendave |
---|
13 | supported_archs noarch |
---|
14 | description Switch the default maven version |
---|
15 | long_description maven_select lets you switch the default maven version. \ |
---|
16 | maven_select symlinks the standard maven executable \ |
---|
17 | in the MacPorts prefix to the selected version. |
---|
18 | |
---|
19 | homepage http://svn.macports.org/repository/macports/contrib/select/ |
---|
20 | master_sites ${homepage} |
---|
21 | distname select-${version} |
---|
22 | checksums md5 b24cecd12fc5567e544b25c5df34a255 \ |
---|
23 | sha1 4aa312d7e0b9ede1ef015fcd941ff53a0329127a \ |
---|
24 | rmd160 f121d366cdecc7d5331040abfd153334399d80d5 |
---|
25 | |
---|
26 | configure.args --mandir=${prefix}/share/man --name=maven |
---|
27 | |
---|
28 | |
---|
29 | # install all files |
---|
30 | post-destroot { |
---|
31 | select::install maven ${filespath}/base |
---|
32 | select::install maven ${filespath}/none |
---|
33 | select::install maven ${filespath}/mvn1 |
---|
34 | select::install maven ${filespath}/mvn2 |
---|
35 | select::install maven ${filespath}/mvn3 |
---|
36 | } |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | livecheck.type none |
---|
41 | |
---|