aboutsummaryrefslogtreecommitdiff
path: root/multimedia/projectx/files
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-04-21 12:08:11 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-04-21 12:08:11 +0000
commit9bb19e2c6b0d5b5b8ea562d8a851c3e542a3e407 (patch)
tree0bae78b877f95c6d82f235509e35b96641ffe5f8 /multimedia/projectx/files
parentfd44365e7f7736a4262ef48fbc1b4b2caafb85b1 (diff)
downloadports-9bb19e2c6b0d5b5b8ea562d8a851c3e542a3e407.tar.gz
ports-9bb19e2c6b0d5b5b8ea562d8a851c3e542a3e407.zip
Notes
Diffstat (limited to 'multimedia/projectx/files')
-rw-r--r--multimedia/projectx/files/project-x.sh.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/projectx/files/project-x.sh.in b/multimedia/projectx/files/project-x.sh.in
new file mode 100644
index 000000000000..8ef402d61b5d
--- /dev/null
+++ b/multimedia/projectx/files/project-x.sh.in
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+case "$#" in
+0)
+ mkdir -p "${HOME}/.projectx"
+ cd "${HOME}/.projectx"
+ ln -sf %%PREFIX%%/share/projectx/htmls .
+ ;;
+esac
+
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/ProjectX.jar" "$@"