mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
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>
This commit is contained in:
parent
4ca5311c86
commit
83ab2ea2b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110061
@ -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
|
||||
|
22
www/p5-Compress-LeadingBlankSpaces/Makefile
Normal file
22
www/p5-Compress-LeadingBlankSpaces/Makefile
Normal file
@ -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>
|
2
www/p5-Compress-LeadingBlankSpaces/distinfo
Normal file
2
www/p5-Compress-LeadingBlankSpaces/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (Compress-LeadingBlankSpaces-0.04.tar.gz) = ecb282cbd223510bc990fff02b2ff079
|
||||
SIZE (Compress-LeadingBlankSpaces-0.04.tar.gz) = 3720
|
20
www/p5-Compress-LeadingBlankSpaces/pkg-descr
Normal file
20
www/p5-Compress-LeadingBlankSpaces/pkg-descr
Normal file
@ -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.
|
5
www/p5-Compress-LeadingBlankSpaces/pkg-plist
Normal file
5
www/p5-Compress-LeadingBlankSpaces/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user