ObfuscateJS compress your Javascript files. The obfuscator currently removes whitespace and comments. It renames variablenames 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 usage: obfuscatejs {src} {dst} {prefix} WWW: http://tools.2vi.nl/ Generated with FreeBSD Port Tools 0.77
Responsible Changed From-To: freebsd-ports-bugs->hq I'll handle this.
State Changed From-To: open->feedback Could you please review the following modifications? - Set JAVA_VERSION=1.4+ (I tested with 1.1 and 1.3 and the application would not run) - Use javavmwrapper in the launcher shell script so that any suitable JVM can be chosen at runtime - Add quotes in the launcher shell script (especially "$@") - Sort MASTER_SITES so that the official site appears first # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # obfuscatejs # obfuscatejs/Makefile # obfuscatejs/distinfo # obfuscatejs/files # obfuscatejs/files/obfuscatejs.in # obfuscatejs/pkg-descr # obfuscatejs/pkg-plist # echo c - obfuscatejs mkdir -p obfuscatejs > /dev/null 2>&1 echo x - obfuscatejs/Makefile sed 's/^X//' >obfuscatejs/Makefile << 'END-of-obfuscatejs/Makefile' X# New ports collection makefile for: obfuscatejs X# Date created: 2006-04-21 X# Whom: Nicola Vitale <nivit@email.it> X# X# $FreeBSD$ X# X XPORTNAME= obfuscatejs XPORTVERSION= 0.3.1 XCATEGORIES= devel java XMASTER_SITES= http://tools.2vi.nl/ X http://nivi.interfree.it/distfiles/${DIST_SUBDIR}/ XDISTNAME= consyntools XEXTRACT_SUFX= .jar XDIST_SUBDIR= ${PORTNAME}/${PORTVERSION} XEXTRACT_ONLY= X XMAINTAINER= nivit@email.it XCOMMENT= A JavaScript code obfuscator X XRUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper X XNO_BUILD= yes XUSE_JAVA= yes XJAVA_VERSION= 1.4+ X XSUB_FILES= ${PORTNAME} XSUB_LIST= OBFUSCATEJSJAR=${DATADIR}/${OBFUSCATEJSJAR} X XDATADIR= ${JAVASHAREDIR}/${PORTNAME} X XOBFUSCATEJSJAR= ${DISTNAME}${EXTRACT_SUFX} X Xdo-install: X ${MKDIR} ${DATADIR} X ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${OBFUSCATEJSJAR} ${DATADIR} X ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} X X.include <bsd.port.mk> END-of-obfuscatejs/Makefile echo x - obfuscatejs/distinfo sed 's/^X//' >obfuscatejs/distinfo << 'END-of-obfuscatejs/distinfo' XMD5 (obfuscatejs/0.3.1/consyntools.jar) = 4f8f78e0ec6c84dffaccf32b36b02784 XSHA256 (obfuscatejs/0.3.1/consyntools.jar) = 3fc9ca1e67006ce9271449f977e90ae269e1199e7e402bd29cc4a47df70bbada XSIZE (obfuscatejs/0.3.1/consyntools.jar) = 13550 END-of-obfuscatejs/distinfo echo c - obfuscatejs/files mkdir -p obfuscatejs/files > /dev/null 2>&1 echo x - obfuscatejs/files/obfuscatejs.in sed 's/^X//' >obfuscatejs/files/obfuscatejs.in << 'END-of-obfuscatejs/files/obfuscatejs.in' X#!/bin/sh X# $FreeBSD$ XJAVA_VERSION="%%JAVA_VERSION%%" X exec "%%LOCALBASE%%/bin/java" -jar "%%OBFUSCATEJSJAR%%" Obfuscator "$@" END-of-obfuscatejs/files/obfuscatejs.in echo x - obfuscatejs/pkg-descr sed 's/^X//' >obfuscatejs/pkg-descr << 'END-of-obfuscatejs/pkg-descr' XObfuscateJS compress your Javascript files. XThe obfuscator currently removes whitespace and comments. XIt renames variablenames with a local scope to a shorter version, Xand as an advanced option it renames all variables with a certain Xprefix to a shorter name X Xusage: obfuscatejs {src} {dst} {prefix} X XWWW: http://tools.2vi.nl/ END-of-obfuscatejs/pkg-descr echo x - obfuscatejs/pkg-plist sed 's/^X//' >obfuscatejs/pkg-plist << 'END-of-obfuscatejs/pkg-plist' X@comment $FreeBSD$ Xbin/obfuscatejs X%%DATADIR%%/consyntools.jar X@dirrm %%DATADIR%% END-of-obfuscatejs/pkg-plist exit
State Changed From-To: feedback->open Feedback received. Submitter has sent a new version of the port.
State Changed From-To: open->closed New port added. Thanks for your contribution!