aboutsummaryrefslogtreecommitdiff
path: root/devel/obfuscatejs
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-12 16:07:20 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-12 16:07:20 +0000
commitde68ffab47a0b08b57b1e89efe4d6f18b9f9700f (patch)
tree565f0a81428f8b6f1bd45f39e21bc84f195aaf91 /devel/obfuscatejs
parentc111bdcf6e30afa42c9927463df33bc0449942b5 (diff)
downloadports-de68ffab47a0b08b57b1e89efe4d6f18b9f9700f.tar.gz
ports-de68ffab47a0b08b57b1e89efe4d6f18b9f9700f.zip
Notes
Diffstat (limited to 'devel/obfuscatejs')
-rw-r--r--devel/obfuscatejs/Makefile2
-rw-r--r--devel/obfuscatejs/distinfo6
-rw-r--r--devel/obfuscatejs/files/obfuscatejs.in9
-rw-r--r--devel/obfuscatejs/pkg-descr7
4 files changed, 17 insertions, 7 deletions
diff --git a/devel/obfuscatejs/Makefile b/devel/obfuscatejs/Makefile
index 0ea969e8cd2f..479386d93dcd 100644
--- a/devel/obfuscatejs/Makefile
+++ b/devel/obfuscatejs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= obfuscatejs
-PORTVERSION= 0.3.1
+PORTVERSION= 0.3.2
CATEGORIES= devel java
MASTER_SITES= http://tools.2vi.nl/ \
http://nivi.interfree.it/distfiles/${DIST_SUBDIR}/
diff --git a/devel/obfuscatejs/distinfo b/devel/obfuscatejs/distinfo
index 16e1e21629e3..d7e04bbe954a 100644
--- a/devel/obfuscatejs/distinfo
+++ b/devel/obfuscatejs/distinfo
@@ -1,3 +1,3 @@
-MD5 (obfuscatejs/0.3.1/consyntools.jar) = 4f8f78e0ec6c84dffaccf32b36b02784
-SHA256 (obfuscatejs/0.3.1/consyntools.jar) = 3fc9ca1e67006ce9271449f977e90ae269e1199e7e402bd29cc4a47df70bbada
-SIZE (obfuscatejs/0.3.1/consyntools.jar) = 13550
+MD5 (obfuscatejs/0.3.2/consyntools.jar) = c6193861449b4c2988ab400754edc4b6
+SHA256 (obfuscatejs/0.3.2/consyntools.jar) = a45f24c10dc45ba7be2146d3c6c7cb77d04fe6d9ea9f4b1ea09dd5e97c01ba5a
+SIZE (obfuscatejs/0.3.2/consyntools.jar) = 21640
diff --git a/devel/obfuscatejs/files/obfuscatejs.in b/devel/obfuscatejs/files/obfuscatejs.in
index 13cdfae36141..464892f33e5e 100644
--- a/devel/obfuscatejs/files/obfuscatejs.in
+++ b/devel/obfuscatejs/files/obfuscatejs.in
@@ -1,4 +1,11 @@
#!/bin/sh
# $FreeBSD$
+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%%" Obfuscator "$@"
+ exec "%%LOCALBASE%%/bin/java" -jar "%%OBFUSCATEJSJAR%%" "$@"
+fi
diff --git a/devel/obfuscatejs/pkg-descr b/devel/obfuscatejs/pkg-descr
index bbb220009ea2..c1a6339db5a3 100644
--- a/devel/obfuscatejs/pkg-descr
+++ b/devel/obfuscatejs/pkg-descr
@@ -2,8 +2,11 @@ ObfuscateJS compress your Javascript files.
The obfuscator currently removes whitespace and comments.
It renames variable names with a local scope to a shorter version,
and as an advanced option it renames all variables with a certain
-prefix to a shorter name
+prefix to a shorter name.
-usage: obfuscatejs {src} {dst} {prefix}
+Usage:
+ obfuscatejs Obfuscator {src} {dest} {prefix}
+ obfuscatejs WeightWatch {src}
+ obfuscatejs BuildUtils {srcRootDir} {destDir} {docDir} {headerFile}
WWW: http://tools.2vi.nl/