From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 1 13:50:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04B1A1065682 for ; Thu, 1 May 2008 13:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CB0E48FC24 for ; Thu, 1 May 2008 13:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m41Do1JF047403 for ; Thu, 1 May 2008 13:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m41Do1KF047402; Thu, 1 May 2008 13:50:01 GMT (envelope-from gnats) Resent-Date: Thu, 1 May 2008 13:50:01 GMT Resent-Message-Id: <200805011350.m41Do1KF047402@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Greg Larkin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49A1F106567B for ; Thu, 1 May 2008 13:45:26 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 220418FC1A for ; Thu, 1 May 2008 13:45:25 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com ([68.189.244.97] helo=Gregory-Larkins-Computer.local) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JrZ6B-000AcG-1c; Thu, 01 May 2008 09:45:24 -0400 Received: from fbsd70.localdomain (v100.entropy.prv [192.168.1.100]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id 74C301E5BFD3; Thu, 1 May 2008 09:45:23 -0400 (EDT) Received: from fbsd70.localdomain (localhost [127.0.0.1]) by fbsd70.localdomain (8.14.2/8.14.2) with ESMTP id m41DjEVf029707; Thu, 1 May 2008 09:45:14 -0400 (EDT) (envelope-from glarkin@fbsd70.localdomain) Received: (from root@localhost) by fbsd70.localdomain (8.14.2/8.14.2/Submit) id m41DjEGo029706; Thu, 1 May 2008 09:45:14 -0400 (EDT) (envelope-from glarkin) Message-Id: <200805011345.m41DjEGo029706@fbsd70.localdomain> Date: Thu, 1 May 2008 09:45:14 -0400 (EDT) From: Greg Larkin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: glarkin@sourcehosting.net Subject: ports/123298: [NEW PORT] www/dojo-shrinksafe: A Javascript code compressor X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 13:50:02 -0000 >Number: 123298 >Category: ports >Synopsis: [NEW PORT] www/dojo-shrinksafe: A Javascript code compressor >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 01 13:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Greg Larkin >Release: FreeBSD 7.0-RELEASE i386 >Organization: SourceHosting.net, LLC >Environment: System: FreeBSD fbsd70.localdomain 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >Description: The Dojo Toolkit's compressor, ShrinkSafe, uses the Rhino JavaScript interpreter to safely rename variables and reduce the size of your scripts without interferring with their operation. It does not change any public APIs making it easy to use in your JavaScript development process. WWW: http://dojotoolkit.org/docs/shrinksafe/ - Credit should be given to skv@FreeBSD.org for his www/yuicompressor Makefile that I used as a basis for this Makefile. - NOTE: portlint warns about using a hyphen in PORTNAME, but this isn't a special version of www/dojo, but a completely different tool. If PKGNAMESUFFIX should be used anyway, let me know, and I'll update the Makefile. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- dojo-shrinksafe-1.1.0.shar begins here --- # 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: # # dojo-shrinksafe # dojo-shrinksafe/Makefile # dojo-shrinksafe/pkg-descr # dojo-shrinksafe/distinfo # dojo-shrinksafe/files # dojo-shrinksafe/files/dojo-shrinksafe.in # dojo-shrinksafe/pkg-message # echo c - dojo-shrinksafe mkdir -p dojo-shrinksafe > /dev/null 2>&1 echo x - dojo-shrinksafe/Makefile sed 's/^X//' >dojo-shrinksafe/Makefile << 'END-of-dojo-shrinksafe/Makefile' X# New ports collection makefile for: dojo-shrinksafe X# Date created: 2008-05-01 X# Whom: Greg Larkin X# X# $FreeBSD$ X# X XPORTNAME= dojo-shrinksafe XPORTVERSION= 1.1.0 XCATEGORIES= www java XMASTER_SITES= http://download.dojotoolkit.org/release-${PORTVERSION}/ \ X LOCAL/beech XDISTNAME= dojo-release-${PORTVERSION}-shrinksafe X XMAINTAINER= glarkin@sourcehosting.net XCOMMENT= A Javascript code compressor X XUSE_JAVA= yes XJAVA_VERSION= 1.4+ XNO_BUILD= yes X XPLIST_FILES= bin/dojo-shrinksafe %%DATADIR%%/custom_rhino.jar XPLIST_DIRS= %%DATADIR%% XSUB_FILES= dojo-shrinksafe X X.include X Xdo-install: X @${MKDIR} ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/custom_rhino.jar ${DATADIR} X ${INSTALL_SCRIPT} ${WRKDIR}/dojo-shrinksafe ${PREFIX}/bin X @${CAT} pkg-message X X.include END-of-dojo-shrinksafe/Makefile echo x - dojo-shrinksafe/pkg-descr sed 's/^X//' >dojo-shrinksafe/pkg-descr << 'END-of-dojo-shrinksafe/pkg-descr' XThe Dojo Toolkit's compressor, ShrinkSafe, uses the Rhino JavaScript Xinterpreter to safely rename variables and reduce the size of your Xscripts without interferring with their operation. It does not Xchange any public APIs making it easy to use in your JavaScript Xdevelopment process. X XWWW: http://dojotoolkit.org/docs/shrinksafe/ END-of-dojo-shrinksafe/pkg-descr echo x - dojo-shrinksafe/distinfo sed 's/^X//' >dojo-shrinksafe/distinfo << 'END-of-dojo-shrinksafe/distinfo' XMD5 (dojo-release-1.1.0-shrinksafe.tar.gz) = 2704351fd623493a82861798484009e8 XSHA256 (dojo-release-1.1.0-shrinksafe.tar.gz) = ff3811286dad0256e2625d413d2218f94a57e2c8763b8cf5fbf38ae6197592c2 XSIZE (dojo-release-1.1.0-shrinksafe.tar.gz) = 799117 END-of-dojo-shrinksafe/distinfo echo c - dojo-shrinksafe/files mkdir -p dojo-shrinksafe/files > /dev/null 2>&1 echo x - dojo-shrinksafe/files/dojo-shrinksafe.in sed 's/^X//' >dojo-shrinksafe/files/dojo-shrinksafe.in << 'END-of-dojo-shrinksafe/files/dojo-shrinksafe.in' X#!/bin/sh XJAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java -jar %%DATADIR%%/custom_rhino.jar $@ END-of-dojo-shrinksafe/files/dojo-shrinksafe.in echo x - dojo-shrinksafe/pkg-message sed 's/^X//' >dojo-shrinksafe/pkg-message << 'END-of-dojo-shrinksafe/pkg-message' X X********************************************************************* XYou have just installed the Dojo Toolkit Shrinksafe, a XJavascript code compressor. X XFull documentation with usage examples is found at Xhttp://dojotoolkit.org/docs/shrinksafe/. END-of-dojo-shrinksafe/pkg-message exit --- dojo-shrinksafe-1.1.0.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: