mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
7b565af856
PR: 106227 Submitted by: "Robert C. Noland III" <rnoland@2hip.net> Approved by: maintainer timeout
29 lines
712 B
Bash
29 lines
712 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
export JAVA_VERSION
|
|
export JAVA_OS
|
|
|
|
# java
|
|
JAVA_VERSION="%%JAVA_VERSION%%"
|
|
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 "${@}"
|