summaryrefslogtreecommitdiff
path: root/net/frost/files
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-05-02 08:09:29 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-05-02 08:09:29 +0000
commitbe58583f7b649e27f1509d8cc4e4f079ee255e50 (patch)
tree2f1395b774b497fec4985b4070bc55d4349493fa /net/frost/files
parentAdd a warning about disk space and not to expect building until you type (diff)
New port frost version 1.2: File-sharing tool for FreeNet with
Usenet like forum support
Diffstat (limited to 'net/frost/files')
-rw-r--r--net/frost/files/wrapper.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/frost/files/wrapper.sh b/net/frost/files/wrapper.sh
new file mode 100644
index 000000000000..e4dd1b7628d1
--- /dev/null
+++ b/net/frost/files/wrapper.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+PREFIX="%%PREFIX%%"
+JAVAVM="%%JAVAVM%%"
+JAR_DIR="%%JAR_DIR%%"
+JAR_FILE="%%JAR_FILE%%"
+HOME_DIR=${HOME}/.frost
+
+if [ ! -d ${HOME_DIR} ]
+then
+ mkdir -p ${HOME_DIR}
+fi
+
+cd ${HOME_DIR} &&
+ exec ${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} "${@}"