diff options
author | swills <swills@FreeBSD.org> | 2011-08-14 06:32:54 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2011-08-14 06:32:54 +0800 |
commit | d2c9c232d25ce5e1808da618eaf728c85649d5d8 (patch) | |
tree | c89e83a5506819339574a58431ea09493c687a72 /textproc | |
parent | 23b70923f5900c23c9b50130e571919a44af049f (diff) | |
download | freebsd-ports-gnome-d2c9c232d25ce5e1808da618eaf728c85649d5d8.tar.gz freebsd-ports-gnome-d2c9c232d25ce5e1808da618eaf728c85649d5d8.tar.zst freebsd-ports-gnome-d2c9c232d25ce5e1808da618eaf728c85649d5d8.zip |
Strip whitespace and comments from JavaScript code
WWW: http://search.cpan.org/dist/JavaScript-Minifier
PR: ports/159632
Submitted by: Kurt Lidl <kurt.lidl@cello.com>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-JavaScript-Minifier/Makefile | 22 | ||||
-rw-r--r-- | textproc/p5-JavaScript-Minifier/distinfo | 2 | ||||
-rw-r--r-- | textproc/p5-JavaScript-Minifier/pkg-descr | 3 | ||||
-rw-r--r-- | textproc/p5-JavaScript-Minifier/pkg-plist | 5 |
5 files changed, 33 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 06b99f77caaf..dad4e352ccdd 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -520,6 +520,7 @@ SUBDIR += p5-Hatena-Keyword SUBDIR += p5-IDNA-Punycode SUBDIR += p5-IO-CSVHeaderFile + SUBDIR += p5-JavaScript-Minifier SUBDIR += p5-JavaScript-Minifier-XS SUBDIR += p5-JavaScript-Packer SUBDIR += p5-KinoSearch diff --git a/textproc/p5-JavaScript-Minifier/Makefile b/textproc/p5-JavaScript-Minifier/Makefile new file mode 100644 index 000000000000..992b7dfe5345 --- /dev/null +++ b/textproc/p5-JavaScript-Minifier/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-JavaScript-Minifier +# Date created: 2011-08-03 +# Whom: Kurt Lidl <kurt.lidl@cello.com> +# +# $FreeBSD$ +# + +PORTNAME= JavaScript-Minifier +PORTVERSION= 1.05 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:PMICHAUX +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= JavaScript whitespace/comment eliminator + +PERL_CONFIGURE= yes + +MAN3= JavaScript::Minifier.3 + +.include <bsd.port.mk> diff --git a/textproc/p5-JavaScript-Minifier/distinfo b/textproc/p5-JavaScript-Minifier/distinfo new file mode 100644 index 000000000000..169e9fcabd06 --- /dev/null +++ b/textproc/p5-JavaScript-Minifier/distinfo @@ -0,0 +1,2 @@ +SHA256 (JavaScript-Minifier-1.05.tar.gz) = 83b0ce3d9aa21b9e9328ab4ffcf6ba57d0a13b2ef80d4bdb7888a804dfc236ae +SIZE (JavaScript-Minifier-1.05.tar.gz) = 7314 diff --git a/textproc/p5-JavaScript-Minifier/pkg-descr b/textproc/p5-JavaScript-Minifier/pkg-descr new file mode 100644 index 000000000000..517c81b0a304 --- /dev/null +++ b/textproc/p5-JavaScript-Minifier/pkg-descr @@ -0,0 +1,3 @@ +Strip whitespace and comments from JavaScript code + +WWW: http://search.cpan.org/dist/JavaScript-Minifier diff --git a/textproc/p5-JavaScript-Minifier/pkg-plist b/textproc/p5-JavaScript-Minifier/pkg-plist new file mode 100644 index 000000000000..9931e117e5f6 --- /dev/null +++ b/textproc/p5-JavaScript-Minifier/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/JavaScript/Minifier.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/Minifier/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/Minifier +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript +@dirrmtry %%SITE_PERL%%/JavaScript |