aboutsummaryrefslogtreecommitdiffstats
path: root/www/closure-compiler/files
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-11-17 17:10:45 +0800
committermiwi <miwi@FreeBSD.org>2009-11-17 17:10:45 +0800
commit84c95e8fa60db264e66c7d7b98cb6b3327aadafd (patch)
treecf854c2c967ef760fb132c803b06d3fdfe282d3e /www/closure-compiler/files
parent3b91eb106f575a5c7a2bcb2323d5d71c6d032ecd (diff)
downloadfreebsd-ports-graphics-84c95e8fa60db264e66c7d7b98cb6b3327aadafd.tar.gz
freebsd-ports-graphics-84c95e8fa60db264e66c7d7b98cb6b3327aadafd.tar.zst
freebsd-ports-graphics-84c95e8fa60db264e66c7d7b98cb6b3327aadafd.zip
Closure Compiler is a JavaScript optimizing compiler. It parses your
JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls. It is used in many of Google's JavaScript apps, including Gmail, Google Web Search, Google Maps, and Google Docs. WWW: http://code.google.com/closure/compiler/ PR: ports/140556 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'www/closure-compiler/files')
-rw-r--r--www/closure-compiler/files/closure-compiler.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/closure-compiler/files/closure-compiler.in b/www/closure-compiler/files/closure-compiler.in
new file mode 100644
index 00000000000..3dc34eb5026
--- /dev/null
+++ b/www/closure-compiler/files/closure-compiler.in
@@ -0,0 +1,5 @@
+#!/bin/sh -f
+
+DATADIR="%%DATADIR%%"
+
+exec %%JAVA%% -jar "${DATADIR}/compiler.jar" $*