#!/bin/sh # $FreeBSD: ports/devel/obfuscatejs/files/obfuscatejs.in,v 1.2 2006/07/12 16:07:20 rafan Exp $ if [ "$1" != "Obfuscator" -a "$1" != "WeightWatch" -a "$1" != "BuildUtils" ]; then echo "Usage:" echo "obfuscatejs Obfuscator {src} {dest} {prefix}" echo "obfuscatejs WeightWatch {src}" echo "obfuscatejs BuildUtils {srcRootDir} {destDir} {docDir} {headerFile}" else JAVA_VERSION="%%JAVA_VERSION%%" \ exec "%%LOCALBASE%%/bin/java" -jar "%%OBFUSCATEJSJAR%%" "$@" fi