diff options
author | hq <hq@FreeBSD.org> | 2006-02-14 14:09:59 +0000 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2006-02-14 14:09:59 +0000 |
commit | 487b1196c8b439632c755310d8345e8eca117a61 (patch) | |
tree | 0550fac05fe5dbce03ee7a86398f35091d310ddc /games/ftjava/files | |
parent | 9831ae98cbab51286653f7335caa9a4bd640037f (diff) | |
download | FreeBSD-ports-487b1196c8b439632c755310d8345e8eca117a61.zip FreeBSD-ports-487b1196c8b439632c755310d8345e8eca117a61.tar.gz |
FTJava is a graphical play by email (PBEM) client for Ground Zero Games Full
Thrust. Full Thrust is a minatures based system designed to allow one to play
massive science fiction style fleet battles in a reasonable amount of time.
It emphasizes strategy and fun over rule lawyers and micromanagement.
Authors: Jon Davis
WWW: http://home.nycap.rr.com/davisje/ftjava/index.html (FTJava)
Authors: Jon Tuffley
WWW: http://www.gzg.com (Ground Zero Games)
PR: 93102
Submitted by: Peter Thoenen <eol1@yahoo.com>
Diffstat (limited to 'games/ftjava/files')
-rw-r--r-- | games/ftjava/files/ftjava.sh.in | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/games/ftjava/files/ftjava.sh.in b/games/ftjava/files/ftjava.sh.in new file mode 100644 index 0000000..f80e327 --- /dev/null +++ b/games/ftjava/files/ftjava.sh.in @@ -0,0 +1,40 @@ +#!/bin/sh +# +# $FreeBSD$ + +HOME_DIR=${HOME}/.ftjava +CLASSPATH=".:%%DATADIR%%/xerces.jar:%%DATADIR%%/activation.jar:%%DATADIR%%/mail.jar:/%%DATADIR%%/pop3.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 + +[ ! -d ${HOME_DIR}/fjava ] && \ + mkdir -p ${HOME_DIR}/ftjava + +[ ! -d ${HOME_DIR}/ftjava/gui ] && \ + ln -s %%DATADIR%%/ftjava/gui ${HOME_DIR}/ftjava/gui + +[ ! -d ${HOME_DIR}/ftjava/html ] && \ + ln -s %%DATADIR%%/ftjava/html ${HOME_DIR}/ftjava/html + +[ ! -d ${HOME_DIR}/ftjava/mailman ] && \ + ln -s %%DATADIR%%/ftjava/mailman ${HOME_DIR}/ftjava/mailman + +[ ! -d ${HOME_DIR}/ftjava/std ] && \ + ln -s %%DATADIR%%/ftjava/std ${HOME_DIR}/ftjava/std + +[ ! -d ${HOME_DIR}/ftjava/util ] && \ + ln -s %%DATADIR%%/ftjava/util ${HOME_DIR}/ftjava/util + +cd ${HOME_DIR} && + exec %%LOCALBASE%%/bin/java -cp ${CLASSPATH} ftjava.gui.FTJava "${@}" |