cvs commit: ports/Mk bsd.java.mk
Herve Quiroz
hq at FreeBSD.org
Sun Feb 27 23:49:33 GMT 2005
hq 2005-02-27 23:49:33 UTC
FreeBSD ports repository
Modified files:
Mk bsd.java.mk
Log:
Add JAVA_VERSION, JAVA_OS and JAVA_VENDOR to SUB_LIST.
NOTE: these are only added if the related variables are defined by the port.
This should ease the configuration of launcher shell scripts used for Java
application ports, when they are using javavmwrapper to invoke a JVM. From now,
a simple launcher that suits most of the Java application ports can be writen
using the following scheme:
#!/bin/sh
JAVA_VERSION="%%JAVA_VERSION%%" \
"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/myport.jar" "$@"
As mentioned above, this is of course only correct provided that the port
defines JAVA_VERSION.
Approved by: glewis (co-maintainer)
Revision Changes Path
1.65 +10 -1 ports/Mk/bsd.java.mk
More information about the cvs-all
mailing list