svn commit: r507367 - in head/java/javavmwrapper: . src
Greg Lewis
glewis at FreeBSD.org
Fri Jul 26 18:55:52 UTC 2019
Author: glewis
Date: Fri Jul 26 18:55:51 2019
New Revision: 507367
URL: https://svnweb.freebsd.org/changeset/ports/507367
Log:
Update manual pages
* Update currently supported version specifiers.
* Update currently supported vendors.
* Bump minor version.
This is mostly based on the patch in PR 223304.
PR: 223304
Submitted by: Tommy P <tommyhp2 at gmail.com>
Modified:
head/java/javavmwrapper/Makefile
head/java/javavmwrapper/src/javavm.1
head/java/javavmwrapper/src/manvm.1
Modified: head/java/javavmwrapper/Makefile
==============================================================================
--- head/java/javavmwrapper/Makefile Fri Jul 26 18:35:05 2019 (r507366)
+++ head/java/javavmwrapper/Makefile Fri Jul 26 18:55:51 2019 (r507367)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= javavmwrapper
-PORTVERSION= 2.7
+PORTVERSION= 2.7.1
CATEGORIES= java
MASTER_SITES= # none
DISTFILES= # none
Modified: head/java/javavmwrapper/src/javavm.1
==============================================================================
--- head/java/javavmwrapper/src/javavm.1 Fri Jul 26 18:35:05 2019 (r507366)
+++ head/java/javavmwrapper/src/javavm.1 Fri Jul 26 18:55:51 2019 (r507367)
@@ -100,9 +100,8 @@ A space delimited list of Java VM vendors.
The selected Java VM must have been released by one of the vendors in the list.
.Pp
Currently allowed vendors are
-.Ql bsdjava ,
-.Ql freebsd ,
-.Ql openjdk
+.Ql openjdk ,
+.Ql oracle ,
and
.Ql sun .
.It Ev JAVA_VERSION
@@ -113,13 +112,29 @@ to a version, any Java VM with a version greater than
equal to the given version will be used.
.Pp
Currently allowed versions are
-.Ql 1.5 ,
-.Ql 1.5+ ,
.Ql 1.6 ,
.Ql 1.6+ ,
-.Ql 1.7
+.Ql 1.7 ,
+.Ql 1.7+ ,
+.Ql 1.8 ,
+.Ql 1.8+ ,
+.Ql 1.9 ,
+.Ql 1.9+ ,
+.Ql 6 ,
+.Ql 6+ ,
+.Ql 7 ,
+.Ql 7+ ,
+.Ql 8 ,
+.Ql 8+ ,
+.Ql 9 ,
+.Ql 9+ ,
+.Ql 10 ,
+.Ql 10+ ,
+.Ql 11 ,
+.Ql 11+ ,
+.Ql 12 ,
and
-.Ql 1.7+ .
+.Ql 12+ .
.It Ev JAVAVM_OPTS
The contents of this environment variable will be passed to the invoked
Java VM as options.
@@ -179,16 +194,16 @@ Execute the most up to date and
.Dq native
Java VM registered with
.Nm .
-.It Ev JAVA_VERSION=1.5+ Pa %%LOCALBASE%%/bin/javac MyClass.java
+.It Ev JAVA_VERSION=8+ Pa %%LOCALBASE%%/bin/javac MyClass.java
Compile MyClass.java with a registered Java VM's javac that is at least
-version 1.5.
+version 8.
.It Ev JAVA_OS=native Pa %%LOCALBASE%%/bin/java Fl jar Pa MyApp.jar
Execute MyApp with the most up to date native Java VM that is registered
with
.Nm .
This is necessary if MyApp uses JNI, for instance.
-.It Ev JAVA_VERSION="1.5 1.7" Pa %%LOCALBASE%%/bin/java Fl jar Pa MyApp.jar
-Execute MyApp with either a Java VM that is either version 1.5 or version 1.7.
+.It Ev JAVA_VERSION="6 8" Pa %%LOCALBASE%%/bin/java Fl jar Pa MyApp.jar
+Execute MyApp with either a Java VM that is either version 6 or version 8.
.It Ev JAVAVM_DRYRUN=yes Pa %%LOCALBASE%%/bin/java
Don't invoke the Java VM, but print out information about what would have
been done.
Modified: head/java/javavmwrapper/src/manvm.1
==============================================================================
--- head/java/javavmwrapper/src/manvm.1 Fri Jul 26 18:35:05 2019 (r507366)
+++ head/java/javavmwrapper/src/manvm.1 Fri Jul 26 18:55:51 2019 (r507367)
@@ -87,9 +87,8 @@ The on-line manual pages to be displayed must come fro
been released by one of the vendors in the list.
.Pp
Currently allowed vendors are
-.Ql bsdjava ,
-.Ql freebsd ,
-.Ql openjdk
+.Ql openjdk ,
+.Ql oracle ,
and
.Ql sun .
.It Ev JAVA_VERSION
@@ -101,13 +100,29 @@ to a version, the on-line manual pages from any Java V
greater than or equal to the given version will be used.
.Pp
Currently allowed versions are
-.Ql 1.5 ,
-.Ql 1.5+ ,
.Ql 1.6 ,
.Ql 1.6+ ,
-.Ql 1.7
+.Ql 1.7 ,
+.Ql 1.7+ ,
+.Ql 1.8 ,
+.Ql 1.8+ ,
+.Ql 1.9 ,
+.Ql 1.9+ ,
+.Ql 6 ,
+.Ql 6+ ,
+.Ql 7 ,
+.Ql 7+ ,
+.Ql 8 ,
+.Ql 8+ ,
+.Ql 9 ,
+.Ql 9+ ,
+.Ql 10 ,
+.Ql 10+ ,
+.Ql 11 ,
+.Ql 11+ ,
+.Ql 12 ,
and
-.Ql 1.7+ .
+.Ql 12+ .
.It Ev JAVAVM_OPTS
The contents of this environment variable will be passed to the invoked
.Nm man
@@ -125,10 +140,10 @@ programme of the the most up to date and
.Dq native
Java VM registered with
.Nm javavm .
-.It Ev JAVA_VERSION=1.5 Pa %%LOCALBASE%%/bin/manvm javac
+.It Ev JAVA_VERSION=8 Pa %%LOCALBASE%%/bin/manvm javac
Display the on-line manual page for the
.Nm javac
-programme for a Java VM which is version 1.5.
+programme for a Java VM which is version 8.
.El
.Sh SEE ALSO
.Xr javavm 1 ,
More information about the svn-ports-all
mailing list