aboutsummaryrefslogtreecommitdiff
path: root/devel/flex-sdk/files/aasdoc.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'devel/flex-sdk/files/aasdoc.sh.in')
-rw-r--r--devel/flex-sdk/files/aasdoc.sh.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/devel/flex-sdk/files/aasdoc.sh.in b/devel/flex-sdk/files/aasdoc.sh.in
new file mode 100644
index 000000000000..0fce54443b0e
--- /dev/null
+++ b/devel/flex-sdk/files/aasdoc.sh.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
+[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
+[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
+
+VMARGS="-Xmx1024m -Dsun.io.useCanonCaches=false -Xbootclasspath/p:$JAVAJARDIR/xalan.jar"
+
+java $VMARGS -classpath "$JAVAJARDIR/asdoc.jar" flex2.tools.ASDoc +flexlib="$DATADIR/frameworks" +configname=air $*