diff options
author | mat <mat@FreeBSD.org> | 2004-05-26 22:25:21 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-05-26 22:25:21 +0800 |
commit | d25bd3001cdf3dc6d255a3e14d6d288d223e32c3 (patch) | |
tree | 3279e1f3f779c1daf6c4652a4628bc03c8bd931b /www/p5-Compress-LeadingBlankSpaces | |
parent | 2e242bb20310365fea720daab82a2f8eada64195 (diff) | |
download | freebsd-ports-gnome-d25bd3001cdf3dc6d255a3e14d6d288d223e32c3.tar.gz freebsd-ports-gnome-d25bd3001cdf3dc6d255a3e14d6d288d223e32c3.tar.zst freebsd-ports-gnome-d25bd3001cdf3dc6d255a3e14d6d288d223e32c3.zip |
Add p5-Compress-LeadingBlankSpaces 0.04, perl class to compress leading
blank spaces in web content.
PR: ports/67196
Submitted by: Bill Swingle <unfurl@freebsd.org>
Diffstat (limited to 'www/p5-Compress-LeadingBlankSpaces')
-rw-r--r-- | www/p5-Compress-LeadingBlankSpaces/Makefile | 22 | ||||
-rw-r--r-- | www/p5-Compress-LeadingBlankSpaces/distinfo | 2 | ||||
-rw-r--r-- | www/p5-Compress-LeadingBlankSpaces/pkg-descr | 20 | ||||
-rw-r--r-- | www/p5-Compress-LeadingBlankSpaces/pkg-plist | 5 |
4 files changed, 49 insertions, 0 deletions
diff --git a/www/p5-Compress-LeadingBlankSpaces/Makefile b/www/p5-Compress-LeadingBlankSpaces/Makefile new file mode 100644 index 000000000000..6f990df4ef07 --- /dev/null +++ b/www/p5-Compress-LeadingBlankSpaces/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: Compress::LeadingBlankSpaces +# Date created: 25 May 2004 +# Whom: Bill Swingle <unfurl@freebsd.org> +# +# $FreeBSD$ +# + +PORTNAME= Compress-LeadingBlankSpaces +PORTVERSION= 0.04 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Compress +PKGNAMEPREFIX= p5- + +MAINTAINER= unfurl@FreeBSD.org +COMMENT= Perl class to compress leading blank spaces in web content + +PERL_CONFIGURE= yes + +MAN3= Compress::LeadingBlankSpaces.3 + +.include <bsd.port.mk> diff --git a/www/p5-Compress-LeadingBlankSpaces/distinfo b/www/p5-Compress-LeadingBlankSpaces/distinfo new file mode 100644 index 000000000000..04fcd76f6519 --- /dev/null +++ b/www/p5-Compress-LeadingBlankSpaces/distinfo @@ -0,0 +1,2 @@ +MD5 (Compress-LeadingBlankSpaces-0.04.tar.gz) = ecb282cbd223510bc990fff02b2ff079 +SIZE (Compress-LeadingBlankSpaces-0.04.tar.gz) = 3720 diff --git a/www/p5-Compress-LeadingBlankSpaces/pkg-descr b/www/p5-Compress-LeadingBlankSpaces/pkg-descr new file mode 100644 index 000000000000..f0d3f8816788 --- /dev/null +++ b/www/p5-Compress-LeadingBlankSpaces/pkg-descr @@ -0,0 +1,20 @@ +Compress::LeadingBlankSpaces - Perl class to compress leading blank +spaces in (HTML, JavaScript, etc.) web content. + +This class provides the functionality for the most simple web content +compression. + +Basically, the outgoing web content (HTML, JavaScript, etc.) contains +a lot of leading blank spaces, because of being structured on +development stage. Usually, the client browser ignores leading +blank spaces. Indeed, the amount of those blank spaces is as +significant as 10 to 20 percent of the length of regular web page. +We can reduce this part of web traffic on busy servers with no +visible impact on transferred web content, especially for old +browsers incapable to understand modern content compression. + +The main functionality of this class is concentrated within the +"squeeze_string" member function that is supposed to be used inside +the data transfer loop on server side. The rest of the class is +developed in order to serve possible exceptions, like pre-formatted +data within HTML. diff --git a/www/p5-Compress-LeadingBlankSpaces/pkg-plist b/www/p5-Compress-LeadingBlankSpaces/pkg-plist new file mode 100644 index 000000000000..3538799b6553 --- /dev/null +++ b/www/p5-Compress-LeadingBlankSpaces/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Compress/LeadingBlankSpaces.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress/LeadingBlankSpaces/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress/LeadingBlankSpaces +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Compress 2>/dev/null || true |