diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2004-10-24 01:08:00 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2004-10-24 01:08:00 +0000 |
commit | b483613740a0a448a3fdd2424ca61e2fc04d0b1c (patch) | |
tree | acadf49ce2505b50adc1eaf5c85d1ad89cfbdccd /net-p2p/vuze/files | |
parent | 10ff18612d59dfb50f62f698ff16e63829cba52b (diff) | |
download | ports-b483613740a0a448a3fdd2424ca61e2fc04d0b1c.tar.gz ports-b483613740a0a448a3fdd2424ca61e2fc04d0b1c.zip |
Notes
Diffstat (limited to 'net-p2p/vuze/files')
-rw-r--r-- | net-p2p/vuze/files/azureus | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-p2p/vuze/files/azureus b/net-p2p/vuze/files/azureus new file mode 100644 index 000000000000..6fe4c562acc1 --- /dev/null +++ b/net-p2p/vuze/files/azureus @@ -0,0 +1,23 @@ +#!/bin/sh +# +# $FreeBSD$ + +ECLIPSE_BASE=%%LOCALBASE%%/eclipse +ECLIPSE_SWT=`find "${ECLIPSE_BASE}" -name '*swt.*' -type d | grep -e "plugins/org.eclipse.swt" | 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 + +if [ "${DEBUG}" ] +then + echo "ECLIPSE_BASE = ${ECLIPSE_BASE}" + echo "ECLIPSE_WS = ${ECLIPSE_WS}" + echo "ECLIPSE_SWT = ${ECLIPSE_SWT}" + echo "ECLIPSE_SWT_JAR = ${ECLIPSE_SWT_JAR}" + echo "CLASS_PATH = ${CLASS_PATH}" + echo "LIB_PATH = ${LIB_PATH}" +fi + +"%%JAVA%%" -cp "${CLASS_PATH}" "-Djava.library.path=${LIB_PATH}" org.gudy.azureus2.ui.swt.Main |