freebsd-ports/net-p2p/azureus2/files/azureus
Herve Quiroz b483613740 Azureus is a java bittorrent client. Azureus offers multiple
torrent downloads, queuing/priority systems (on torrents and
files), start/stop seeding options and instant access to
numerous pieces of information about your torrents. Azureus
now features an embedded tracker easily setup and ready to use.

WWW: http://azureus.sourceforge.com/

PR:		72682
Submitted by:	Jeremy Faulkner <gldisater@gldis.ca>
Reviewed by:	glewis
2004-10-24 01:08:00 +00:00

23 lines
837 B
Bash

#!/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