Ticket #27947: Portfile-maven3-maven_select.diff
File Portfile-maven3-maven_select.diff, 941 bytes (added by nhojpatrick (John Patrick), 14 years ago) |
---|
-
Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup select 1.0 5 6 6 7 name maven3 7 8 version 3.0.1 … … 39 40 use_configure no 40 41 universal_variant no 41 42 43 select.group maven 44 select.file ${filespath}/${name} 45 42 46 # Source builds of maven are not possible. So, the default build is a binary 43 47 # install of the jars. 44 48 build.cmd true … … 83 87 system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${name}/bin/mvn mvn3" 84 88 } 85 89 90 post-activate { 91 ui_msg "\nTo fully complete your installation and make maven $version the default, please run 92 \n\tsudo port install maven_select \ 93 \n\tsudo maven_select $name\n" 94 } 95 86 96 livecheck.type regex 87 97 livecheck.url ${homepage}download.html 88 98 livecheck.regex apache-maven-(\[0-9.\]+)-bin\\.tar