freebsd-ports/devel/flex-sdk/files/mxmlc.sh.in

10 lines
298 B
Bash
Raw Normal View History

#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS -jar "$JAVAJARDIR/mxmlc.jar" +flexlib="$DATADIR/frameworks" $*