diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-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 |
5 files changed, 50 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index dcb66419cc68..e0f6eeb141e2 100644 --- a/www/Makefile +++ b/www/Makefile @@ -400,6 +400,7 @@ SUBDIR += p5-CGI-modules SUBDIR += p5-CGI.pm SUBDIR += p5-CGI_Lite + SUBDIR += p5-Compress-LeadingBlankSpaces SUBDIR += p5-FAQ-OMatic SUBDIR += p5-FastCGI SUBDIR += p5-FastCGI-ProcManager 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 |