mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
6580ac5c67
PR: 116842 Submitted by: Peter Thoenen <peter.thoenen@yahoo.com> (maintainer)
23 lines
603 B
Bash
23 lines
603 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
HOME_DIR=${HOME}/.ftjava
|
|
CLASSPATH=".:%%DATADIR%%/FTJava.jar:%%DATADIR%%/xerces.jar:%%DATADIR%%/activation.jar:%%DATADIR%%/mail.jar"
|
|
export JAVA_VERSION="%%JAVA_VERSION%%"
|
|
|
|
[ ! -d ${HOME_DIR}/OutgoingGames ] && \
|
|
mkdir -p ${HOME_DIR}/OutgoingGames
|
|
|
|
[ ! -d ${HOME_DIR}/IncomingGames ] && \
|
|
mkdir -p ${HOME_DIR}/IncomingGames
|
|
|
|
[ ! -d ${HOME_DIR}/Images ] && \
|
|
ln -s %%DATADIR%%/Images ${HOME_DIR}/Images
|
|
|
|
[ ! -d ${HOME_DIR}/Ships ] && \
|
|
ln -s %%DATADIR%%/Ships ${HOME_DIR}/Ships
|
|
|
|
cd ${HOME_DIR} &&
|
|
exec %%LOCALBASE%%/bin/java -cp ${CLASSPATH} ftjava.gui.FTJava "${@}"
|