Changeset 79255


Ignore:
Timestamp:
Jun 7, 2011, 3:08:59 AM (8 years ago)
Author:
jmr@…
Message:

update maven ports to recommend 'port select' (see #27946)

Location:
trunk/dports
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/maven2/Portfile

    r75113 r79255  
    3636                rmd160 25d523d3dc86cf4695b0e343cf0f6e58ea8a54e3
    3737
    38 depends_lib     port:maven_select
     38depends_run     port:maven_select
    3939depends_build   bin:java:kaffe
    4040
     
    8686}
    8787
    88 post-activate {
    89    ui_msg "\nTo fully complete your installation and make maven $version the default, please run
    90 \n\tsudo maven_select $name\n"
    91 }
     88notes \
     89"To make maven $version the default, please run
     90\tsudo port select --set ${select.group} $name"
    9291
    9392livecheck.type  regex
  • trunk/dports/java/maven3/Portfile

    r77366 r79255  
    3636                rmd160 f222733f32badab75c11e0ed3fbca2e594de7328
    3737
    38 depends_lib     port:maven_select
     38depends_run     port:maven_select
    3939depends_build   bin:java:kaffe
    4040
     
    8989}
    9090
    91 post-activate {
    92    ui_msg "\nTo fully complete your installation and make maven $version the default, please run
    93 \n\tsudo maven_select $name\n"
    94 }
     91notes \
     92"To make maven $version the default, please run
     93\tsudo port select --set ${select.group} $name"
    9594
    9695livecheck.type  regex
  • trunk/dports/sysutils/maven_select/Portfile

    r75111 r79255  
    66name                    maven_select
    77version                 0.3
     8revision                1
    89categories              sysutils
    910platforms               darwin
     
    1112maintainers             blair openmaintainer
    1213supported_archs         noarch
    13 description             Switch the default Maven java build tool
    14 long_description        maven_select lets you switch the default Maven \
    15                         Java build tool and symlinks the standard Maven \
    16                         executables in the MacPorts prefix to the selected \
    17                         version.
     14description             common files for selecting default Maven version
     15long_description        This port installs files that allow 'port select' to \
     16                        be used to create links to the preferred default \
     17                        version of the Maven Java build tool.
    1818
    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
     19homepage                http://www.macports.org/
     20distfiles
    2521
    26 configure.args          --mandir=${prefix}/share/man --name=maven
    27 
     22use_configure           no
     23build                   {}
    2824# install all files
    29 post-destroot {
     25destroot {
    3026        select::install maven ${filespath}/base
    3127        select::install maven ${filespath}/none
    32 }
    33 
    34 platform darwin {
    3528}
    3629
Note: See TracChangeset for help on using the changeset viewer.