Skip to content

Commit

Permalink
maven*: add mvnDebug to path and allow switching it via maven_select
Browse files Browse the repository at this point in the history
  • Loading branch information
breun authored and blair committed Jun 3, 2018
1 parent f3f5ddc commit 1e74ff0
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 8 deletions.
5 changes: 3 additions & 2 deletions java/maven2/Portfile
Expand Up @@ -5,7 +5,7 @@ PortGroup select 1.0

name maven2
version 2.2.1
revision 3
revision 4

categories java devel
license Apache-2
Expand All @@ -25,7 +25,7 @@ long_description \
Maven 1.0 and as such is better organized, faster \
and easier to use.

homepage http://maven.apache.org/
homepage https://maven.apache.org/

master_sites apache:maven/binaries
distname apache-maven-${version}-bin
Expand Down Expand Up @@ -83,6 +83,7 @@ destroot {

# Symlink maven into the bin directory
ln -s ../share/java/${name}/bin/mvn ${destroot}${prefix}/bin/mvn2
ln -s ../share/java/${name}/bin/mvnDebug ${destroot}${prefix}/bin/mvnDebug2
}

notes \
Expand Down
1 change: 1 addition & 0 deletions java/maven2/files/maven2
@@ -1 +1,2 @@
bin/mvn2
bin/mvnDebug2
4 changes: 3 additions & 1 deletion java/maven3/Portfile
Expand Up @@ -5,6 +5,7 @@ PortGroup select 1.0

name maven3
version 3.5.3
revision 1

categories java devel
license Apache-2
Expand All @@ -27,7 +28,7 @@ long_description \
pave the way to implement many highly demanded \
features.

homepage http://maven.apache.org/
homepage https://maven.apache.org/

master_sites apache:maven/maven-3/${version}/binaries
distname apache-maven-${version}-bin
Expand Down Expand Up @@ -76,6 +77,7 @@ destroot {

# Symlink maven into the bin directory
ln -s ../share/java/${name}/bin/mvn ${destroot}${prefix}/bin/mvn3
ln -s ../share/java/${name}/bin/mvnDebug ${destroot}${prefix}/bin/mvnDebug3
}

notes \
Expand Down
1 change: 1 addition & 0 deletions java/maven3/files/maven3
@@ -1 +1,2 @@
bin/mvn3
bin/mvnDebug3
5 changes: 3 additions & 2 deletions java/maven31/Portfile
Expand Up @@ -5,7 +5,7 @@ PortGroup select 1.0

name maven31
version 3.1.1
revision 3
revision 4

categories java devel
license Apache-2
Expand All @@ -28,7 +28,7 @@ long_description \
pave the way to implement many highly demanded \
features.

homepage http://maven.apache.org/
homepage https://maven.apache.org/

master_sites apache:maven/maven-3/${version}/binaries
distname apache-maven-${version}-bin
Expand Down Expand Up @@ -91,6 +91,7 @@ destroot {

# Symlink maven into the bin directory
ln -s ../share/java/${maven_dir}/bin/mvn ${destroot}${prefix}/bin/mvn31
ln -s ../share/java/${maven_dir}/bin/mvnDebug ${destroot}${prefix}/bin/mvnDebug31
}

notes \
Expand Down
1 change: 1 addition & 0 deletions java/maven31/files/maven31
@@ -1 +1,2 @@
bin/mvn31
bin/mvnDebug31
5 changes: 3 additions & 2 deletions java/maven32/Portfile
Expand Up @@ -5,7 +5,7 @@ PortGroup select 1.0

name maven32
version 3.2.5
revision 1
revision 2

categories java devel
license Apache-2
Expand All @@ -28,7 +28,7 @@ long_description \
pave the way to implement many highly demanded \
features.

homepage http://maven.apache.org/
homepage https://maven.apache.org/

master_sites apache:maven/maven-3/${version}/binaries
distname apache-maven-${version}-bin
Expand Down Expand Up @@ -90,6 +90,7 @@ destroot {

# Symlink maven into the bin directory
ln -s ../share/java/${name}/bin/mvn ${destroot}${prefix}/bin/mvn32
ln -s ../share/java/${name}/bin/mvnDebug ${destroot}${prefix}/bin/mvnDebug32
}

notes \
Expand Down
1 change: 1 addition & 0 deletions java/maven32/files/maven32
@@ -1 +1,2 @@
bin/mvn32
bin/mvnDebug32
2 changes: 1 addition & 1 deletion sysutils/maven_select/Portfile
Expand Up @@ -3,7 +3,7 @@ PortGroup select 1.0

name maven_select
version 0.3
revision 1
revision 2
categories sysutils
platforms darwin
license BSD
Expand Down
1 change: 1 addition & 0 deletions sysutils/maven_select/files/base
@@ -1 +1,2 @@
bin/mvn
bin/mvnDebug

0 comments on commit 1e74ff0

Please sign in to comment.