diff options
author | nivit <nivit@FreeBSD.org> | 2009-08-05 15:52:22 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2009-08-05 15:52:22 +0800 |
commit | 40a22c9f4dc774a71146ff7f85264f8e872b8faf (patch) | |
tree | 88101786b71e14f54901c1cd4c508a253340bbad /www | |
parent | f549893c08d071e291d8d8dd4ee96e359eb1190c (diff) | |
download | freebsd-ports-gnome-40a22c9f4dc774a71146ff7f85264f8e872b8faf.tar.gz freebsd-ports-gnome-40a22c9f4dc774a71146ff7f85264f8e872b8faf.tar.zst freebsd-ports-gnome-40a22c9f4dc774a71146ff7f85264f8e872b8faf.zip |
A Javascript compressor/obfuscator written in Perl
WWW: http://dean.edwards.name/packer/
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/jspacker/Makefile | 42 | ||||
-rw-r--r-- | www/jspacker/distinfo | 3 | ||||
-rw-r--r-- | www/jspacker/files/jspacker.in | 5 | ||||
-rw-r--r-- | www/jspacker/pkg-descr | 3 | ||||
-rw-r--r-- | www/jspacker/pkg-plist | 8 |
6 files changed, 62 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index d3887895c780..8c1064b9c7e7 100644 --- a/www/Makefile +++ b/www/Makefile @@ -318,6 +318,7 @@ SUBDIR += jetty SUBDIR += joomla SUBDIR += joomla15 + SUBDIR += jspacker SUBDIR += jspwiki SUBDIR += jtoolkit SUBDIR += junkbuster diff --git a/www/jspacker/Makefile b/www/jspacker/Makefile new file mode 100644 index 000000000000..33c469c67dd4 --- /dev/null +++ b/www/jspacker/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: jspacker +# Date created: 2009-07-04 +# Whom: Nicola Vitale <nivit@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= jspacker +DISTVERSION= 1.00b +CATEGORIES= www +MASTER_SITES= http://nivi.interfree.it/distfiles/${PORTNAME}/ \ + http://deanedwards.googlecode.com/svn/trunk/download/ +DISTNAME= packer2.perl + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Javascript Compressor/Obfuscator (Perl version) + +JSPACKER= jsPacker.pl + +NO_BUILD= yes +NO_WRKSUBDIR= yes + +USE_PERL5_RUN= yes +USE_ZIP= yes + +SUB_FILES= ${PORTNAME} +SUB_LIST= JSPACKER=${JSPACKER} \ + PERL5=${PERL5} + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} + ${MKDIR} ${DATADIR} && \ + cd ${WRKSRC} && \ + ${INSTALL_DATA} *.pm ${DATADIR} && \ + ${INSTALL_SCRIPT} ${JSPACKER} ${DATADIR} +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} && \ + cd ${WRKSRC} && \ + ${INSTALL_DATA} *.htm ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> diff --git a/www/jspacker/distinfo b/www/jspacker/distinfo new file mode 100644 index 000000000000..ae913840ce9b --- /dev/null +++ b/www/jspacker/distinfo @@ -0,0 +1,3 @@ +MD5 (packer2.perl.zip) = 772ef2b1ce26e285f4ae73515b26dab1 +SHA256 (packer2.perl.zip) = 6d77b25fc6feca72ba92c7cb926c7ba00c9bdb66a3db51d4c297d9e4f9befa9c +SIZE (packer2.perl.zip) = 478775 diff --git a/www/jspacker/files/jspacker.in b/www/jspacker/files/jspacker.in new file mode 100644 index 000000000000..73bf740d78ca --- /dev/null +++ b/www/jspacker/files/jspacker.in @@ -0,0 +1,5 @@ +#!/bin/sh +# +# $FreeBSD$ +# +%%PERL5%% -I%%DATADIR%% %%DATADIR%%/%%JSPACKER%% $@ diff --git a/www/jspacker/pkg-descr b/www/jspacker/pkg-descr new file mode 100644 index 000000000000..7d8dc0bb7923 --- /dev/null +++ b/www/jspacker/pkg-descr @@ -0,0 +1,3 @@ +A Javascript compressor/obfuscator written in Perl + +WWW: http://dean.edwards.name/packer/ diff --git a/www/jspacker/pkg-plist b/www/jspacker/pkg-plist new file mode 100644 index 000000000000..3d9746a6e086 --- /dev/null +++ b/www/jspacker/pkg-plist @@ -0,0 +1,8 @@ +@comment $FreeBSD$ +bin/jspacker +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SamplePacked.htm +%%DATADIR%%/Pack.pm +%%DATADIR%%/ParseMaster.pm +%%DATADIR%%/jsPacker.pl +@dirrm %%DATADIR%% +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |