diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2004-12-31 11:14:19 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2004-12-31 11:14:19 +0000 |
commit | d4530ab3b645105655cf11ef0bc87fe8a6540bc3 (patch) | |
tree | 5c40e6e43e7dca1884fa2a52ff7fe660ec79e2a6 /net/frost/files | |
parent | Fixed MASTER_SITE_SUBDIR. (diff) |
o Update to <bsd.java.mk> standard 2.0
o Bump PORTREVISION due to jar location changes
Prompted by: hq
Diffstat (limited to 'net/frost/files')
-rw-r--r-- | net/frost/files/wrapper.sh | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/net/frost/files/wrapper.sh b/net/frost/files/wrapper.sh index b65c91b447e6..f6e7bd2044af 100644 --- a/net/frost/files/wrapper.sh +++ b/net/frost/files/wrapper.sh @@ -7,7 +7,7 @@ JAVA_VERSION="%%JAVA_VERSION%%" JAVAVM="%%JAVAVM%%" JAR_DIR="%%JAR_DIR%%" JAR_FILE="%%JAR_FILE%%" -SHARE_DIR="%%SHARE_DIR%%" +DATADIR="%%DATADIR%%" HOME_DIR=${HOME}/.frost CLASSPATH="${PREFIX}/${JAR_DIR}/BCastle.jar:${PREFIX}/${JAR_DIR}/fecImpl.jar:${PREFIX}/${JAR_DIR}/frost.jar:${PREFIX}/${JAR_DIR}/genChkImpl.jar:${PREFIX}/${JAR_DIR}/jocache.jar:${PREFIX}/${JAR_DIR}/mailapi.jar:${PREFIX}/${JAR_DIR}/skinlf.jar:${PREFIX}/${JAR_DIR}/skinlfFix.jar:${PREFIX}/${JAR_DIR}/smtp.jar:${PREFIX}/${JAR_DIR}/xercesImpl.jar:${PREFIX}/${JAR_DIR}/xml-apis.jar:$CLASSPATH" @@ -16,20 +16,15 @@ then mkdir -p ${HOME_DIR}/config fi -if [ ! -e ${HOME_DIR}/config/boards.xml.default ] -then - cp ${PREFIX}/${SHARE_DIR}/boards.xml.default ${HOME_DIR}/config/ -fi +ln -sf ${PREFIX}/${DATADIR}/boards.xml.default \ + ${HOME_DIR}/config/boards.xml.default if [ ! -d ${HOME_DIR}/themes ] then mkdir -p ${HOME_DIR}/themes fi -if [ ! -e ${HOME_DIR}/themes/themepack.zip ] -then - cp ${PREFIX}/${SHARE_DIR}/themepack.zip ${HOME_DIR}/themes/ -fi +ln -sf ${PREFIX}/${DATADIR}/themepack.zip ${HOME_DIR}/themes/themepack.zip cd ${HOME_DIR} && exec ${JAVAVM} -cp $CLASSPATH frost.frost "${@}" |