#!/bin/sh # # $FreeBSD: /tmp/pcvs/ports/net-p2p/vuze/files/vuze.in,v 1.2 2009-12-01 21:05:21 rnoland Exp $ # java export JAVA_OS="%%JAVA_OS%%" ECLIPSE_BASE=%%LOCALBASE%%/eclipse ECLIPSE_SWT_JAR=%%SWTJAR%% LIB_PATH=%%LIBDIR%% CLASS_PATH=:%%JAVAJARDIR%%/%%JARFILE%%:${ECLIPSE_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 exec "%%JAVA%%" -cp "${CLASS_PATH}" "-Djava.library.path=${LIB_PATH}" "-Dos.name=FreeBSD" "-Dazureus.config.path=${HOME}/.Azureus" "-Duser.dir=${HOME}/.Azureus" org.gudy.azureus2.ui.swt.Main "${@}"