diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-01-12 18:06:11 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-01-12 18:06:11 +0000 |
commit | 2e64d1face5d2ce09e2feaa48788681e44bc74aa (patch) | |
tree | ed141c30e4744a20c5253a261e84d9a5e2d4402b /net-p2p/vuze/files | |
parent | 1. Make clamav-milter write its pidfile. (diff) |
o Update to <bsd.java.mk> standard 2.0
- Install jars under JAVAJARDIR
- Make sure that the wrapper scripts runs the correct
JAVA_{VERSION,OS}
o Bump PORTREVISION due to jar location changes
Diffstat (limited to 'net-p2p/vuze/files')
-rw-r--r-- | net-p2p/vuze/files/azureus | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/net-p2p/vuze/files/azureus b/net-p2p/vuze/files/azureus index d5c0ffaf198b..5871a852c4f8 100644 --- a/net-p2p/vuze/files/azureus +++ b/net-p2p/vuze/files/azureus @@ -2,13 +2,20 @@ # # $FreeBSD$ +export JAVA_VERSION +export JAVA_OS + +# java +JAVA_VERSION="%%JAVA_VERSION%%" +JAVA_OS="%%JAVA_OS%%" + ECLIPSE_BASE=%%LOCALBASE%%/eclipse ECLIPSE_SWT=`find "${ECLIPSE_BASE}" -name '*swt.*' -type d | grep -e "plugins/org.eclipse.swt.[motif|gtk]" | head -n 1` ECLIPSE_WS=`echo "${ECLIPSE_SWT}" | sed -e "s+^${ECLIPSE_BASE}/plugins/org.eclipse.swt.++" -e "s+_.*$++"` ECLIPSE_SWT_JAR=${ECLIPSE_SWT}/ws/${ECLIPSE_WS} LIB_PATH=${ECLIPSE_SWT}/os/freebsd/x86/ -CLASS_PATH=:%%DATADIR%%/Azureus2.jar:${ECLIPSE_SWT_JAR}/swt-mozilla.jar:${ECLIPSE_SWT_JAR}/swt-pi.jar:${ECLIPSE_SWT_JAR}/swt.jar +CLASS_PATH=:%%JAVAJARDIR%%/Azureus2.jar:${ECLIPSE_SWT_JAR}/swt-mozilla.jar:${ECLIPSE_SWT_JAR}/swt-pi.jar:${ECLIPSE_SWT_JAR}/swt.jar if [ "${DEBUG}" ] then @@ -20,4 +27,4 @@ then echo "LIB_PATH = ${LIB_PATH}" fi -"%%JAVA%%" -cp "${CLASS_PATH}" "-Djava.library.path=${LIB_PATH}" "-Dos.name=Linux" org.gudy.azureus2.ui.swt.Main +exec "%%JAVA%%" -cp "${CLASS_PATH}" "-Djava.library.path=${LIB_PATH}" "-Dos.name=Linux" org.gudy.azureus2.ui.swt.Main "${@}" |